Package Name python-sentencepiece
Status SUCCESS
Last Build Date 24.7.2026 00:34
Repo URL https://aur.archlinux.org/sentencepiece.git

Build Output
==> Making package: sentencepiece 0.2.2-2 (Fri Jul 24 00:32:00 2026)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (30) cppdap-1.58.0-3 gtest-1.17.0-2 hicolor-icon-theme-0.18-1 jsoncpp-1.9.6-3 libunwind-1.8.2-1 libuv-1.52.1-1 python-autocommand-2.2.2-9 python-iniconfig-2.3.0-1 python-jaraco.collections-5.1.0-3 python-jaraco.context-6.1.2-1 python-jaraco.functools-4.1.0-3 python-jaraco.text-4.0.0-4 python-more-itertools-11.1.0-1 python-packaging-26.2-1 python-platformdirs-4.11.0-1 python-pluggy-1.6.0-3 python-pygments-2.20.0-1 python-pyproject-hooks-1.2.0-6 rhash-1.4.6-1 abseil-cpp-20260526.0-2 cmake-4.4.0-2 gperftools-2.18.1-1 protobuf-35.1-1 pybind11-3.0.4-1 python-build-1.4.3-1 python-installer-1.0.0-1 python-protobuf-35.1-1 python-pytest-1:9.0.3-1 python-setuptools-1:83.0.0-1 python-wheel-0.47.0-1

