=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for libime-1.0.4nb8 [ 0%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/bhiksha.cc.o [ 1%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/lm_exception.cc.o [ 1%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/config.cc.o [ 3%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/binary_format.cc.o [ 3%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/model.cc.o [ 3%] Built target opengram-dict-download [ 3%] Built target table-dict-download [ 4%] Generating .opengram-dict-extract.stamp [ 5%] Generating .table-dict-extract.stamp [ 6%] Built target opengram-dict-extract [ 7%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/quantize.cc.o [ 7%] Built target table-dict-extract [ 7%] Built target opengram-lm-download [ 7%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/search_hashed.cc.o [ 8%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/read_arpa.cc.o [ 9%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/search_trie.cc.o /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/binary_format.cc: In member function 'void lm::ngram::BinaryFormat::FinishFile(const lm::ngram::Config&, lm::ngram::ModelType, unsigned int, const std::vector&)': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/binary_format.cc:261:40: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct lm::ngram::Parameters' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 261 | memset(¶ms, 0, sizeof(Parameters)); | ^ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/binary_format.cc:1: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/binary_format.hh:42:8: note: 'struct lm::ngram::Parameters' declared here 42 | struct Parameters { | ^~~~~~~~~~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/model.hh:13, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/model.cc:1: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.hh: In member function 'void lm::ngram::NoOpUniqueWords::operator()(const StringPiece&)': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.hh:234:40: warning: unused parameter 'word' [-Wunused-parameter] 234 | void operator()(const StringPiece &word) {} | ~~~~~~~~~~~~~~~~~~~^~~~ [ 10%] Generating .opengram-lm-extract.stamp [ 11%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/sizes.cc.o In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/model.hh:13, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_hashed.cc:6: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.hh: In member function 'void lm::ngram::NoOpUniqueWords::operator()(const StringPiece&)': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.hh:234:40: warning: unused parameter 'word' [-Wunused-parameter] 234 | void operator()(const StringPiece &word) {} | ~~~~~~~~~~~~~~~~~~~^~~~ [ 11%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/trie.cc.o /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_hashed.cc: In member function 'void lm::ngram::detail::HashedSearch::DispatchBuild(util::FilePiece&, const std::vector&, const lm::ngram::Config&, const lm::ngram::ProbingVocabulary&, lm::PositiveProbWarn&) [with Value = lm::ngram::BackoffValue]': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_hashed.cc:244:131: warning: unused parameter 'config' [-Wunused-parameter] 244 | template <> void HashedSearch::DispatchBuild(util::FilePiece &f, const std::vector &counts, const Config &config, const ProbingVocabulary &vocab, PositiveProbWarn &warn) { | ~~~~~~~~~~~~~~^~~~~~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_hashed.cc:1: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_hashed.hh: In instantiation of 'lm::ngram::detail::HashedSearch::Unigram::Unigram(void*, uint64_t) [with Value = lm::ngram::BackoffValue; uint64_t = long long unsigned int]': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_hashed.cc:293:16: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_hashed.hh:149:39: warning: unused parameter 'count' [-Wunused-parameter] 149 | Unigram(void *start, uint64_t count) : | ~~~~~~~~~^~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_hashed.hh: In instantiation of 'lm::ngram::detail::HashedSearch::Unigram::Unigram(void*, uint64_t) [with Value = lm::ngram::RestValue; uint64_t = long long unsigned int]': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_hashed.cc:294:16: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_hashed.hh:149:39: warning: unused parameter 'count' [-Wunused-parameter] /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/read_arpa.cc: In function 'void lm::ReadBackoff(util::FilePiece&, float&)': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/read_arpa.cc:141:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 141 | ConsumeNewline(in); | ~~~~~~~~~~~~~~^~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/read_arpa.cc:143:5: note: here 143 | case '\n': | ^~~~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_trie.cc:12: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.hh: In member function 'void lm::ngram::NoOpUniqueWords::operator()(const StringPiece&)': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.hh:234:40: warning: unused parameter 'word' [-Wunused-parameter] 234 | void operator()(const StringPiece &word) {} | ~~~~~~~~~~~~~~~~~~~^~~~ [ 12%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/trie_sort.cc.o In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_trie.cc:17: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of 'Proxy util::ProxyIterator::operator*() [with Proxy = util::SizedProxy]': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/sized_iterator.hh:212:15: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:80:32: warning: implicitly-declared 'constexpr util::SizedProxy::SizedProxy(const util::SizedProxy&)' is deprecated [-Wdeprecated-copy] 80 | Proxy operator*() { return p_; } | ^~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_trie.cc:19: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/sized_iterator.hh:90:17: note: because 'util::SizedProxy' has user-provided 'util::SizedProxy& util::SizedProxy::operator=(const util::SizedProxy&)' 90 | SizedProxy &operator=(const SizedProxy &from) { | ^~~~~~~~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_trie.cc:17: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of 'util::ProxyIterator::ProxyIterator(const Proxy&) [with Proxy = util::SizedProxy]': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/sized_iterator.hh:202:12: required from 'void util::SizedSort(void*, void*, std::size_t, const Compare&) [with Compare = lm::ngram::trie::EntryCompare; std::size_t = unsigned int]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_trie.cc:157:131: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:48:50: warning: implicitly-declared 'constexpr util::SizedProxy::SizedProxy(const util::SizedProxy&)' is deprecated [-Wdeprecated-copy] 48 | explicit ProxyIterator(const Proxy &p) : p_(p) {} | ^ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_trie.cc:19: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/sized_iterator.hh:90:17: note: because 'util::SizedProxy' has user-provided 'util::SizedProxy& util::SizedProxy::operator=(const util::SizedProxy&)' 90 | SizedProxy &operator=(const SizedProxy &from) { | ^~~~~~~~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_trie.cc:17: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of 'util::ProxyIterator::S util::ProxyIterator::operator+(std::ptrdiff_t) const [with Proxy = util::SizedProxy; util::ProxyIterator::S = util::ProxyIterator; std::ptrdiff_t = int]': /usr/include/g++/bits/stl_algo.h:1891:43: required from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >]' /usr/include/g++/bits/stl_algo.h:1982:31: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >]' /usr/include/g++/bits/stl_algo.h:4899:18: required from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator; _Compare = util::SizedCompare]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/sized_iterator.hh:202:11: required from 'void util::SizedSort(void*, void*, std::size_t, const Compare&) [with Compare = lm::ngram::trie::EntryCompare; std::size_t = unsigned int]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_trie.cc:157:131: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:71:50: warning: implicitly-declared 'constexpr util::ProxyIterator::ProxyIterator(const util::ProxyIterator&)' is deprecated [-Wdeprecated-copy] 71 | S operator+(std::ptrdiff_t amount) const { S ret(*this); ret += amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::SizedProxy; util::ProxyIterator::S = util::ProxyIterator]' 56 | S &operator=(const S &other) { | ^~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:71:84: warning: implicitly-declared 'constexpr util::ProxyIterator::ProxyIterator(const util::ProxyIterator&)' is deprecated [-Wdeprecated-copy] 71 | S operator+(std::ptrdiff_t amount) const { S ret(*this); ret += amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::SizedProxy; util::ProxyIterator::S = util::ProxyIterator]' 56 | S &operator=(const S &other) { | ^~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of 'util::ProxyIterator::S util::ProxyIterator::operator-(std::ptrdiff_t) const [with Proxy = util::SizedProxy; util::ProxyIterator::S = util::ProxyIterator; std::ptrdiff_t = int]': /usr/include/g++/bits/stl_algo.h:1929:71: required from '_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >]' /usr/include/g++/bits/stl_algo.h:1963:38: required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = util::ProxyIterator; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >]' /usr/include/g++/bits/stl_algo.h:1979:25: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >]' /usr/include/g++/bits/stl_algo.h:4899:18: required from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator; _Compare = util::SizedCompare]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/sized_iterator.hh:202:11: required from 'void util::SizedSort(void*, void*, std::size_t, const Compare&) [with Compare = lm::ngram::trie::EntryCompare; std::size_t = unsigned int]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/search_trie.cc:157:131: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:76:50: warning: implicitly-declared 'constexpr util::ProxyIterator::ProxyIterator(const util::ProxyIterator&)' is deprecated [-Wdeprecated-copy] 76 | S operator-(std::ptrdiff_t amount) const { S ret(*this); ret -= amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::SizedProxy; util::ProxyIterator::S = util::ProxyIterator]' 56 | S &operator=(const S &other) { | ^~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:76:84: warning: implicitly-declared 'constexpr util::ProxyIterator::ProxyIterator(const util::ProxyIterator&)' is deprecated [-Wdeprecated-copy] 76 | S operator-(std::ptrdiff_t amount) const { S ret(*this); ret -= amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::SizedProxy; util::ProxyIterator::S = util::ProxyIterator]' 56 | S &operator=(const S &other) { | ^~~~~~~~ [ 13%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/value_build.cc.o In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/model.hh:13, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/sizes.cc:2: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.hh: In member function 'void lm::ngram::NoOpUniqueWords::operator()(const StringPiece&)': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.hh:234:40: warning: unused parameter 'word' [-Wunused-parameter] 234 | void operator()(const StringPiece &word) {} | ~~~~~~~~~~~~~~~~~~~^~~~ [ 13%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/vocab.cc.o [ 14%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/virtual_interface.cc.o In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:6: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.hh: In member function 'void lm::ngram::NoOpUniqueWords::operator()(const StringPiece&)': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.hh:234:40: warning: unused parameter 'word' [-Wunused-parameter] 234 | void operator()(const StringPiece &word) {} | ~~~~~~~~~~~~~~~~~~~^~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc: In function 'FILE* lm::ngram::trie::{anonymous}::WriteContextFile(uint8_t*, uint8_t*, const string&, std::size_t, unsigned char)': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:104:109: warning: implicitly-declared 'constexpr util::ProxyIterator::ProxyIterator(const util::ProxyIterator&)' is deprecated [-Wdeprecated-copy] 104 | (context_begin, context_end, util::SizedCompare(EntryCompare(order - 1))); | ^ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:12: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy; util::ProxyIterator::S = util::ProxyIterator]' 56 | S &operator=(const S &other) { | ^~~~~~~~ In file included from /usr/include/g++/algorithm:62, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/string_piece.hh:85, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/fake_ostream.hh:6, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/string_stream.hh:4, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/exception.hh:4, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/file.hh:4, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.hh:9, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:1: /usr/include/g++/bits/stl_algo.h:4887:32: note: initializing argument 1 of 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator; _Compare = util::SizedCompare]' 4887 | sort(_RandomAccessIterator __first, _RandomAccessIterator __last, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:104:109: warning: implicitly-declared 'constexpr util::ProxyIterator::ProxyIterator(const util::ProxyIterator&)' is deprecated [-Wdeprecated-copy] 104 | (context_begin, context_end, util::SizedCompare(EntryCompare(order - 1))); | ^ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:12: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy; util::ProxyIterator::S = util::ProxyIterator]' 56 | S &operator=(const S &other) { | ^~~~~~~~ In file included from /usr/include/g++/algorithm:62, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/string_piece.hh:85, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/fake_ostream.hh:6, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/string_stream.hh:4, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/exception.hh:4, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/file.hh:4, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.hh:9, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:1: /usr/include/g++/bits/stl_algo.h:4887:63: note: initializing argument 2 of 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator; _Compare = util::SizedCompare]' 4887 | sort(_RandomAccessIterator __first, _RandomAccessIterator __last, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:110:30: warning: implicitly-declared 'constexpr util::ProxyIterator::ProxyIterator(const util::ProxyIterator&)' is deprecated [-Wdeprecated-copy] 110 | PartialIter i(context_begin); | ^ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:12: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy; util::ProxyIterator::S = util::ProxyIterator]' 56 | S &operator=(const S &other) { | ^~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc: In member function 'void lm::ngram::trie::{anonymous}::ThrowCombine::operator()(std::size_t, unsigned char, const void*, const void*, FILE*) const': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:124:31: warning: unused parameter 'entry_size' [-Wunused-parameter] 124 | void operator()(std::size_t entry_size, unsigned char order, const void *first, const void *second, FILE * /*out*/) const { | ~~~~~~~~~~~~^~~~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:124:95: warning: unused parameter 'second' [-Wunused-parameter] 124 | void operator()(std::size_t entry_size, unsigned char order, const void *first, const void *second, FILE * /*out*/) const { | ~~~~~~~~~~~~^~~~~~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:12: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of 'Proxy util::ProxyIterator::operator*() [with Proxy = util::SizedProxy]': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/sized_iterator.hh:212:15: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:80:32: warning: implicitly-declared 'constexpr util::SizedProxy::SizedProxy(const util::SizedProxy&)' is deprecated [-Wdeprecated-copy] 80 | Proxy operator*() { return p_; } | ^~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:13: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/sized_iterator.hh:90:17: note: because 'util::SizedProxy' has user-provided 'util::SizedProxy& util::SizedProxy::operator=(const util::SizedProxy&)' 90 | SizedProxy &operator=(const SizedProxy &from) { | ^~~~~~~~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:12: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of 'util::ProxyIterator::ProxyIterator(const Proxy&) [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy]': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:96:90: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:48:50: warning: implicitly-declared 'constexpr lm::ngram::trie::{anonymous}::PartialViewProxy::PartialViewProxy(const lm::ngram::trie::{anonymous}::PartialViewProxy&)' is deprecated [-Wdeprecated-copy] 48 | explicit ProxyIterator(const Proxy &p) : p_(p) {} | ^ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:42:23: note: because 'lm::ngram::trie::{anonymous}::PartialViewProxy' has user-provided 'lm::ngram::trie::{anonymous}::PartialViewProxy& lm::ngram::trie::{anonymous}::PartialViewProxy::operator=(const lm::ngram::trie::{anonymous}::PartialViewProxy&)' 42 | PartialViewProxy &operator=(const PartialViewProxy &from) { | ^~~~~~~~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:12: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of 'util::ProxyIterator::ProxyIterator(const Proxy&) [with Proxy = util::SizedProxy]': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/sized_iterator.hh:202:12: required from 'void util::SizedSort(void*, void*, std::size_t, const Compare&) [with Compare = lm::ngram::trie::EntryCompare; std::size_t = unsigned int]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:282:68: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:48:50: warning: implicitly-declared 'constexpr util::SizedProxy::SizedProxy(const util::SizedProxy&)' is deprecated [-Wdeprecated-copy] 48 | explicit ProxyIterator(const Proxy &p) : p_(p) {} | ^ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:13: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/sized_iterator.hh:90:17: note: because 'util::SizedProxy' has user-provided 'util::SizedProxy& util::SizedProxy::operator=(const util::SizedProxy&)' 90 | SizedProxy &operator=(const SizedProxy &from) { | ^~~~~~~~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:12: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of 'util::ProxyIterator::S util::ProxyIterator::operator+(std::ptrdiff_t) const [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy; util::ProxyIterator::S = util::ProxyIterator; std::ptrdiff_t = int]': /usr/include/g++/bits/stl_algo.h:1891:43: required from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >]' /usr/include/g++/bits/stl_algo.h:1982:31: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >]' /usr/include/g++/bits/stl_algo.h:4899:18: required from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator; _Compare = util::SizedCompare]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:104:109: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:71:50: warning: implicitly-declared 'constexpr util::ProxyIterator::ProxyIterator(const util::ProxyIterator&)' is deprecated [-Wdeprecated-copy] 71 | S operator+(std::ptrdiff_t amount) const { S ret(*this); ret += amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy; util::ProxyIterator::S = util::ProxyIterator]' 56 | S &operator=(const S &other) { | ^~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:71:84: warning: implicitly-declared 'constexpr util::ProxyIterator::ProxyIterator(const util::ProxyIterator&)' is deprecated [-Wdeprecated-copy] 71 | S operator+(std::ptrdiff_t amount) const { S ret(*this); ret += amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy; util::ProxyIterator::S = util::ProxyIterator]' 56 | S &operator=(const S &other) { | ^~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of 'util::ProxyIterator::S util::ProxyIterator::operator-(std::ptrdiff_t) const [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy; util::ProxyIterator::S = util::ProxyIterator; std::ptrdiff_t = int]': /usr/include/g++/bits/stl_algo.h:1929:71: required from '_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >]' /usr/include/g++/bits/stl_algo.h:1963:38: required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = util::ProxyIterator; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >]' /usr/include/g++/bits/stl_algo.h:1979:25: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >]' /usr/include/g++/bits/stl_algo.h:4899:18: required from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator; _Compare = util::SizedCompare]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:104:109: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:76:50: warning: implicitly-declared 'constexpr util::ProxyIterator::ProxyIterator(const util::ProxyIterator&)' is deprecated [-Wdeprecated-copy] 76 | S operator-(std::ptrdiff_t amount) const { S ret(*this); ret -= amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy; util::ProxyIterator::S = util::ProxyIterator]' 56 | S &operator=(const S &other) { | ^~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:76:84: warning: implicitly-declared 'constexpr util::ProxyIterator::ProxyIterator(const util::ProxyIterator&)' is deprecated [-Wdeprecated-copy] 76 | S operator-(std::ptrdiff_t amount) const { S ret(*this); ret -= amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy; util::ProxyIterator::S = util::ProxyIterator]' 56 | S &operator=(const S &other) { | ^~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of 'Proxy util::ProxyIterator::operator*() [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy]': /usr/include/g++/bits/stl_algo.h:1854:11: required from 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >]' /usr/include/g++/bits/stl_algo.h:1891:25: required from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >]' /usr/include/g++/bits/stl_algo.h:1982:31: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >]' /usr/include/g++/bits/stl_algo.h:4899:18: required from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator; _Compare = util::SizedCompare]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:104:109: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:80:32: warning: implicitly-declared 'constexpr lm::ngram::trie::{anonymous}::PartialViewProxy::PartialViewProxy(const lm::ngram::trie::{anonymous}::PartialViewProxy&)' is deprecated [-Wdeprecated-copy] 80 | Proxy operator*() { return p_; } | ^~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:42:23: note: because 'lm::ngram::trie::{anonymous}::PartialViewProxy' has user-provided 'lm::ngram::trie::{anonymous}::PartialViewProxy& lm::ngram::trie::{anonymous}::PartialViewProxy::operator=(const lm::ngram::trie::{anonymous}::PartialViewProxy&)' 42 | PartialViewProxy &operator=(const PartialViewProxy &from) { | ^~~~~~~~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:12: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of 'util::ProxyIterator::S util::ProxyIterator::operator+(std::ptrdiff_t) const [with Proxy = util::SizedProxy; util::ProxyIterator::S = util::ProxyIterator; std::ptrdiff_t = int]': /usr/include/g++/bits/stl_algo.h:1891:43: required from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >]' /usr/include/g++/bits/stl_algo.h:1982:31: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >]' /usr/include/g++/bits/stl_algo.h:4899:18: required from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator; _Compare = util::SizedCompare]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/sized_iterator.hh:202:11: required from 'void util::SizedSort(void*, void*, std::size_t, const Compare&) [with Compare = lm::ngram::trie::EntryCompare; std::size_t = unsigned int]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:282:68: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:71:50: warning: implicitly-declared 'constexpr util::ProxyIterator::ProxyIterator(const util::ProxyIterator&)' is deprecated [-Wdeprecated-copy] 71 | S operator+(std::ptrdiff_t amount) const { S ret(*this); ret += amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::SizedProxy; util::ProxyIterator::S = util::ProxyIterator]' 56 | S &operator=(const S &other) { | ^~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:71:84: warning: implicitly-declared 'constexpr util::ProxyIterator::ProxyIterator(const util::ProxyIterator&)' is deprecated [-Wdeprecated-copy] 71 | S operator+(std::ptrdiff_t amount) const { S ret(*this); ret += amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::SizedProxy; util::ProxyIterator::S = util::ProxyIterator]' 56 | S &operator=(const S &other) { | ^~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of 'util::ProxyIterator::S util::ProxyIterator::operator-(std::ptrdiff_t) const [with Proxy = util::SizedProxy; util::ProxyIterator::S = util::ProxyIterator; std::ptrdiff_t = int]': /usr/include/g++/bits/stl_algo.h:1929:71: required from '_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >]' /usr/include/g++/bits/stl_algo.h:1963:38: required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = util::ProxyIterator; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >]' /usr/include/g++/bits/stl_algo.h:1979:25: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >]' /usr/include/g++/bits/stl_algo.h:4899:18: required from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator; _Compare = util::SizedCompare]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/sized_iterator.hh:202:11: required from 'void util::SizedSort(void*, void*, std::size_t, const Compare&) [with Compare = lm::ngram::trie::EntryCompare; std::size_t = unsigned int]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/trie_sort.cc:282:68: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:76:50: warning: implicitly-declared 'constexpr util::ProxyIterator::ProxyIterator(const util::ProxyIterator&)' is deprecated [-Wdeprecated-copy] 76 | S operator-(std::ptrdiff_t amount) const { S ret(*this); ret -= amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::SizedProxy; util::ProxyIterator::S = util::ProxyIterator]' 56 | S &operator=(const S &other) { | ^~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:76:84: warning: implicitly-declared 'constexpr util::ProxyIterator::ProxyIterator(const util::ProxyIterator&)' is deprecated [-Wdeprecated-copy] 76 | S operator-(std::ptrdiff_t amount) const { S ret(*this); ret -= amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::SizedProxy; util::ProxyIterator::S = util::ProxyIterator]' 56 | S &operator=(const S &other) { | ^~~~~~~~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/model.hh:13, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/value_build.cc:3: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.hh: In member function 'void lm::ngram::NoOpUniqueWords::operator()(const StringPiece&)': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.hh:234:40: warning: unused parameter 'word' [-Wunused-parameter] 234 | void operator()(const StringPiece &word) {} | ~~~~~~~~~~~~~~~~~~~^~~~ [ 15%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/bit_packing.cc.o [ 16%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/double-conversion/bignum-dtoa.cc.o In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:1: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.hh: In member function 'void lm::ngram::NoOpUniqueWords::operator()(const StringPiece&)': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.hh:234:40: warning: unused parameter 'word' [-Wunused-parameter] 234 | void operator()(const StringPiece &word) {} | ~~~~~~~~~~~~~~~~~~~^~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc: In member function 'void lm::ngram::SortedVocabulary::SetupMemory(void*, std::size_t, std::size_t, const lm::ngram::Config&)': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:88:61: warning: unused parameter 'allocated' [-Wunused-parameter] 88 | void SortedVocabulary::SetupMemory(void *start, std::size_t allocated, std::size_t entries, const Config &config) { | ~~~~~~~~~~~~^~~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:88:84: warning: unused parameter 'entries' [-Wunused-parameter] 88 | void SortedVocabulary::SetupMemory(void *start, std::size_t allocated, std::size_t entries, const Config &config) { | ~~~~~~~~~~~~^~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:88:107: warning: unused parameter 'config' [-Wunused-parameter] 88 | void SortedVocabulary::SetupMemory(void *start, std::size_t allocated, std::size_t entries, const Config &config) { | ~~~~~~~~~~~~~~^~~~~~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:11: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh: In instantiation of 'void util::JointSort(const KeyIter&, const KeyIter&, const ValueIter&, const Less&) [with KeyIter = long long unsigned int*; ValueIter = util::PairedIterator; Less = std::less]': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:141:12: required from 'void util::JointSort(const KeyIter&, const KeyIter&, const ValueIter&) [with KeyIter = long long unsigned int*; ValueIter = util::PairedIterator]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:199:22: required from 'void lm::ngram::SortedVocabulary::GenericFinished(T*) [with T = lm::ProbBackoff]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:128:26: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:136:12: warning: implicitly-declared 'util::ProxyIterator > >::ProxyIterator(const util::ProxyIterator > >&)' is deprecated [-Wdeprecated-copy] 136 | std::sort(full_begin, full_begin + (key_end - key_begin), less_wrap); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:8, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:11: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator > >' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::detail::JointProxy >; util::ProxyIterator::S = util::ProxyIterator > >]' 56 | S &operator=(const S &other) { | ^~~~~~~~ In file included from /usr/include/g++/algorithm:62, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/string_piece.hh:85, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/enumerate_vocab.hh:5, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.hh:4, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:1: /usr/include/g++/bits/stl_algo.h:4887:32: note: initializing argument 1 of 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator > >; _Compare = util::detail::LessWrapper >, std::less >]' 4887 | sort(_RandomAccessIterator __first, _RandomAccessIterator __last, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:11: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh: In instantiation of 'void util::JointSort(const KeyIter&, const KeyIter&, const ValueIter&, const Less&) [with KeyIter = long long unsigned int*; ValueIter = lm::ProbBackoff*; Less = std::less]': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:141:12: required from 'void util::JointSort(const KeyIter&, const KeyIter&, const ValueIter&) [with KeyIter = long long unsigned int*; ValueIter = lm::ProbBackoff*]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:208:20: required from 'void lm::ngram::SortedVocabulary::GenericFinished(T*) [with T = lm::ProbBackoff]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:128:26: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:136:12: warning: implicitly-declared 'util::ProxyIterator >::ProxyIterator(const util::ProxyIterator >&)' is deprecated [-Wdeprecated-copy] 136 | std::sort(full_begin, full_begin + (key_end - key_begin), less_wrap); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:8, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:11: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator >' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::detail::JointProxy; util::ProxyIterator::S = util::ProxyIterator >]' 56 | S &operator=(const S &other) { | ^~~~~~~~ In file included from /usr/include/g++/algorithm:62, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/string_piece.hh:85, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/enumerate_vocab.hh:5, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.hh:4, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:1: /usr/include/g++/bits/stl_algo.h:4887:32: note: initializing argument 1 of 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator >; _Compare = util::detail::LessWrapper, std::less >]' 4887 | sort(_RandomAccessIterator __first, _RandomAccessIterator __last, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ [ 16%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/double-conversion/bignum.cc.o In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:8, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:11: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of 'util::ProxyIterator::S util::ProxyIterator::operator+(std::ptrdiff_t) const [with Proxy = util::detail::JointProxy >; util::ProxyIterator::S = util::ProxyIterator > >; std::ptrdiff_t = int]': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:136:36: required from 'void util::JointSort(const KeyIter&, const KeyIter&, const ValueIter&, const Less&) [with KeyIter = long long unsigned int*; ValueIter = util::PairedIterator; Less = std::less]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:141:12: required from 'void util::JointSort(const KeyIter&, const KeyIter&, const ValueIter&) [with KeyIter = long long unsigned int*; ValueIter = util::PairedIterator]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:199:22: required from 'void lm::ngram::SortedVocabulary::GenericFinished(T*) [with T = lm::ProbBackoff]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:128:26: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:71:50: warning: implicitly-declared 'util::ProxyIterator > >::ProxyIterator(const util::ProxyIterator > >&)' is deprecated [-Wdeprecated-copy] 71 | S operator+(std::ptrdiff_t amount) const { S ret(*this); ret += amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator > >' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::detail::JointProxy >; util::ProxyIterator::S = util::ProxyIterator > >]' 56 | S &operator=(const S &other) { | ^~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:71:84: warning: implicitly-declared 'util::ProxyIterator > >::ProxyIterator(const util::ProxyIterator > >&)' is deprecated [-Wdeprecated-copy] 71 | S operator+(std::ptrdiff_t amount) const { S ret(*this); ret += amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator > >' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::detail::JointProxy >; util::ProxyIterator::S = util::ProxyIterator > >]' 56 | S &operator=(const S &other) { | ^~~~~~~~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:11: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh: In instantiation of 'util::detail::JointProxy::JointProxy(const util::detail::JointProxy&) [with KeyIter = long long unsigned int*; ValueIter = util::PairedIterator]': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:31:30: required from 'void util::JointSort(const KeyIter&, const KeyIter&, const ValueIter&, const Less&) [with KeyIter = long long unsigned int*; ValueIter = util::PairedIterator; Less = std::less]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:141:12: required from 'void util::JointSort(const KeyIter&, const KeyIter&, const ValueIter&) [with KeyIter = long long unsigned int*; ValueIter = util::PairedIterator]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:199:22: required from 'void lm::ngram::SortedVocabulary::GenericFinished(T*) [with T = lm::ProbBackoff]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:128:26: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:127:49: warning: implicitly-declared 'util::ProxyIterator >::ProxyIterator(const util::ProxyIterator >&)' is deprecated [-Wdeprecated-copy] 127 | template class PairedIterator : public ProxyIterator > { | ^~~~~~~~~~~~~~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:8, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:11: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator >' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::detail::JointProxy; util::ProxyIterator::S = util::ProxyIterator >]' 56 | S &operator=(const S &other) { | ^~~~~~~~ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:11: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:19:49: note: synthesized method 'util::PairedIterator::PairedIterator(const util::PairedIterator&)' first required here 19 | template class JointIter { | ^~~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:67:82: note: synthesized method 'util::detail::JointIter >::JointIter(const util::detail::JointIter >&)' first required here 67 | JointProxy(const JointProxy &other) : inner_(other.inner_) {} | ^ In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:8, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:11: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of 'util::ProxyIterator::S util::ProxyIterator::operator+(std::ptrdiff_t) const [with Proxy = util::detail::JointProxy; util::ProxyIterator::S = util::ProxyIterator >; std::ptrdiff_t = int]': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:136:36: required from 'void util::JointSort(const KeyIter&, const KeyIter&, const ValueIter&, const Less&) [with KeyIter = long long unsigned int*; ValueIter = lm::ProbBackoff*; Less = std::less]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:141:12: required from 'void util::JointSort(const KeyIter&, const KeyIter&, const ValueIter&) [with KeyIter = long long unsigned int*; ValueIter = lm::ProbBackoff*]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:208:20: required from 'void lm::ngram::SortedVocabulary::GenericFinished(T*) [with T = lm::ProbBackoff]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:128:26: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:71:50: warning: implicitly-declared 'util::ProxyIterator >::ProxyIterator(const util::ProxyIterator >&)' is deprecated [-Wdeprecated-copy] 71 | S operator+(std::ptrdiff_t amount) const { S ret(*this); ret += amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator >' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::detail::JointProxy; util::ProxyIterator::S = util::ProxyIterator >]' 56 | S &operator=(const S &other) { | ^~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:71:84: warning: implicitly-declared 'util::ProxyIterator >::ProxyIterator(const util::ProxyIterator >&)' is deprecated [-Wdeprecated-copy] 71 | S operator+(std::ptrdiff_t amount) const { S ret(*this); ret += amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator >' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::detail::JointProxy; util::ProxyIterator::S = util::ProxyIterator >]' 56 | S &operator=(const S &other) { | ^~~~~~~~ [ 17%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/double-conversion/cached-powers.cc.o /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of 'util::ProxyIterator::S util::ProxyIterator::operator-(std::ptrdiff_t) const [with Proxy = util::detail::JointProxy >; util::ProxyIterator::S = util::ProxyIterator > >; std::ptrdiff_t = int]': /usr/include/g++/bits/stl_algo.h:1929:71: required from '_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator > >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >, std::less > >]' /usr/include/g++/bits/stl_algo.h:1963:38: required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = util::ProxyIterator > >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >, std::less > >]' /usr/include/g++/bits/stl_algo.h:1979:25: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator > >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter >, std::less > >]' /usr/include/g++/bits/stl_algo.h:4899:18: required from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator > >; _Compare = util::detail::LessWrapper >, std::less >]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:136:12: required from 'void util::JointSort(const KeyIter&, const KeyIter&, const ValueIter&, const Less&) [with KeyIter = long long unsigned int*; ValueIter = util::PairedIterator; Less = std::less]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:141:12: required from 'void util::JointSort(const KeyIter&, const KeyIter&, const ValueIter&) [with KeyIter = long long unsigned int*; ValueIter = util::PairedIterator]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:199:22: required from 'void lm::ngram::SortedVocabulary::GenericFinished(T*) [with T = lm::ProbBackoff]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:128:26: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:76:50: warning: implicitly-declared 'util::ProxyIterator > >::ProxyIterator(const util::ProxyIterator > >&)' is deprecated [-Wdeprecated-copy] 76 | S operator-(std::ptrdiff_t amount) const { S ret(*this); ret -= amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator > >' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::detail::JointProxy >; util::ProxyIterator::S = util::ProxyIterator > >]' 56 | S &operator=(const S &other) { | ^~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:76:84: warning: implicitly-declared 'util::ProxyIterator > >::ProxyIterator(const util::ProxyIterator > >&)' is deprecated [-Wdeprecated-copy] 76 | S operator-(std::ptrdiff_t amount) const { S ret(*this); ret -= amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator > >' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::detail::JointProxy >; util::ProxyIterator::S = util::ProxyIterator > >]' 56 | S &operator=(const S &other) { | ^~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of 'util::ProxyIterator::S util::ProxyIterator::operator-(std::ptrdiff_t) const [with Proxy = util::detail::JointProxy; util::ProxyIterator::S = util::ProxyIterator >; std::ptrdiff_t = int]': /usr/include/g++/bits/stl_algo.h:1929:71: required from '_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter, std::less > >]' /usr/include/g++/bits/stl_algo.h:1963:38: required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = util::ProxyIterator >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter, std::less > >]' /usr/include/g++/bits/stl_algo.h:1979:25: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter, std::less > >]' /usr/include/g++/bits/stl_algo.h:4899:18: required from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator >; _Compare = util::detail::LessWrapper, std::less >]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:136:12: required from 'void util::JointSort(const KeyIter&, const KeyIter&, const ValueIter&, const Less&) [with KeyIter = long long unsigned int*; ValueIter = lm::ProbBackoff*; Less = std::less]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/joint_sort.hh:141:12: required from 'void util::JointSort(const KeyIter&, const KeyIter&, const ValueIter&) [with KeyIter = long long unsigned int*; ValueIter = lm::ProbBackoff*]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:208:20: required from 'void lm::ngram::SortedVocabulary::GenericFinished(T*) [with T = lm::ProbBackoff]' /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.cc:128:26: required from here /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:76:50: warning: implicitly-declared 'util::ProxyIterator >::ProxyIterator(const util::ProxyIterator >&)' is deprecated [-Wdeprecated-copy] 76 | S operator-(std::ptrdiff_t amount) const { S ret(*this); ret -= amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator >' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::detail::JointProxy; util::ProxyIterator::S = util::ProxyIterator >]' 56 | S &operator=(const S &other) { | ^~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:76:84: warning: implicitly-declared 'util::ProxyIterator >::ProxyIterator(const util::ProxyIterator >&)' is deprecated [-Wdeprecated-copy] 76 | S operator-(std::ptrdiff_t amount) const { S ret(*this); ret -= amount; return ret; } | ^~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/proxy_iterator.hh:56:8: note: because 'util::ProxyIterator >' has user-provided 'util::ProxyIterator::S& util::ProxyIterator::operator=(const S&) [with Proxy = util::detail::JointProxy; util::ProxyIterator::S = util::ProxyIterator >]' 56 | S &operator=(const S &other) { | ^~~~~~~~ [ 18%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/double-conversion/diy-fp.cc.o [ 19%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/double-conversion/double-conversion.cc.o [ 19%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/double-conversion/fast-dtoa.cc.o [ 20%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/double-conversion/fixed-dtoa.cc.o [ 20%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/ersatz_progress.cc.o [ 21%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/double-conversion/strtod.cc.o [ 22%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/exception.cc.o [ 23%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/file.cc.o [ 24%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/file_piece.cc.o [ 24%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/float_to_string.cc.o [ 25%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/integer_to_string.cc.o [ 26%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/mmap.cc.o [ 26%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/murmur_hash.cc.o /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/murmur_hash.cc: In function 'uint64_t util::MurmurHash64A(const void*, std::size_t, uint64_t)': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/murmur_hash.cc:64:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 64 | case 7: h ^= uint64_t(data2[6]) << 48; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/murmur_hash.cc:65:3: note: here 65 | case 6: h ^= uint64_t(data2[5]) << 40; | ^~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/murmur_hash.cc:65:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 65 | case 6: h ^= uint64_t(data2[5]) << 40; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/murmur_hash.cc:66:3: note: here 66 | case 5: h ^= uint64_t(data2[4]) << 32; | ^~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/murmur_hash.cc:66:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 66 | case 5: h ^= uint64_t(data2[4]) << 32; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/murmur_hash.cc:67:3: note: here 67 | case 4: h ^= uint64_t(data2[3]) << 24; | ^~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/murmur_hash.cc:67:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 67 | case 4: h ^= uint64_t(data2[3]) << 24; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/murmur_hash.cc:68:3: note: here 68 | case 3: h ^= uint64_t(data2[2]) << 16; | ^~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/murmur_hash.cc:68:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 68 | case 3: h ^= uint64_t(data2[2]) << 16; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/murmur_hash.cc:69:3: note: here 69 | case 2: h ^= uint64_t(data2[1]) << 8; | ^~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/murmur_hash.cc:69:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 69 | case 2: h ^= uint64_t(data2[1]) << 8; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/murmur_hash.cc:70:3: note: here 70 | case 1: h ^= uint64_t(data2[0]); | ^~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/murmur_hash.cc: In function 'uint64_t util::MurmurHash64B(const void*, std::size_t, uint64_t)': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/murmur_hash.cc:136:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 136 | case 3: h2 ^= ((unsigned char*)data)[2] << 16; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/murmur_hash.cc:137:3: note: here 137 | case 2: h2 ^= ((unsigned char*)data)[1] << 8; | ^~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/murmur_hash.cc:137:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 137 | case 2: h2 ^= ((unsigned char*)data)[1] << 8; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/murmur_hash.cc:138:3: note: here 138 | case 1: h2 ^= ((unsigned char*)data)[0]; | ^~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/file.cc: In function 'void util::HolePunch(int, uint64_t, uint64_t)': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/file.cc:136:20: warning: unused parameter 'fd' [-Wunused-parameter] 136 | void HolePunch(int fd, uint64_t offset, uint64_t size) { | ~~~~^~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/file.cc:136:33: warning: unused parameter 'offset' [-Wunused-parameter] 136 | void HolePunch(int fd, uint64_t offset, uint64_t size) { | ~~~~~~~~~^~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/file.cc:136:50: warning: unused parameter 'size' [-Wunused-parameter] 136 | void HolePunch(int fd, uint64_t offset, uint64_t size) { | ~~~~~~~~~^~~~ [ 27%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/parallel_read.cc.o [ 28%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/pool.cc.o [ 29%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/read_compressed.cc.o [ 29%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/scoped.cc.o /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/mmap.cc: In function 'void* util::MapOrThrow(std::size_t, bool, int, bool, int, uint64_t)': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/mmap.cc:105:68: warning: unused parameter 'prefault' [-Wunused-parameter] 105 | void *MapOrThrow(std::size_t size, bool for_write, int flags, bool prefault, int fd, uint64_t offset) { | ~~~~~^~~~~~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/mmap.cc: At global scope: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/mmap.cc:233:6: warning: 'void util::{anonymous}::ReplaceAndCopy(std::size_t, bool, util::scoped_memory&)' defined but not used [-Wunused-function] 233 | void ReplaceAndCopy(std::size_t to, bool zero_new, scoped_memory &mem) { | ^~~~~~~~~~~~~~ [ 30%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/spaces.cc.o [ 31%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/string_piece.cc.o [ 31%] Building CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/util/usage.cc.o /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/scoped.cc: In function 'void util::AdviseHugePages(const void*, std::size_t)': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/scoped.cc:37:34: warning: unused parameter 'addr' [-Wunused-parameter] 37 | void AdviseHugePages(const void *addr, std::size_t size) { | ~~~~~~~~~~~~^~~~ /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/util/scoped.cc:37:52: warning: unused parameter 'size' [-Wunused-parameter] 37 | void AdviseHugePages(const void *addr, std::size_t size) { | ~~~~~~~~~~~~^~~~ [ 32%] Linking CXX static library libkenlm.a [ 32%] Built target kenlm [ 33%] Building CXX object src/libime/core/CMakeFiles/IMECore.dir/decoder.cpp.o [ 33%] Building CXX object src/libime/core/CMakeFiles/IMECore.dir/datrie.cpp.o [ 33%] Building CXX object src/libime/core/CMakeFiles/IMECore.dir/inputbuffer.cpp.o [ 34%] Building CXX object tools/CMakeFiles/libime_slm_build_binary.dir/__/src/libime/core/kenlm/lm/build_binary_main.cc.o [ 35%] Building CXX object src/libime/core/CMakeFiles/IMECore.dir/languagemodel.cpp.o [ 36%] Building CXX object src/libime/core/CMakeFiles/IMECore.dir/lattice.cpp.o [ 37%] Building CXX object src/libime/core/CMakeFiles/IMECore.dir/userlanguagemodel.cpp.o [ 37%] Built target opengram-lm-extract [ 38%] Building CXX object src/libime/core/CMakeFiles/IMECore.dir/historybigram.cpp.o In file included from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/model.hh:13, from /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/build_binary_main.cc:1: /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.hh: In member function 'void lm::ngram::NoOpUniqueWords::operator()(const StringPiece&)': /pbulk/work/inputmethod/libime/work/libime-1.0.4/src/libime/core/kenlm/lm/vocab.hh:234:40: warning: unused parameter 'word' [-Wunused-parameter] 234 | void operator()(const StringPiece &word) {} | ~~~~~~~~~~~~~~~~~~~^~~~ [ 39%] Linking CXX executable libime_slm_build_binary [ 39%] Built target libime_slm_build_binary [ 40%] Generating kenlm_sc.arpa Traceback (most recent call last): File "/pbulk/work/inputmethod/libime/work/libime-1.0.4/data/convert_open_gram_arpa.py", line 15, in lines=list(fileinput.input()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/pkg/lib/python3.12/fileinput.py", line 251, in __next__ line = self._readline() ^^^^^^^^^^^^^^^^ File "/usr/pkg/lib/python3.12/fileinput.py", line 372, in _readline return self._readline() ^^^^^^^^^^^^^^^^ File "/usr/pkg/lib/python3.12/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 118: ordinal not in range(128) --- data/kenlm_sc.arpa --- *** [data/kenlm_sc.arpa] Error code 1 make[2]: *** data/kenlm_sc.arpa removed make[2]: stopped in /pbulk/work/inputmethod/libime/work/libime-1.0.4 1 error make[2]: stopped in /pbulk/work/inputmethod/libime/work/libime-1.0.4 --- src/libime/core/CMakeFiles/IMECore.dir/all --- *** [src/libime/core/CMakeFiles/IMECore.dir/all] Error code 6 make[1]: stopped in /pbulk/work/inputmethod/libime/work/libime-1.0.4 --- data/CMakeFiles/opengram-lm.dir/all --- *** [data/CMakeFiles/opengram-lm.dir/all] Error code 2 make[1]: stopped in /pbulk/work/inputmethod/libime/work/libime-1.0.4 2 errors make[1]: stopped in /pbulk/work/inputmethod/libime/work/libime-1.0.4 *** [all] Error code 2 make: stopped in /pbulk/work/inputmethod/libime/work/libime-1.0.4 1 error make: stopped in /pbulk/work/inputmethod/libime/work/libime-1.0.4 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/inputmethod/libime *** Error code 1 Stop. make: stopped in /usr/pkgsrc/inputmethod/libime