Build Information
Successful build of swift-sentencepiece, reference main (4c8baf), with Swift 6.1 for macOS (SPM) on 30 Jul 2026 00:17:24 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liuliu/swift-sentencepiece.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/liuliu/swift-sentencepiece
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4c8baf1 Update to 0.2.2
Cloned https://github.com/liuliu/swift-sentencepiece.git
Revision (git rev-parse @):
4c8baf1b03569428ab38dda7fdecf27886a16c1f
SUCCESS checkout https://github.com/liuliu/swift-sentencepiece.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/liuliu/swift-sentencepiece.git
https://github.com/liuliu/swift-sentencepiece.git
{
"cxx_language_standard" : "c++17",
"dependencies" : [
{
"identity" : "swift-package-support-sentencepiece",
"requirement" : {
"revision" : [
"48f1241971c19dc79c314e5a9c5b9c38cbf25a53"
]
},
"type" : "sourceControl",
"url" : "https://github.com/liuliu/swift-package-support-sentencepiece"
}
],
"manifest_display_name" : "swift-sentencepiece",
"name" : "swift-sentencepiece",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SentencePiece",
"targets" : [
"SentencePiece"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SentencePiece",
"module_type" : "SwiftTarget",
"name" : "SentencePiece",
"path" : "Sources",
"product_memberships" : [
"SentencePiece"
],
"sources" : [
"SentencePiece.swift"
],
"target_dependencies" : [
"C_sentencepiece"
],
"type" : "library"
},
{
"c99name" : "C_sentencepiece",
"module_type" : "ClangTarget",
"name" : "C_sentencepiece",
"path" : "Sources/C_sentencepiece",
"product_dependencies" : [
"swift-package-support-sentencepiece"
],
"product_memberships" : [
"SentencePiece"
],
"sources" : [
"sentencepiece.cc"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version-2F0A5646E1D333AE.txt
In file included from /Users/admin/builder/spi-builder-workspace/Sources/C_sentencepiece/sentencepiece.cc:2:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:562:33: warning: 'SampleEncodeAndScore' is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
562 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:400:5: note: 'SampleEncodeAndScore' has been explicitly marked deprecated here
400 | [[deprecated(
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:570:33: warning: 'SampleEncodeAndScore' is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
570 | DEFINE_SPP_DIRECT_FUNC_IMPL(SampleEncodeAndScore, _T, input, num_samples,
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:408:5: note: 'SampleEncodeAndScore' has been explicitly marked deprecated here
408 | [[deprecated(
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:590:33: warning: 'Decode' is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
590 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:321:5: note: 'Decode' has been explicitly marked deprecated here
321 | [[deprecated(
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:595:33: warning: 'Decode' is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
595 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, pieces);
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:329:5: note: 'Decode' has been explicitly marked deprecated here
329 | [[deprecated(
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:600:33: warning: 'Decode' is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
600 | DEFINE_SPP_DIRECT_FUNC_IMPL(Decode, std::string, ids);
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:337:5: note: 'Decode' has been explicitly marked deprecated here
337 | [[deprecated(
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:605:33: warning: 'CalculateEntropy' is deprecated: WARNING: CalculateEntropy is deprecated and will be removed. [-Wdeprecated-declarations]
605 | DEFINE_SPP_DIRECT_FUNC_IMPL(CalculateEntropy, float, text, alpha);
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:420:5: note: 'CalculateEntropy' has been explicitly marked deprecated here
420 | [[deprecated("WARNING: CalculateEntropy is deprecated and will be removed.")]]
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:633:38: warning: 'SampleEncodeAndScore' is deprecated: WARNING: SampleEncodeAndScore is deprecated and will be removed. [-Wdeprecated-declarations]
633 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(SampleEncodeAndScore,
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:446:5: note: 'SampleEncodeAndScore' has been explicitly marked deprecated here
446 | [[deprecated(
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:647:38: warning: 'Decode' is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
647 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:463:5: note: 'Decode' has been explicitly marked deprecated here
463 | [[deprecated(
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:653:38: warning: 'Decode' is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
653 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText,
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:471:5: note: 'Decode' has been explicitly marked deprecated here
471 | [[deprecated(
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:659:38: warning: 'Decode' is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
659 | DEFINE_SPP_SERIALIZED_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:479:5: note: 'Decode' has been explicitly marked deprecated here
479 | [[deprecated(
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:723:37: warning: 'Decode' is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
723 | DEFINE_SPP_IMMUTABLE_PROTO_IMPL(Decode, ImmutableSentencePieceText, ids);
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:479:5: note: 'Decode' has been explicitly marked deprecated here
479 | [[deprecated(
| ^
/Users/admin/builder/spi-builder-workspace/Sources/C_sentencepiece/sentencepiece.cc:9:2: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
9 | sp->Load(model);
| ^~~~~~~~ ~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/C_sentencepiece/sentencepiece.cc:16:2: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
16 | sp->LoadFromSerializedProto(absl::string_view(bytes, size));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/C_sentencepiece/sentencepiece.cc:24:2: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
24 | sp->Encode(line, &spt);
| ^~~~~~~~~~ ~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/C_sentencepiece/sentencepiece.cc:56:6: warning: 'Decode' is deprecated: WARNING: Decode with std::vector<> input is deprecated and will be removed. [-Wdeprecated-declarations]
56 | sp->Decode(vec, &text);
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/src/sentencepiece_processor.h:337:5: note: 'Decode' has been explicitly marked deprecated here
337 | [[deprecated(
| ^
/Users/admin/builder/spi-builder-workspace/Sources/C_sentencepiece/sentencepiece.cc:56:2: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
56 | sp->Decode(vec, &text);
| ^~~~~~~~~~ ~~~~~~~~~~
16 warnings generated.
[2/3] Compiling C_sentencepiece sentencepiece.cc
[4/5] Compiling SentencePiece SentencePiece.swift
[5/5] Emitting module SentencePiece
Build complete! (22.76s)
Fetching https://github.com/liuliu/swift-package-support-sentencepiece
[1/7649] Fetching swift-package-support-sentencepiece
Fetched https://github.com/liuliu/swift-package-support-sentencepiece from cache (3.86s)
Creating working copy for https://github.com/liuliu/swift-package-support-sentencepiece
Working copy of https://github.com/liuliu/swift-package-support-sentencepiece resolved at 48f1241971c19dc79c314e5a9c5b9c38cbf25a53
Build complete.
{
"cxx_language_standard" : "c++17",
"dependencies" : [
{
"identity" : "swift-package-support-sentencepiece",
"requirement" : {
"revision" : [
"48f1241971c19dc79c314e5a9c5b9c38cbf25a53"
]
},
"type" : "sourceControl",
"url" : "https://github.com/liuliu/swift-package-support-sentencepiece"
}
],
"manifest_display_name" : "swift-sentencepiece",
"name" : "swift-sentencepiece",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SentencePiece",
"targets" : [
"SentencePiece"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SentencePiece",
"module_type" : "SwiftTarget",
"name" : "SentencePiece",
"path" : "Sources",
"product_memberships" : [
"SentencePiece"
],
"sources" : [
"SentencePiece.swift"
],
"target_dependencies" : [
"C_sentencepiece"
],
"type" : "library"
},
{
"c99name" : "C_sentencepiece",
"module_type" : "ClangTarget",
"name" : "C_sentencepiece",
"path" : "Sources/C_sentencepiece",
"product_dependencies" : [
"swift-package-support-sentencepiece"
],
"product_memberships" : [
"SentencePiece"
],
"sources" : [
"sentencepiece.cc"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.