Total Download Size: 16.53 MiB
Total Installed Size: 171.07 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
cmake-4.4.0-2-x86_64 downloading...
python-pytest-1:9.0.3-1-any downloading...
python-protobuf-35.1-1-x86_64 downloading...
pybind11-3.0.4-1-any downloading...
python-platformdirs-4.11.0-1-any downloading...
python-pluggy-1.6.0-3-any downloading...
python-iniconfig-2.3.0-1-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing cppdap...
installing hicolor-icon-theme...
installing jsoncpp...
Optional dependencies for jsoncpp
jsoncpp-doc: documentation
installing libuv...
installing rhash...
installing cmake...
Optional dependencies for cmake
make: for unix Makefile generator [installed]
ninja: for ninja generator
qt6-base: cmake-gui
installing gtest...
Optional dependencies for gtest
python: gmock generator [installed]
installing abseil-cpp...
installing libunwind...
installing gperftools...
installing protobuf...
installing python-packaging...
installing python-pyproject-hooks...
installing python-build...
Optional dependencies for python-build
python-pip: to use as the Python package installer (default)
python-uv: to use as the Python package installer
python-virtualenv: to use virtualenv for build isolation
installing python-more-itertools...
installing python-jaraco.functools...
installing python-jaraco.context...
installing python-autocommand...
installing python-jaraco.text...
Optional dependencies for python-jaraco.text
python-inflect: for show-newlines script
installing python-jaraco.collections...
installing python-platformdirs...
installing python-wheel...
Optional dependencies for python-wheel
python-keyring: for wheel.signatures
python-xdg: for wheel.signatures
python-setuptools: for legacy bdist_wheel subcommand [pending]
installing python-setuptools...
installing pybind11...
Optional dependencies for pybind11
python-setuptools: for setup_helpers [installed]
installing python-installer...
installing python-iniconfig...
installing python-pluggy...
installing python-pygments...
installing python-pytest...
installing python-protobuf...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
-> Cloning sentencepiece git repo...
Cloning into bare repository '/builder/sentencepiece'...
-> Found dont-include-data-files-in-python-pkg.patch
==> Validating source files with sha512sums...
sentencepiece ... Passed
dont-include-data-files-in-python-pkg.patch ... Passed
==> Extracting sources...
-> Creating working copy of sentencepiece git repo...
Cloning into 'sentencepiece'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
Checking patch python/setup.py...
Checking patch python/src/sentencepiece/__init__.py...
Applied patch python/setup.py cleanly.
Applied patch python/src/sentencepiece/__init__.py cleanly.
==> Starting build()...
The no-dev option is deprecated. Use -Wno-author instead.
-- VERSION: 0.2.2
-- The C compiler identification is GNU 16.1.1
-- The CXX compiler identification is GNU 16.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/sbin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/sbin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found Protobuf: /usr/lib/libprotobuf.so (found version "7.35.1")
-- Found TCMalloc: /usr/lib/libtcmalloc_minimal.so
-- Configuring done (1.4s)
-- Generating done (0.1s)
-- Build files have been written to: /builder/src/sentencepiece/build
[ 2%] Running cpp protocol buffer compiler on sentencepiece.proto
[ 2%] Running cpp protocol buffer compiler on sentencepiece.proto
[ 3%] Running cpp protocol buffer compiler on sentencepiece_model.proto
[ 4%] Running cpp protocol buffer compiler on sentencepiece_model.proto
[ 5%] Running cpp protocol buffer compiler on sentencepiece_model.proto
[ 6%] Generating modified sentencepiece_processor.h for installation
[ 7%] Generating modified sentencepiece_trainer.h for installation
[ 8%] Running cpp protocol buffer compiler on sentencepiece.proto
[ 8%] Built target generate_installed_headers
[ 9%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/trainer_interface.cc.o
[ 10%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/builder.cc.o
[ 12%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/unicode_script.cc.o
[ 12%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/trainer_factory.cc.o
[ 13%] Building CXX object src/CMakeFiles/sentencepiece.dir/sentencepiece.pb.cc.o
[ 14%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/sentencepiece.pb.cc.o
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/trainer_interface.h:26,
from /builder/src/sentencepiece/src/trainer_interface.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/trainer_interface.h:26,
from /builder/src/sentencepiece/src/trainer_factory.h:21,
from /builder/src/sentencepiece/src/trainer_factory.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 15%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/sentencepiece_model.pb.cc.o
In file included from /builder/src/sentencepiece/src/builder.h:24,
from /builder/src/sentencepiece/src/builder.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 16%] Building CXX object src/CMakeFiles/sentencepiece.dir/sentencepiece_model.pb.cc.o
In file included from /builder/src/sentencepiece/src/util.h:34,
from /builder/src/sentencepiece/src/unicode_script.cc:19:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/trainer_interface.cc: In instantiation of ‘void sentencepiece::AddDPNoise(const TrainerSpec&, absl::lts_20260526::BitGen*, T*) [with T = long int]’:
/builder/src/sentencepiece/src/trainer_interface.cc:501:32: required from here
501 | AddDPNoise<int64_t>(trainer_spec_, generator,
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
502 | &sentences_[i].second);
| ~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/trainer_interface.cc:330:18: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
330 | if (*to_update < trainer_spec.differential_privacy_clipping_threshold()) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /builder/src/sentencepiece/src/../third_party/absl/log/internal/check_impl.h:20,
from /builder/src/sentencepiece/third_party/absl/log/check.h:37,
from /builder/src/sentencepiece/src/common.h:21,
from /builder/src/sentencepiece/src/builder.h:22:
/builder/src/sentencepiece/src/../third_party/absl/log/internal/check_op.h: In instantiation of ‘constexpr const char* absl::lts_20260526::log_internal::Check_GEImpl(const T1&, const T2&, const char*) [with T1 = long unsigned int; T2 = int]’:
/builder/src/sentencepiece/src/builder.cc:689:5: required from here
69 | [[maybe_unused]] = ::absl::log_internal::name##Impl( \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
70 | ::absl::log_internal::GetReferenceableValue(val1), \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
71 | ::absl::log_internal::GetReferenceableValue(val2), \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | ABSL_LOG_INTERNAL_STRIP_STRING_LITERAL(val1_text " " #op \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | " " val2_text))) \
| ~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/../third_party/absl/log/internal/check_op.h:506:43: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
506 | ABSL_LOG_INTERNAL_CHECK_OP_IMPL(Check_GE, >=)
/builder/src/sentencepiece/src/../third_party/absl/base/optimization.h:191:58: note: in definition of macro ‘ABSL_PREDICT_TRUE’
191 | #define ABSL_PREDICT_TRUE(x) (__builtin_expect(false || (x), true))
| ^
/builder/src/sentencepiece/src/../third_party/absl/log/internal/check_op.h:506:1: note: in expansion of macro ‘ABSL_LOG_INTERNAL_CHECK_OP_IMPL’
506 | ABSL_LOG_INTERNAL_CHECK_OP_IMPL(Check_GE, >=)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 17%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/unigram_model_trainer.cc.o
[ 18%] Building CXX object src/CMakeFiles/sentencepiece.dir/bpe_model.cc.o
[ 19%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/word_model_trainer.cc.o
[ 20%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/bpe_model.cc.o
[ 21%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/char_model_trainer.cc.o
[ 22%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/bpe_model_trainer.cc.o
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/model_interface.h:25,
from /builder/src/sentencepiece/src/bpe_model.h:18,
from /builder/src/sentencepiece/src/bpe_model.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/trainer_interface.h:26,
from /builder/src/sentencepiece/src/unigram_model_trainer.h:26,
from /builder/src/sentencepiece/src/unigram_model_trainer.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/trainer_interface.h:26,
from /builder/src/sentencepiece/src/word_model_trainer.h:20,
from /builder/src/sentencepiece/src/word_model_trainer.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/bpe_model.cc: In member function ‘virtual std::vector<std::pair<std::basic_string_view<char>, int> > sentencepiece::bpe::Model::SampleEncode(std::string_view, float) const’:
/builder/src/sentencepiece/src/bpe_model.cc:156:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<sentencepiece::bpe::{anonymous}::Symbol>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
156 | for (; right < symbols.size();
| ~~~~~~^~~~~~~~~~~~~~~~
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/trainer_interface.h:26,
from /builder/src/sentencepiece/src/char_model_trainer.h:20,
from /builder/src/sentencepiece/src/char_model_trainer.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/model_interface.h:25,
from /builder/src/sentencepiece/src/bpe_model.h:18,
from /builder/src/sentencepiece/src/bpe_model.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/unigram_model_trainer.cc: In instantiation of ‘sentencepiece::unigram::TrainerModel::SentencePieces sentencepiece::unigram::Trainer::MakeSeedSentencePiecesInternal() [with node_int_type = long int; sentencepiece::unigram::TrainerModel::SentencePieces = std::vector<std::pair<std::__cxx11::basic_string<char>, float> >]’:
/builder/src/sentencepiece/src/unigram_model_trainer.cc:167:55: required from here
167 | ? MakeSeedSentencePiecesInternal<int64_t>()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/builder/src/sentencepiece/src/unigram_model_trainer.cc:319:30: warning: comparison of integer expressions of different signedness: ‘const long int’ and ‘std::vector<char32_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
319 | if (len <= 1 || offset >= array.size() || offset + len >= array.size()) {
| ~~~~~~~^~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/unigram_model_trainer.cc:319:62: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘std::vector<char32_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
319 | if (len <= 1 || offset >= array.size() || offset + len >= array.size()) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/unigram_model_trainer.cc: In instantiation of ‘sentencepiece::unigram::TrainerModel::SentencePieces sentencepiece::unigram::Trainer::MakeSeedSentencePiecesInternal() [with node_int_type = int; sentencepiece::unigram::TrainerModel::SentencePieces = std::vector<std::pair<std::__cxx11::basic_string<char>, float> >]’:
/builder/src/sentencepiece/src/unigram_model_trainer.cc:168:55: required from here
168 | : MakeSeedSentencePiecesInternal<int32_t>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/builder/src/sentencepiece/src/unigram_model_trainer.cc:319:30: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector<char32_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
319 | if (len <= 1 || offset >= array.size() || offset + len >= array.size()) {
| ~~~~~~~^~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/unigram_model_trainer.cc:319:62: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<char32_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
319 | if (len <= 1 || offset >= array.size() || offset + len >= array.size()) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
[ 23%] Building CXX object src/CMakeFiles/sentencepiece.dir/char_model.cc.o
/builder/src/sentencepiece/src/bpe_model.cc: In member function ‘virtual std::vector<std::pair<std::basic_string_view<char>, int> > sentencepiece::bpe::Model::SampleEncode(std::string_view, float) const’:
/builder/src/sentencepiece/src/bpe_model.cc:156:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<sentencepiece::bpe::{anonymous}::Symbol>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
156 | for (; right < symbols.size();
| ~~~~~~^~~~~~~~~~~~~~~~
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/trainer_interface.h:26,
from /builder/src/sentencepiece/src/bpe_model_trainer.h:29,
from /builder/src/sentencepiece/src/bpe_model_trainer.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 24%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/char_model.cc.o
[ 25%] Building CXX object src/CMakeFiles/sentencepiece.dir/filesystem.cc.o
[ 26%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/filesystem.cc.o
[ 27%] Building CXX object src/CMakeFiles/sentencepiece.dir/init.cc.o
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/model_interface.h:25,
from /builder/src/sentencepiece/src/char_model.h:18,
from /builder/src/sentencepiece/src/char_model.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/filesystem.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/filesystem.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 28%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/sentencepiece_trainer.cc.o
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/model_interface.h:25,
from /builder/src/sentencepiece/src/char_model.h:18,
from /builder/src/sentencepiece/src/char_model.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 29%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/init.cc.o
[ 30%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/pretokenizer_for_training.cc.o
In file included from /builder/src/sentencepiece/src/util.h:34,
from /builder/src/sentencepiece/src/init.cc:25:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 31%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/model_factory.cc.o
[ 32%] Building CXX object src/CMakeFiles/sentencepiece.dir/model_factory.cc.o
In file included from /builder/src/sentencepiece/src/sentencepiece_trainer.h:23,
from /builder/src/sentencepiece/src/sentencepiece_trainer.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/util.h:34,
from /builder/src/sentencepiece/src/init.cc:25:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 34%] Building CXX object src/CMakeFiles/sentencepiece.dir/model_interface.cc.o
In file included from /builder/src/sentencepiece/src/pretokenizer_for_training.h:23,
from /builder/src/sentencepiece/src/pretokenizer_for_training.cc:14:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 35%] Building CXX object src/CMakeFiles/sentencepiece.dir/normalizer.cc.o
[ 36%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/model_interface.cc.o
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/model_interface.h:25,
from /builder/src/sentencepiece/src/model_factory.h:20,
from /builder/src/sentencepiece/src/model_factory.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/model_interface.h:25,
from /builder/src/sentencepiece/src/model_factory.h:20,
from /builder/src/sentencepiece/src/model_factory.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/model_interface.h:25,
from /builder/src/sentencepiece/src/model_interface.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/normalizer.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 37%] Linking CXX static library libsentencepiece_train.a
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/model_interface.h:25,
from /builder/src/sentencepiece/src/model_interface.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
[ 37%] Built target sentencepiece_train-static
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 38%] Building CXX object src/CMakeFiles/sentencepiece.dir/sentencepiece_processor.cc.o
[ 39%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/normalizer.cc.o
[ 40%] Building CXX object src/CMakeFiles/sentencepiece.dir/unigram_model.cc.o
[ 41%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/sentencepiece_processor.cc.o
[ 42%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/unigram_model.cc.o
In file included from /builder/src/sentencepiece/src/sentencepiece_processor.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/normalizer.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/sentencepiece_processor.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 43%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/util.cc.o
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/model_interface.h:25,
from /builder/src/sentencepiece/src/unigram_model.h:25,
from /builder/src/sentencepiece/src/unigram_model.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 44%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/word_model.cc.o
/builder/src/sentencepiece/src/sentencepiece_processor.cc: In member function ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::LoadVocabulary(std::string_view, int)’:
/builder/src/sentencepiece/src/sentencepiece_processor.cc:400:23: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SetVocabulary(const std::vector<std::basic_string_view<char> >&)’ is deprecated: WARNING: This method is deprecated. It mutates the underlying model and may cause race conditions if the model is shared (using shared_ptr<>) with other users. [-Wdeprecated-declarations]
400 | return SetVocabulary(ToPieceArray(vocab));
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.cc:334:14: note: declared here
334 | absl::Status SentencePieceProcessor::SetVocabulary(
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /builder/src/sentencepiece/src/common.h:25,
from /builder/src/sentencepiece/src/sentencepiece_processor.cc:27:
/builder/src/sentencepiece/src/sentencepiece_processor.cc: In member function ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.cc:522:27: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
522 | SampleEncodeAndScore(input, num_samples, alpha, wor, include_best, spt));
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/third_party/absl/status/status_macros.h:165:16: note: in definition of macro ‘ABSL_INTERNAL_STATUS_MACROS_RETURN_IF_ERROR_IMPL_’
165 | (expr), absl::SourceLocation::current())) { \
| ^~~~
/builder/src/sentencepiece/src/common.h:44:30: note: in expansion of macro ‘ABSL_RETURN_IF_ERROR’
44 | #define RETURN_IF_ERROR(...) ABSL_RETURN_IF_ERROR(__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.cc:521:3: note: in expansion of macro ‘RETURN_IF_ERROR’
521 | RETURN_IF_ERROR(
| ^~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.cc: In member function ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.cc:548:27: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
548 | SampleEncodeAndScore(input, num_samples, alpha, wor, include_best, spt));
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/third_party/absl/status/status_macros.h:165:16: note: in definition of macro ‘ABSL_INTERNAL_STATUS_MACROS_RETURN_IF_ERROR_IMPL_’
165 | (expr), absl::SourceLocation::current())) { \
| ^~~~
/builder/src/sentencepiece/src/common.h:44:30: note: in expansion of macro ‘ABSL_RETURN_IF_ERROR’
44 | #define RETURN_IF_ERROR(...) ABSL_RETURN_IF_ERROR(__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.cc:547:3: note: in expansion of macro ‘RETURN_IF_ERROR’
547 | RETURN_IF_ERROR(
| ^~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/model_interface.h:25,
from /builder/src/sentencepiece/src/unigram_model.h:25,
from /builder/src/sentencepiece/src/unigram_model.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.cc: In member function ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(absl::lts_20260526::Span<const int>, sentencepiece::SentencePieceText*) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.cc:961:16: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
961 | return Decode(pieces, spt);
| ~~~~~~^~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/unigram_model.cc: In member function ‘virtual sentencepiece::NBestEncodeResult sentencepiece::unigram::Model::SampleEncodeAndScore(std::string_view, float, int, bool, bool) const’:
/builder/src/sentencepiece/src/unigram_model.cc:855:27: warning: comparison of integer expressions of different signedness: ‘std::vector<std::pair<std::vector<std::pair<std::basic_string_view<char>, int> >, float> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
855 | while (results.size() < samples) {
| ~~~~~~~~~~~~~~~^~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.cc: In member function ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::LoadVocabulary(std::string_view, int)’:
/builder/src/sentencepiece/src/sentencepiece_processor.cc:400:23: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SetVocabulary(const std::vector<std::basic_string_view<char> >&)’ is deprecated: WARNING: This method is deprecated. It mutates the underlying model and may cause race conditions if the model is shared (using shared_ptr<>) with other users. [-Wdeprecated-declarations]
400 | return SetVocabulary(ToPieceArray(vocab));
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.cc:334:14: note: declared here
334 | absl::Status SentencePieceProcessor::SetVocabulary(
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /builder/src/sentencepiece/src/common.h:25,
from /builder/src/sentencepiece/src/sentencepiece_processor.cc:27:
/builder/src/sentencepiece/src/sentencepiece_processor.cc: In member function ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.cc:522:27: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
522 | SampleEncodeAndScore(input, num_samples, alpha, wor, include_best, spt));
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/third_party/absl/status/status_macros.h:165:16: note: in definition of macro ‘ABSL_INTERNAL_STATUS_MACROS_RETURN_IF_ERROR_IMPL_’
165 | (expr), absl::SourceLocation::current())) { \
| ^~~~
/builder/src/sentencepiece/src/common.h:44:30: note: in expansion of macro ‘ABSL_RETURN_IF_ERROR’
44 | #define RETURN_IF_ERROR(...) ABSL_RETURN_IF_ERROR(__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.cc:521:3: note: in expansion of macro ‘RETURN_IF_ERROR’
521 | RETURN_IF_ERROR(
| ^~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.cc: In member function ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.cc:548:27: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
548 | SampleEncodeAndScore(input, num_samples, alpha, wor, include_best, spt));
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/third_party/absl/status/status_macros.h:165:16: note: in definition of macro ‘ABSL_INTERNAL_STATUS_MACROS_RETURN_IF_ERROR_IMPL_’
165 | (expr), absl::SourceLocation::current())) { \
| ^~~~
/builder/src/sentencepiece/src/common.h:44:30: note: in expansion of macro ‘ABSL_RETURN_IF_ERROR’
44 | #define RETURN_IF_ERROR(...) ABSL_RETURN_IF_ERROR(__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.cc:547:3: note: in expansion of macro ‘RETURN_IF_ERROR’
547 | RETURN_IF_ERROR(
| ^~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.cc: In member function ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(absl::lts_20260526::Span<const int>, sentencepiece::SentencePieceText*) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.cc:961:16: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
961 | return Decode(pieces, spt);
| ~~~~~~^~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/util.h:34,
from /builder/src/sentencepiece/src/util.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/util.cc: In lambda function:
/builder/src/sentencepiece/src/util.cc:374:45: warning: ‘absl::lts_20260526::MutexLock::MutexLock(absl::lts_20260526::Mutex*)’ is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations]
374 | absl::MutexLock lock(&status_mutex);
| ^
In file included from /builder/src/sentencepiece/src/../third_party/absl/strings/internal/cordz_info.h:31,
from /builder/src/sentencepiece/src/../third_party/absl/strings/cord.h:94,
from /builder/src/sentencepiece/src/../third_party/absl/status/internal/status_internal.h:29,
from /builder/src/sentencepiece/third_party/absl/status/status.h:67,
from /builder/src/sentencepiece/src/common.h:24,
from /builder/src/sentencepiece/src/util.h:32:
/builder/src/sentencepiece/src/../third_party/absl/synchronization/mutex.h:635:12: note: declared here
635 | explicit MutexLock(Mutex* absl_nonnull mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu)
| ^~~~~~~~~
/builder/src/sentencepiece/src/util.cc: In function ‘double sentencepiece::log_domain::LogSum(const std::vector<double>&)’:
/builder/src/sentencepiece/src/util.cc:402:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
402 | for (int i = 1; i < xs.size(); ++i) {
| ~~^~~~~~~~~~~
/builder/src/sentencepiece/src/unigram_model.cc: In member function ‘virtual sentencepiece::NBestEncodeResult sentencepiece::unigram::Model::SampleEncodeAndScore(std::string_view, float, int, bool, bool) const’:
/builder/src/sentencepiece/src/unigram_model.cc:855:27: warning: comparison of integer expressions of different signedness: ‘std::vector<std::pair<std::vector<std::pair<std::basic_string_view<char>, int> >, float> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
855 | while (results.size() < samples) {
| ~~~~~~~~~~~~~~~^~~~~~~~~
[ 45%] Building CXX object src/CMakeFiles/sentencepiece.dir/util.cc.o
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/model_interface.h:25,
from /builder/src/sentencepiece/src/word_model.h:18,
from /builder/src/sentencepiece/src/word_model.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 46%] Building CXX object src/CMakeFiles/sentencepiece.dir/word_model.cc.o
In file included from /builder/src/sentencepiece/src/util.h:34,
from /builder/src/sentencepiece/src/util.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/util.cc: In lambda function:
/builder/src/sentencepiece/src/util.cc:374:45: warning: ‘absl::lts_20260526::MutexLock::MutexLock(absl::lts_20260526::Mutex*)’ is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations]
374 | absl::MutexLock lock(&status_mutex);
| ^
In file included from /builder/src/sentencepiece/src/../third_party/absl/strings/internal/cordz_info.h:31,
from /builder/src/sentencepiece/src/../third_party/absl/strings/cord.h:94,
from /builder/src/sentencepiece/src/../third_party/absl/status/internal/status_internal.h:29,
from /builder/src/sentencepiece/third_party/absl/status/status.h:67,
from /builder/src/sentencepiece/src/common.h:24,
from /builder/src/sentencepiece/src/util.h:32:
/builder/src/sentencepiece/src/../third_party/absl/synchronization/mutex.h:635:12: note: declared here
635 | explicit MutexLock(Mutex* absl_nonnull mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu)
| ^~~~~~~~~
/builder/src/sentencepiece/src/util.cc: In function ‘double sentencepiece::log_domain::LogSum(const std::vector<double>&)’:
/builder/src/sentencepiece/src/util.cc:402:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
402 | for (int i = 1; i < xs.size(); ++i) {
| ~~^~~~~~~~~~~
[ 47%] Linking CXX static library libsentencepiece.a
[ 47%] Built target sentencepiece-static
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/model_interface.h:25,
from /builder/src/sentencepiece/src/word_model.h:18,
from /builder/src/sentencepiece/src/word_model.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 48%] Linking CXX shared library libsentencepiece.so
[ 48%] Built target sentencepiece
[ 49%] Building CXX object src/CMakeFiles/spm_decode.dir/spm_decode_main.cc.o
[ 51%] Building CXX object src/CMakeFiles/sentencepiece_train.dir/builder.cc.o
[ 51%] Building CXX object src/CMakeFiles/sentencepiece_train.dir/unicode_script.cc.o
[ 52%] Building CXX object src/CMakeFiles/sentencepiece_train.dir/trainer_factory.cc.o
[ 53%] Building CXX object src/CMakeFiles/spm_encode.dir/spm_encode_main.cc.o
[ 54%] Building CXX object src/CMakeFiles/spm_export_vocab.dir/spm_export_vocab_main.cc.o
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/spm_decode_main.cc:20:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/spm_encode_main.cc:21:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/spm_export_vocab_main.cc:18:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/../third_party/absl/log/internal/check_impl.h:21,
from /builder/src/sentencepiece/third_party/absl/log/check.h:37,
from /builder/src/sentencepiece/src/common.h:21,
from /builder/src/sentencepiece/src/spm_decode_main.cc:19:
/builder/src/sentencepiece/src/spm_decode_main.cc: In lambda function:
/builder/src/sentencepiece/src/spm_decode_main.cc:78:28: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
78 | QCHECK_OK(sp.Decode(pieces, &detok));
| ~~~~~~~~~^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/../third_party/absl/log/internal/check_op.h:159:43: note: in definition of macro ‘ABSL_LOG_INTERNAL_QCHECK_OK’
159 | ::absl::log_internal::AsStatus(val), \
| ^~~
/builder/src/sentencepiece/third_party/absl/log/check.h:169:27: note: in expansion of macro ‘ABSL_LOG_INTERNAL_QCHECK_OK_IMPL’
169 | #define QCHECK_OK(status) ABSL_LOG_INTERNAL_QCHECK_OK_IMPL((status), #status)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/spm_decode_main.cc:78:9: note: in expansion of macro ‘QCHECK_OK’
78 | QCHECK_OK(sp.Decode(pieces, &detok));
| ^~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/spm_decode_main.cc: In lambda function:
/builder/src/sentencepiece/src/spm_decode_main.cc:83:28: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
83 | QCHECK_OK(sp.Decode(pieces, &spt));
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/../third_party/absl/log/internal/check_op.h:159:43: note: in definition of macro ‘ABSL_LOG_INTERNAL_QCHECK_OK’
159 | ::absl::log_internal::AsStatus(val), \
| ^~~
/builder/src/sentencepiece/third_party/absl/log/check.h:169:27: note: in expansion of macro ‘ABSL_LOG_INTERNAL_QCHECK_OK_IMPL’
169 | #define QCHECK_OK(status) ABSL_LOG_INTERNAL_QCHECK_OK_IMPL((status), #status)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/spm_decode_main.cc:83:9: note: in expansion of macro ‘QCHECK_OK’
83 | QCHECK_OK(sp.Decode(pieces, &spt));
| ^~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/spm_decode_main.cc: In lambda function:
/builder/src/sentencepiece/src/spm_decode_main.cc:92:28: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
92 | QCHECK_OK(sp.Decode(ToIds(pieces), &detok));
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/../third_party/absl/log/internal/check_op.h:159:43: note: in definition of macro ‘ABSL_LOG_INTERNAL_QCHECK_OK’
159 | ::absl::log_internal::AsStatus(val), \
| ^~~
/builder/src/sentencepiece/third_party/absl/log/check.h:169:27: note: in expansion of macro ‘ABSL_LOG_INTERNAL_QCHECK_OK_IMPL’
169 | #define QCHECK_OK(status) ABSL_LOG_INTERNAL_QCHECK_OK_IMPL((status), #status)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/spm_decode_main.cc:92:9: note: in expansion of macro ‘QCHECK_OK’
92 | QCHECK_OK(sp.Decode(ToIds(pieces), &detok));
| ^~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/spm_decode_main.cc: In lambda function:
/builder/src/sentencepiece/src/spm_decode_main.cc:97:28: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
97 | QCHECK_OK(sp.Decode(ToIds(pieces), &spt));
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/../third_party/absl/log/internal/check_op.h:159:43: note: in definition of macro ‘ABSL_LOG_INTERNAL_QCHECK_OK’
159 | ::absl::log_internal::AsStatus(val), \
| ^~~
/builder/src/sentencepiece/third_party/absl/log/check.h:169:27: note: in expansion of macro ‘ABSL_LOG_INTERNAL_QCHECK_OK_IMPL’
169 | #define QCHECK_OK(status) ABSL_LOG_INTERNAL_QCHECK_OK_IMPL((status), #status)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/spm_decode_main.cc:97:9: note: in expansion of macro ‘QCHECK_OK’
97 | QCHECK_OK(sp.Decode(ToIds(pieces), &spt));
| ^~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/builder.h:24,
from /builder/src/sentencepiece/src/builder.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/trainer_interface.h:26,
from /builder/src/sentencepiece/src/trainer_factory.h:21,
from /builder/src/sentencepiece/src/trainer_factory.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/util.h:34,
from /builder/src/sentencepiece/src/unicode_script.cc:19:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 55%] Linking CXX executable spm_export_vocab
[ 56%] Linking CXX executable spm_decode
In file included from /builder/src/sentencepiece/src/../third_party/absl/log/internal/check_impl.h:21,
from /builder/src/sentencepiece/third_party/absl/log/check.h:37,
from /builder/src/sentencepiece/src/common.h:21,
from /builder/src/sentencepiece/src/spm_encode_main.cc:20:
/builder/src/sentencepiece/src/spm_encode_main.cc: In function ‘int main(int, char**)’:
/builder/src/sentencepiece/src/spm_encode_main.cc:84:32: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::LoadVocabulary(std::string_view, int)’ is deprecated: WARNING: LoadVocabulary is deprecated and will be removed. [-Wdeprecated-declarations]
84 | QCHECK_OK(sp.LoadVocabulary(absl::GetFlag(FLAGS_vocabulary),
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
85 | absl::GetFlag(FLAGS_vocabulary_threshold)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/../third_party/absl/log/internal/check_op.h:159:43: note: in definition of macro ‘ABSL_LOG_INTERNAL_QCHECK_OK’
159 | ::absl::log_internal::AsStatus(val), \
| ^~~
/builder/src/sentencepiece/third_party/absl/log/check.h:169:27: note: in expansion of macro ‘ABSL_LOG_INTERNAL_QCHECK_OK_IMPL’
169 | #define QCHECK_OK(status) ABSL_LOG_INTERNAL_QCHECK_OK_IMPL((status), #status)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/spm_encode_main.cc:84:5: note: in expansion of macro ‘QCHECK_OK’
84 | QCHECK_OK(sp.LoadVocabulary(absl::GetFlag(FLAGS_vocabulary),
| ^~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:294:24: note: declared here
294 | virtual absl::Status LoadVocabulary(absl::string_view filename,
| ^~~~~~~~~~~~~~
[ 56%] Built target spm_export_vocab
[ 57%] Building CXX object src/CMakeFiles/sentencepiece_train.dir/trainer_interface.cc.o
In file included from /builder/src/sentencepiece/src/../third_party/absl/log/internal/check_impl.h:20,
from /builder/src/sentencepiece/third_party/absl/log/check.h:37,
from /builder/src/sentencepiece/src/common.h:21,
from /builder/src/sentencepiece/src/builder.h:22:
/builder/src/sentencepiece/src/../third_party/absl/log/internal/check_op.h: In instantiation of ‘constexpr const char* absl::lts_20260526::log_internal::Check_GEImpl(const T1&, const T2&, const char*) [with T1 = long unsigned int; T2 = int]’:
/builder/src/sentencepiece/src/builder.cc:689:5: required from here
69 | [[maybe_unused]] = ::absl::log_internal::name##Impl( \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
70 | ::absl::log_internal::GetReferenceableValue(val1), \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
71 | ::absl::log_internal::GetReferenceableValue(val2), \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | ABSL_LOG_INTERNAL_STRIP_STRING_LITERAL(val1_text " " #op \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | " " val2_text))) \
| ~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/../third_party/absl/log/internal/check_op.h:506:43: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
506 | ABSL_LOG_INTERNAL_CHECK_OP_IMPL(Check_GE, >=)
/builder/src/sentencepiece/src/../third_party/absl/base/optimization.h:191:58: note: in definition of macro ‘ABSL_PREDICT_TRUE’
191 | #define ABSL_PREDICT_TRUE(x) (__builtin_expect(false || (x), true))
| ^
/builder/src/sentencepiece/src/../third_party/absl/log/internal/check_op.h:506:1: note: in expansion of macro ‘ABSL_LOG_INTERNAL_CHECK_OP_IMPL’
506 | ABSL_LOG_INTERNAL_CHECK_OP_IMPL(Check_GE, >=)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 57%] Built target spm_decode
[ 58%] Building CXX object src/CMakeFiles/sentencepiece_train.dir/unigram_model_trainer.cc.o
[ 59%] Building CXX object src/CMakeFiles/sentencepiece_train.dir/word_model_trainer.cc.o
[ 60%] Building CXX object src/CMakeFiles/sentencepiece_train.dir/char_model_trainer.cc.o
[ 61%] Linking CXX executable spm_encode
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/trainer_interface.h:26,
from /builder/src/sentencepiece/src/trainer_interface.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 62%] Building CXX object src/CMakeFiles/sentencepiece_train.dir/bpe_model_trainer.cc.o
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/trainer_interface.h:26,
from /builder/src/sentencepiece/src/unigram_model_trainer.h:26,
from /builder/src/sentencepiece/src/unigram_model_trainer.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/trainer_interface.h:26,
from /builder/src/sentencepiece/src/word_model_trainer.h:20,
from /builder/src/sentencepiece/src/word_model_trainer.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 62%] Built target spm_encode
[ 63%] Building CXX object src/CMakeFiles/sentencepiece_train.dir/sentencepiece_trainer.cc.o
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/trainer_interface.h:26,
from /builder/src/sentencepiece/src/char_model_trainer.h:20,
from /builder/src/sentencepiece/src/char_model_trainer.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/trainer_interface.cc: In instantiation of ‘void sentencepiece::AddDPNoise(const TrainerSpec&, absl::lts_20260526::BitGen*, T*) [with T = long int]’:
/builder/src/sentencepiece/src/trainer_interface.cc:501:32: required from here
501 | AddDPNoise<int64_t>(trainer_spec_, generator,
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
502 | &sentences_[i].second);
| ~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/trainer_interface.cc:330:18: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
330 | if (*to_update < trainer_spec.differential_privacy_clipping_threshold()) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/unigram_model_trainer.cc: In instantiation of ‘sentencepiece::unigram::TrainerModel::SentencePieces sentencepiece::unigram::Trainer::MakeSeedSentencePiecesInternal() [with node_int_type = long int; sentencepiece::unigram::TrainerModel::SentencePieces = std::vector<std::pair<std::__cxx11::basic_string<char>, float> >]’:
/builder/src/sentencepiece/src/unigram_model_trainer.cc:167:55: required from here
167 | ? MakeSeedSentencePiecesInternal<int64_t>()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/builder/src/sentencepiece/src/unigram_model_trainer.cc:319:30: warning: comparison of integer expressions of different signedness: ‘const long int’ and ‘std::vector<char32_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
319 | if (len <= 1 || offset >= array.size() || offset + len >= array.size()) {
| ~~~~~~~^~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/unigram_model_trainer.cc:319:62: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘std::vector<char32_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
319 | if (len <= 1 || offset >= array.size() || offset + len >= array.size()) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/unigram_model_trainer.cc: In instantiation of ‘sentencepiece::unigram::TrainerModel::SentencePieces sentencepiece::unigram::Trainer::MakeSeedSentencePiecesInternal() [with node_int_type = int; sentencepiece::unigram::TrainerModel::SentencePieces = std::vector<std::pair<std::__cxx11::basic_string<char>, float> >]’:
/builder/src/sentencepiece/src/unigram_model_trainer.cc:168:55: required from here
168 | : MakeSeedSentencePiecesInternal<int32_t>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/builder/src/sentencepiece/src/unigram_model_trainer.cc:319:30: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector<char32_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
319 | if (len <= 1 || offset >= array.size() || offset + len >= array.size()) {
| ~~~~~~~^~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/unigram_model_trainer.cc:319:62: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<char32_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
319 | if (len <= 1 || offset >= array.size() || offset + len >= array.size()) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/trainer_interface.h:26,
from /builder/src/sentencepiece/src/bpe_model_trainer.h:29,
from /builder/src/sentencepiece/src/bpe_model_trainer.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/sentencepiece_trainer.h:23,
from /builder/src/sentencepiece/src/sentencepiece_trainer.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 64%] Building CXX object src/CMakeFiles/sentencepiece_train.dir/pretokenizer_for_training.cc.o
In file included from /builder/src/sentencepiece/src/pretokenizer_for_training.h:23,
from /builder/src/sentencepiece/src/pretokenizer_for_training.cc:14:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 65%] Linking CXX shared library libsentencepiece_train.so
[ 68%] Built target sentencepiece_train
[ 69%] Building CXX object src/CMakeFiles/spm_test.dir/test_main.cc.o
[ 70%] Building CXX object src/CMakeFiles/spm_test.dir/builder_test.cc.o
[ 72%] Building CXX object src/CMakeFiles/spm_normalize.dir/spm_normalize_main.cc.o
[ 72%] Building CXX object src/CMakeFiles/spm_test.dir/bpe_model_test.cc.o
[ 73%] Building CXX object src/CMakeFiles/spm_test.dir/bpe_model_trainer_test.cc.o
[ 74%] Building CXX object src/CMakeFiles/spm_train.dir/spm_train_main.cc.o
In file included from /builder/src/sentencepiece/src/util.h:34,
from /builder/src/sentencepiece/src/test_main.cc:17:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/spm_train_main.cc:17:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/builder.h:24,
from /builder/src/sentencepiece/src/builder_test.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/builder.h:24,
from /builder/src/sentencepiece/src/spm_normalize_main.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 75%] Building CXX object src/CMakeFiles/spm_test.dir/invalid_model_test.cc.o
/builder/src/sentencepiece/src/spm_normalize_main.cc: In function ‘int main(int, char**)’:
/builder/src/sentencepiece/src/spm_normalize_main.cc:64:16: warning: unused variable ‘model_proto’ [-Wunused-variable]
64 | ModelProto model_proto;
| ^~~~~~~~~~~
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/model_interface.h:25,
from /builder/src/sentencepiece/src/bpe_model.h:18,
from /builder/src/sentencepiece/src/bpe_model_test.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 76%] Linking CXX executable spm_normalize
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/trainer_interface.h:26,
from /builder/src/sentencepiece/src/bpe_model_trainer.h:29,
from /builder/src/sentencepiece/src/bpe_model_trainer_test.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 77%] Building CXX object src/CMakeFiles/spm_test.dir/char_model_test.cc.o
[ 77%] Built target spm_normalize
[ 78%] Building CXX object src/CMakeFiles/spm_test.dir/char_model_trainer_test.cc.o
[ 79%] Linking CXX executable spm_train
[ 80%] Building CXX object src/CMakeFiles/spm_test.dir/filesystem_test.cc.o
In file included from /builder/src/sentencepiece/src/invalid_model_test.cc:29:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
[ 81%] Building CXX object src/CMakeFiles/spm_test.dir/model_factory_test.cc.o
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 81%] Built target spm_train
[ 82%] Building CXX object src/CMakeFiles/spm_test.dir/model_interface_test.cc.o
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/model_interface.h:25,
from /builder/src/sentencepiece/src/char_model.h:18,
from /builder/src/sentencepiece/src/char_model_test.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/trainer_interface.h:26,
from /builder/src/sentencepiece/src/char_model_trainer.h:20,
from /builder/src/sentencepiece/src/char_model_trainer_test.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/filesystem_test.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 83%] Building CXX object src/CMakeFiles/spm_test.dir/normalizer_test.cc.o
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/model_interface.h:25,
from /builder/src/sentencepiece/src/model_factory.h:20,
from /builder/src/sentencepiece/src/model_factory_test.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 84%] Building CXX object src/CMakeFiles/spm_test.dir/sentencepiece_processor_test.cc.o
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/model_interface.h:25,
from /builder/src/sentencepiece/src/model_interface_test.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 85%] Building CXX object src/CMakeFiles/spm_test.dir/sentencepiece_processor_parallel_test.cc.o
[ 86%] Building CXX object src/CMakeFiles/spm_test.dir/sentencepiece_trainer_test.cc.o
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/normalizer_test.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /builder/src/sentencepiece/src/sentencepiece_processor_test.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 87%] Building CXX object src/CMakeFiles/spm_test.dir/testharness.cc.o
In file included from /builder/src/sentencepiece/src/sentencepiece_trainer.h:23,
from /builder/src/sentencepiece/src/sentencepiece_trainer_test.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 88%] Building CXX object src/CMakeFiles/spm_test.dir/trainer_factory_test.cc.o
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/sentencepiece_processor_parallel_test.cc:18:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 89%] Building CXX object src/CMakeFiles/spm_test.dir/trainer_interface_test.cc.o
In file included from /builder/src/sentencepiece/src/util.h:34,
from /builder/src/sentencepiece/src/testharness.cc:30:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/sentencepiece_processor_test.cc:26:
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc: In member function ‘void sentencepiece::SentencepieceProcessorTest_Test_DecodeTest::_Run()’:
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:591:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
591 | EXPECT_TRUE(sp.Decode(input, &spt).ok());
| ~~~~~~~~~^~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:645:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
645 | EXPECT_TRUE(sp.Decode(input, &spt).ok());
| ~~~~~~~~~^~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:665:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
665 | EXPECT_TRUE(sp.Decode(input, &spt).ok());
| ~~~~~~~~~^~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:685:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
685 | EXPECT_TRUE(sp.Decode(input, &spt).ok());
| ~~~~~~~~~^~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:707:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
707 | EXPECT_TRUE(sp.Decode(input, &spt).ok());
| ~~~~~~~~~^~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc: In member function ‘void sentencepiece::SentencepieceProcessorTest_Test_DummyPrefixDecodeTest::_Run()’:
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:765:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
765 | EXPECT_TRUE(sp.Decode(input, &spt).ok());
| ~~~~~~~~~^~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:787:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
787 | EXPECT_TRUE(sp.Decode(input, &spt).ok());
| ~~~~~~~~~^~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc: In member function ‘void sentencepiece::SentencepieceProcessorTest_Test_ByteFallbackDecodeTest::_Run()’:
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:873:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
873 | EXPECT_TRUE(sp.Decode(input, &spt).ok());
| ~~~~~~~~~^~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc: In member function ‘void sentencepiece::SentencePieceProcessorTest_Test_EndToEndTest::_Run()’:
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1173:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1173 | EXPECT_TRUE(sp.Decode(sps, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1177:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1177 | EXPECT_TRUE(sp.Decode(ids, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1186:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1186 | EXPECT_TRUE(sp.Decode(sps, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1190:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1190 | EXPECT_TRUE(sp.Decode(ids, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1199:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1199 | EXPECT_TRUE(sp.Decode(sps, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1203:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1203 | EXPECT_TRUE(sp.Decode(ids, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1212:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1212 | EXPECT_TRUE(sp.Decode(sps, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1216:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1216 | EXPECT_TRUE(sp.Decode(ids, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1225:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1225 | EXPECT_TRUE(sp.Decode(sps, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1229:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1229 | EXPECT_TRUE(sp.Decode(ids, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1238:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1238 | EXPECT_TRUE(sp.Decode(sps, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1242:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1242 | EXPECT_TRUE(sp.Decode(ids, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1250:27: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1250 | EXPECT_FALSE(sp.Decode(ids, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:118:57: note: in definition of macro ‘EXPECT_FALSE’
118 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((!(c)), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1258:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1258 | EXPECT_TRUE(sp.Decode(sps, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1262:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1262 | EXPECT_TRUE(sp.Decode(ids, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1271:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1271 | EXPECT_TRUE(sp.Decode(sps, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1275:26: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1275 | EXPECT_TRUE(sp.Decode(ids, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc: In lambda function:
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1341:28: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1341 | EXPECT_TRUE(sp.Decode(sps, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1345:28: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
1345 | EXPECT_TRUE(sp.Decode(ids, &output).ok());
| ~~~~~~~~~^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc: In member function ‘void sentencepiece::SentencePieceProcessorTest_Test_EndToEndTest::_Run()’:
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1373:33: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SetVocabulary(const std::vector<std::basic_string_view<char> >&)’ is deprecated: WARNING: This method is deprecated. It mutates the underlying model and may cause race conditions if the model is shared (using shared_ptr<>) with other users. [-Wdeprecated-declarations]
1373 | EXPECT_TRUE(sp.SetVocabulary({"a", "b", "c"}).ok()); // remove "ab"
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:280:24: note: declared here
280 | virtual absl::Status SetVocabulary(
| ^~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc: In member function ‘void sentencepiece::SentencePieceProcessorTest_Test_VocabularyTest::_Run()’:
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1552:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SetVocabulary(const std::vector<std::basic_string_view<char> >&)’ is deprecated: WARNING: This method is deprecated. It mutates the underlying model and may cause race conditions if the model is shared (using shared_ptr<>) with other users. [-Wdeprecated-declarations]
1552 | EXPECT_TRUE(sp.SetVocabulary({"aa", "dd", "e"}).ok());
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:280:24: note: declared here
280 | virtual absl::Status SetVocabulary(
| ^~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1563:33: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::ResetVocabulary()’ is deprecated: WARNING: This method is deprecated. It mutates the underlying model and may cause race conditions if the model is shared (using shared_ptr<>) with other users. [-Wdeprecated-declarations]
1563 | EXPECT_TRUE(sp.ResetVocabulary().ok());
| ~~~~~~~~~~~~~~~~~~^~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:288:24: note: declared here
288 | virtual absl::Status ResetVocabulary();
| ^~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1571:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SetVocabulary(const std::vector<std::basic_string_view<char> >&)’ is deprecated: WARNING: This method is deprecated. It mutates the underlying model and may cause race conditions if the model is shared (using shared_ptr<>) with other users. [-Wdeprecated-declarations]
1571 | EXPECT_TRUE(sp.SetVocabulary({"bb"}).ok());
| ~~~~~~~~~~~~~~~~^~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:280:24: note: declared here
280 | virtual absl::Status SetVocabulary(
| ^~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1578:32: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::LoadVocabulary(std::string_view, int)’ is deprecated: WARNING: LoadVocabulary is deprecated and will be removed. [-Wdeprecated-declarations]
1578 | EXPECT_TRUE(sp.LoadVocabulary(GetInlineFilename("aa\t1\ndd\t2\n"), 2).ok());
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:294:24: note: declared here
294 | virtual absl::Status LoadVocabulary(absl::string_view filename,
| ^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1585:32: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::LoadVocabulary(std::string_view, int)’ is deprecated: WARNING: LoadVocabulary is deprecated and will be removed. [-Wdeprecated-declarations]
1585 | EXPECT_TRUE(sp.LoadVocabulary(GetInlineFilename("aa\t1\ndd\t1\n"), 2).ok());
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:294:24: note: declared here
294 | virtual absl::Status LoadVocabulary(absl::string_view filename,
| ^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1592:32: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::LoadVocabulary(std::string_view, int)’ is deprecated: WARNING: LoadVocabulary is deprecated and will be removed. [-Wdeprecated-declarations]
1592 | EXPECT_TRUE(sp.LoadVocabulary(GetInlineFilename("aa\t1\ndd\t1\n"), 1).ok());
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:294:24: note: declared here
294 | virtual absl::Status LoadVocabulary(absl::string_view filename,
| ^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1599:32: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::LoadVocabulary(std::string_view, int)’ is deprecated: WARNING: LoadVocabulary is deprecated and will be removed. [-Wdeprecated-declarations]
1599 | EXPECT_TRUE(sp.LoadVocabulary(GetInlineFilename("aa\t0\ndd\t0\n"), 0).ok());
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:294:24: note: declared here
294 | virtual absl::Status LoadVocabulary(absl::string_view filename,
| ^~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor_test.cc:1607:32: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::LoadVocabulary(std::string_view, int)’ is deprecated: WARNING: LoadVocabulary is deprecated and will be removed. [-Wdeprecated-declarations]
1607 | EXPECT_TRUE(sp.LoadVocabulary(GetInlineFilename("aa\ndd\n"), 1).ok());
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/testharness.h:116:55: note: in definition of macro ‘EXPECT_TRUE’
116 | sentencepiece::test::Tester(__FILE__, __LINE__).Is((c), #c)
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:294:24: note: declared here
294 | virtual absl::Status LoadVocabulary(absl::string_view filename,
| ^~~~~~~~~~~~~~
[ 90%] Building CXX object src/CMakeFiles/spm_test.dir/unicode_script_test.cc.o
[ 91%] Building CXX object src/CMakeFiles/spm_test.dir/unigram_model_test.cc.o
[ 92%] Building CXX object src/CMakeFiles/spm_test.dir/unigram_model_trainer_test.cc.o
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/trainer_interface.h:26,
from /builder/src/sentencepiece/src/trainer_factory.h:21,
from /builder/src/sentencepiece/src/trainer_factory_test.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/trainer_interface.h:26,
from /builder/src/sentencepiece/src/trainer_interface_test.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/util.h:34,
from /builder/src/sentencepiece/src/unicode_script_test.cc:20:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 93%] Building CXX object src/CMakeFiles/spm_test.dir/util_test.cc.o
[ 94%] Building CXX object src/CMakeFiles/spm_test.dir/word_model_test.cc.o
[ 95%] Building CXX object src/CMakeFiles/spm_test.dir/word_model_trainer_test.cc.o
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/model_interface.h:25,
from /builder/src/sentencepiece/src/unigram_model.h:25,
from /builder/src/sentencepiece/src/unigram_model_test.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/trainer_interface.h:26,
from /builder/src/sentencepiece/src/unigram_model_trainer.h:26,
from /builder/src/sentencepiece/src/unigram_model_trainer_test.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/util.h:34,
from /builder/src/sentencepiece/src/util_test.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 96%] Building CXX object src/CMakeFiles/spm_test.dir/pretokenizer_for_training_test.cc.o
In file included from /builder/src/sentencepiece/src/normalizer.h:26,
from /builder/src/sentencepiece/src/model_interface.h:25,
from /builder/src/sentencepiece/src/word_model.h:18,
from /builder/src/sentencepiece/src/word_model_test.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/filesystem.h:25,
from /builder/src/sentencepiece/src/trainer_interface.h:26,
from /builder/src/sentencepiece/src/word_model_trainer.h:20,
from /builder/src/sentencepiece/src/word_model_trainer_test.cc:15:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
In file included from /builder/src/sentencepiece/src/pretokenizer_for_training.h:23,
from /builder/src/sentencepiece/src/pretokenizer_for_training_test.cc:14:
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
/builder/src/sentencepiece/src/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
/builder/src/sentencepiece/src/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builder/src/sentencepiece/src/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
[ 97%] Linking CXX executable spm_test
[100%] Built target spm_test
-- Install configuration: "None"
-- Installing: build/root/lib/pkgconfig/sentencepiece.pc
-- Installing: build/root/lib/libsentencepiece.so.0.0.0
-- Installing: build/root/lib/libsentencepiece.so.0
-- Installing: build/root/lib/libsentencepiece.so
-- Installing: build/root/lib/libsentencepiece_train.so.0.0.0
-- Installing: build/root/lib/libsentencepiece_train.so.0
-- Set non-toolchain portion of runtime path of "build/root/lib/libsentencepiece_train.so.0.0.0" to ""
-- Installing: build/root/lib/libsentencepiece_train.so
-- Installing: build/root/lib/libsentencepiece.a
-- Installing: build/root/lib/libsentencepiece_train.a
-- Installing: build/root/bin/spm_encode
-- Set non-toolchain portion of runtime path of "build/root/bin/spm_encode" to ""
-- Installing: build/root/bin/spm_decode
-- Set non-toolchain portion of runtime path of "build/root/bin/spm_decode" to ""
-- Installing: build/root/bin/spm_normalize
-- Set non-toolchain portion of runtime path of "build/root/bin/spm_normalize" to ""
-- Installing: build/root/bin/spm_train
-- Set non-toolchain portion of runtime path of "build/root/bin/spm_train" to ""
-- Installing: build/root/bin/spm_export_vocab
-- Set non-toolchain portion of runtime path of "build/root/bin/spm_export_vocab" to ""
-- Installing: build/root/include/sentencepiece_trainer.h
-- Installing: build/root/include/sentencepiece_processor.h
-- Installing: build/root/include/sentencepiece.pb.h
* Getting build dependencies for wheel...
running egg_info
creating src/sentencepiece.egg-info
writing src/sentencepiece.egg-info/PKG-INFO
writing dependency_links to src/sentencepiece.egg-info/dependency_links.txt
writing requirements to src/sentencepiece.egg-info/requires.txt
writing top-level names to src/sentencepiece.egg-info/top_level.txt
writing manifest file 'src/sentencepiece.egg-info/SOURCES.txt'
reading manifest file 'src/sentencepiece.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'sentencepiece'
writing manifest file 'src/sentencepiece.egg-info/SOURCES.txt'
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-314/sentencepiece
copying src/sentencepiece/__init__.py -> build/lib.linux-x86_64-cpython-314/sentencepiece
copying src/sentencepiece/_version.py -> build/lib.linux-x86_64-cpython-314/sentencepiece
copying src/sentencepiece/sentencepiece_model_pb2.py -> build/lib.linux-x86_64-cpython-314/sentencepiece
copying src/sentencepiece/sentencepiece_pb2.py -> build/lib.linux-x86_64-cpython-314/sentencepiece
copying src/sentencepiece/sentencepiece_model_pb2.py -> build/lib.linux-x86_64-cpython-314/sentencepiece
copying src/sentencepiece/sentencepiece_pb2.py -> build/lib.linux-x86_64-cpython-314/sentencepiece
copying src/sentencepiece/_version.py -> build/lib.linux-x86_64-cpython-314/sentencepiece
copying src/sentencepiece/__init__.py -> build/lib.linux-x86_64-cpython-314/sentencepiece
running egg_info
writing src/sentencepiece.egg-info/PKG-INFO
writing dependency_links to src/sentencepiece.egg-info/dependency_links.txt
writing requirements to src/sentencepiece.egg-info/requires.txt
writing top-level names to src/sentencepiece.egg-info/top_level.txt
reading manifest file 'src/sentencepiece.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'sentencepiece'
writing manifest file 'src/sentencepiece.egg-info/SOURCES.txt'
copying src/sentencepiece/__init__.pyi -> build/lib.linux-x86_64-cpython-314/sentencepiece
copying src/sentencepiece/py.typed -> build/lib.linux-x86_64-cpython-314/sentencepiece
copying src/sentencepiece/sentencepiece_pybind.cc -> build/lib.linux-x86_64-cpython-314/sentencepiece
running build_ext
## searching abseil ../build/third_party
## absl_libs=
## cflags=-std=c++17 -I../build/root/include -I../src/builtin_pb -Isentencepiece/src/builtin_pb -I../third_party/protobuf-lite -Isentencepiece/third_party/protobuf-lite -Wl,-strip-all -Wno-unused-function
## libs=../build/root/lib/libsentencepiece.so ../build/root/lib/libsentencepiece_train.so -Wl,--start-group -Wl,--end-group -Wl,--gc-sections -Wl,--version-script=exports.txt -Wl,-strip-all -Wl,-Bsymbolic
building 'sentencepiece._sentencepiece' extension
creating build/temp.linux-x86_64-cpython-314/src/sentencepiece
/usr/bin/g++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -fPIC -I/usr/lib/python3.14/site-packages/pybind11/include -I/usr/include/python3.14 -c src/sentencepiece/sentencepiece_pybind.cc -o build/temp.linux-x86_64-cpython-314/src/sentencepiece/sentencepiece_pybind.o -std=c++17 -I../build/root/include -I../src/builtin_pb -Isentencepiece/src/builtin_pb -I../third_party/protobuf-lite -Isentencepiece/third_party/protobuf-lite -Wl,-strip-all -Wno-unused-function
In file included from src/sentencepiece/sentencepiece_pybind.cc:4:
../build/root/include/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsPieces(std::string_view, int, float, bool, bool) const’:
../build/root/include/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
../build/root/include/sentencepiece_processor.h:562:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h: In member function ‘virtual std::vector<std::pair<std::vector<int>, float> > sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsIds(std::string_view, int, float, bool, bool) const’:
../build/root/include/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
../build/root/include/sentencepiece_processor.h:570:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::__cxx11::basic_string<char> >&) const’:
../build/root/include/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
../build/root/include/sentencepiece_processor.h:590:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h:324:24: note: declared here
324 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
../build/root/include/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodePieces(const std::vector<std::basic_string_view<char> >&) const’:
../build/root/include/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
../build/root/include/sentencepiece_processor.h:595:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h:332:24: note: declared here
332 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
../build/root/include/sentencepiece_processor.h: In member function ‘virtual std::string sentencepiece::SentencePieceProcessor::DecodeIds(const std::vector<int>&) const’:
../build/root/include/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, std::string*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
../build/root/include/sentencepiece_processor.h:600:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h:340:24: note: declared here
340 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
../build/root/include/sentencepiece_processor.h: In member function ‘virtual float sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float) const’:
../build/root/include/sentencepiece_processor.h:508:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
508 | const auto status = FuncName(__VA_ARGS__, &output); \
| ^
../build/root/include/sentencepiece_processor.h:605:5: note: in expansion of macro ‘DEFINE_SPP_DIRECT_FUNC_IMPL’
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsSerializedProto(std::string_view, int, float, bool, bool) const’:
../build/root/include/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
../build/root/include/sentencepiece_processor.h:633:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
../build/root/include/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
../build/root/include/sentencepiece_processor.h:647:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
../build/root/include/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodePiecesAsSerializedProto(const std::vector<std::basic_string_view<char> >&) const’:
../build/root/include/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
../build/root/include/sentencepiece_processor.h:653:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
../build/root/include/sentencepiece_processor.h: In member function ‘virtual sentencepiece::util::bytes sentencepiece::SentencePieceProcessor::DecodeIdsAsSerializedProto(const std::vector<int>&) const’:
../build/root/include/sentencepiece_processor.h:513:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
513 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
../build/root/include/sentencepiece_processor.h:659:5: note: in expansion of macro ‘DEFINE_SPP_SERIALIZED_PROTO_IMPL’
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
../build/root/include/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableNBestSentencePieceText sentencepiece::SentencePieceProcessor::SampleEncodeAndScoreAsImmutableProto(std::string_view, int, float, bool, bool) const’:
../build/root/include/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
../build/root/include/sentencepiece_processor.h:693:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
693 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(SampleEncodeAndScore,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::__cxx11::basic_string<char> >&) const’:
../build/root/include/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::__cxx11::basic_string<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
../build/root/include/sentencepiece_processor.h:710:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
710 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h:466:24: note: declared here
466 | virtual absl::Status Decode(const std::vector<std::string>& pieces,
| ^~~~~~
../build/root/include/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodePiecesAsImmutableProto(const std::vector<std::basic_string_view<char> >&) const’:
../build/root/include/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<std::basic_string_view<char> >&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
../build/root/include/sentencepiece_processor.h:718:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
718 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, pieces);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h:474:24: note: declared here
474 | virtual absl::Status Decode(const std::vector<absl::string_view>& pieces,
| ^~~~~~
../build/root/include/sentencepiece_processor.h: In member function ‘virtual sentencepiece::ImmutableSentencePieceText sentencepiece::SentencePieceProcessor::DecodeIdsAsImmutableProto(const std::vector<int>&) const’:
../build/root/include/sentencepiece_processor.h:518:31: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::Decode(const std::vector<int>&, sentencepiece::SentencePieceText*) const’ is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
518 | const auto status = FuncName(__VA_ARGS__, output.mutable_proto()); \
| ^
../build/root/include/sentencepiece_processor.h:723:5: note: in expansion of macro ‘DEFINE_SPP_IMMUTABLE_PROTO_IMPL’
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h:482:24: note: declared here
482 | virtual absl::Status Decode(const std::vector<int>& ids,
| ^~~~~~
src/sentencepiece/sentencepiece_pybind.cc: In lambda function:
src/sentencepiece/sentencepiece_pybind.cc:1401:55: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<int>, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
1401 | auto status = self.SampleEncodeAndScore(
| ~~~~~~~~~~~~~~~~~~~~~~~~~^
1402 | in.value, num_samples, alpha, wor, include_best, &idss);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h:410:24: note: declared here
410 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
src/sentencepiece/sentencepiece_pybind.cc: In lambda function:
src/sentencepiece/sentencepiece_pybind.cc:1420:55: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, std::vector<std::pair<std::vector<std::__cxx11::basic_string<char> >, float> >*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
1420 | auto status = self.SampleEncodeAndScore(
| ~~~~~~~~~~~~~~~~~~~~~~~~~^
1421 | in.value, num_samples, alpha, wor, include_best, &piecess);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h:402:24: note: declared here
402 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
src/sentencepiece/sentencepiece_pybind.cc: In lambda function:
src/sentencepiece/sentencepiece_pybind.cc:1448:45: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::SampleEncodeAndScore(std::string_view, int, float, bool, bool, sentencepiece::NBestSentencePieceText*) const’ is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
1448 | self.SampleEncodeAndScore(in.value, num_samples, alpha, wor,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1449 | include_best, &samples_spt);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h:448:24: note: declared here
448 | virtual absl::Status SampleEncodeAndScore(
| ^~~~~~~~~~~~~~~~~~~~
src/sentencepiece/sentencepiece_pybind.cc: In lambda function:
src/sentencepiece/sentencepiece_pybind.cc:1565:51: warning: ‘virtual absl::lts_20260526::Status sentencepiece::SentencePieceProcessor::CalculateEntropy(std::string_view, float, float*) const’ is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
1565 | auto status = self.CalculateEntropy(in.value, alpha, &entropy);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../build/root/include/sentencepiece_processor.h:421:24: note: declared here
421 | virtual absl::Status CalculateEntropy(absl::string_view input, float alpha,
| ^~~~~~~~~~~~~~~~
src/sentencepiece/sentencepiece_pybind.cc: In lambda function:
src/sentencepiece/sentencepiece_pybind.cc:1578:60: warning: ‘sentencepiece::NormalizerSpec* sentencepiece::SentencePieceProcessor::mutable_normalizer_spec() const’ is deprecated: WARNING: This method is deprecated. It mutates the underlying model and may cause race conditions if the model is shared (using shared_ptr<>) with other users. [-Wdeprecated-declarations]
1578 | key, value, self.mutable_normalizer_spec());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../build/root/include/sentencepiece_processor.h:829:19: note: declared here
829 | NormalizerSpec* mutable_normalizer_spec() const;
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/g++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto build/temp.linux-x86_64-cpython-314/src/sentencepiece/sentencepiece_pybind.o -L/usr/lib -o build/lib.linux-x86_64-cpython-314/sentencepiece/_sentencepiece.cpython-314-x86_64-linux-gnu.so ../build/root/lib/libsentencepiece.so ../build/root/lib/libsentencepiece_train.so -Wl,--start-group -Wl,--end-group -Wl,--gc-sections -Wl,--version-script=exports.txt -Wl,-strip-all -Wl,-Bsymbolic
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/sentencepiece
copying build/lib.linux-x86_64-cpython-314/sentencepiece/sentencepiece_model_pb2.py -> build/bdist.linux-x86_64/wheel/./sentencepiece
copying build/lib.linux-x86_64-cpython-314/sentencepiece/sentencepiece_pb2.py -> build/bdist.linux-x86_64/wheel/./sentencepiece
copying build/lib.linux-x86_64-cpython-314/sentencepiece/_version.py -> build/bdist.linux-x86_64/wheel/./sentencepiece
copying build/lib.linux-x86_64-cpython-314/sentencepiece/__init__.py -> build/bdist.linux-x86_64/wheel/./sentencepiece
copying build/lib.linux-x86_64-cpython-314/sentencepiece/__init__.pyi -> build/bdist.linux-x86_64/wheel/./sentencepiece
copying build/lib.linux-x86_64-cpython-314/sentencepiece/py.typed -> build/bdist.linux-x86_64/wheel/./sentencepiece
copying build/lib.linux-x86_64-cpython-314/sentencepiece/sentencepiece_pybind.cc -> build/bdist.linux-x86_64/wheel/./sentencepiece
copying build/lib.linux-x86_64-cpython-314/sentencepiece/_sentencepiece.cpython-314-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/./sentencepiece
running install_egg_info
Copying src/sentencepiece.egg-info to build/bdist.linux-x86_64/wheel/./sentencepiece-0.2.2-py3.14.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/sentencepiece-0.2.2.dist-info/WHEEL
creating '/builder/src/sentencepiece/python/dist/.tmp-85yx6mcs/sentencepiece-0.2.2-cp314-cp314-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'sentencepiece/__init__.py'
adding 'sentencepiece/__init__.pyi'
adding 'sentencepiece/_sentencepiece.cpython-314-x86_64-linux-gnu.so'
adding 'sentencepiece/_version.py'
adding 'sentencepiece/py.typed'
adding 'sentencepiece/sentencepiece_model_pb2.py'
adding 'sentencepiece/sentencepiece_pb2.py'
adding 'sentencepiece/sentencepiece_pybind.cc'
adding 'sentencepiece-0.2.2.dist-info/METADATA'
adding 'sentencepiece-0.2.2.dist-info/WHEEL'
adding 'sentencepiece-0.2.2.dist-info/top_level.txt'
adding 'sentencepiece-0.2.2.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built sentencepiece-0.2.2-cp314-cp314-linux_x86_64.whl
==> Starting check()...
Test project /builder/src/sentencepiece/build
Start 1: sentencepiece_test
1/1 Test #1: sentencepiece_test ............... Passed 18.46 sec

100% tests passed out of 1

Total Test time (real) = 18.46 sec
============================= test session starts ==============================
platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0
rootdir: /builder/src/sentencepiece/python
configfile: pyproject.toml
collected 66 items

test/gen_stubs_test.py ...... [ 9%]
test/gil_release_test.py . [ 10%]
test/numpy_test.py sssssssssssssssss [ 36%]
test/sentencepiece_test.py .......................................... [100%]

======================= 49 passed, 17 skipped in 14.35s ========================
==> Entering fakeroot environment...
==> Starting package_sentencepiece()...
-- Install configuration: "None"
-- Installing: /builder/pkg/sentencepiece/usr/lib/pkgconfig/sentencepiece.pc
-- Installing: /builder/pkg/sentencepiece/usr/lib/libsentencepiece.so.0.0.0
-- Installing: /builder/pkg/sentencepiece/usr/lib/libsentencepiece.so.0
-- Installing: /builder/pkg/sentencepiece/usr/lib/libsentencepiece.so
-- Installing: /builder/pkg/sentencepiece/usr/lib/libsentencepiece_train.so.0.0.0
-- Installing: /builder/pkg/sentencepiece/usr/lib/libsentencepiece_train.so.0
-- Set non-toolchain portion of runtime path of "/builder/pkg/sentencepiece/usr/lib/libsentencepiece_train.so.0.0.0" to ""
-- Installing: /builder/pkg/sentencepiece/usr/lib/libsentencepiece_train.so
-- Installing: /builder/pkg/sentencepiece/usr/lib/libsentencepiece.a
-- Installing: /builder/pkg/sentencepiece/usr/lib/libsentencepiece_train.a
-- Installing: /builder/pkg/sentencepiece/usr/bin/spm_encode
-- Set non-toolchain portion of runtime path of "/builder/pkg/sentencepiece/usr/bin/spm_encode" to ""
-- Installing: /builder/pkg/sentencepiece/usr/bin/spm_decode
-- Set non-toolchain portion of runtime path of "/builder/pkg/sentencepiece/usr/bin/spm_decode" to ""
-- Installing: /builder/pkg/sentencepiece/usr/bin/spm_normalize
-- Set non-toolchain portion of runtime path of "/builder/pkg/sentencepiece/usr/bin/spm_normalize" to ""
-- Installing: /builder/pkg/sentencepiece/usr/bin/spm_train
-- Set non-toolchain portion of runtime path of "/builder/pkg/sentencepiece/usr/bin/spm_train" to ""
-- Installing: /builder/pkg/sentencepiece/usr/bin/spm_export_vocab
-- Set non-toolchain portion of runtime path of "/builder/pkg/sentencepiece/usr/bin/spm_export_vocab" to ""
-- Installing: /builder/pkg/sentencepiece/usr/include/sentencepiece_trainer.h
-- Installing: /builder/pkg/sentencepiece/usr/include/sentencepiece_processor.h
-- Installing: /builder/pkg/sentencepiece/usr/include/sentencepiece.pb.h
==> Tidying install...
-> Removing libtool files...
-> Removing static library files...
-> Purging unwanted files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "sentencepiece"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Starting package_python-sentencepiece()...
==> Tidying install...
-> Removing libtool files...
-> Removing static library files...
-> Purging unwanted files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
libfakeroot internal error: payload not recognized!
==> Creating package "python-sentencepiece"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: sentencepiece 0.2.2-2 (Fri Jul 24 00:34:39 2026)