The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-sentencepiece, reference main (4c8baf), with Swift 6.3 for Linux on 10 Aug 2026 19:56:22 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 729ceb5fcd9493dc13ee340bc4f0908bd201f85d
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liuliu/swift-sentencepiece.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/liuliu/swift-sentencepiece.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:b82c9ac2aaad9c671b7a7653c8e6eeaf006cac60f6a8910901b9357c067e0892
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.3-latest
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 (1.70s)
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
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/C_sentencepiece/sentencepiece.cc:2:
/host/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,
      |                                 ^
/host/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(
      |     ^
/host/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,
      |                                 ^
/host/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(
      |     ^
/host/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);
      |                                 ^
/host/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(
      |     ^
/host/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);
      |                                 ^
/host/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(
      |     ^
/host/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);
      |                                 ^
/host/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(
      |     ^
/host/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);
      |                                 ^
/host/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.")]]
      |     ^
/host/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,
      |                                      ^
/host/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(
      |     ^
/host/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,
      |                                      ^
/host/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(
      |     ^
/host/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,
      |                                      ^
/host/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(
      |     ^
/host/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);
      |                                      ^
/host/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(
      |     ^
/host/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);
      |                                     ^
/host/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(
      |     ^
/host/spi-builder-workspace/Sources/C_sentencepiece/sentencepiece.cc:9:2: warning: ignoring return value of type 'Status' declared with 'nodiscard' attribute [-Wunused-value]
    9 |         sp->Load(model);
      |         ^~~~~~~~ ~~~~~
/host/spi-builder-workspace/Sources/C_sentencepiece/sentencepiece.cc:16:2: warning: ignoring return value of type 'Status' declared with 'nodiscard' attribute [-Wunused-value]
   16 |         sp->LoadFromSerializedProto(absl::string_view(bytes, size));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/C_sentencepiece/sentencepiece.cc:24:2: warning: ignoring return value of type 'Status' declared with 'nodiscard' attribute [-Wunused-value]
   24 |         sp->Encode(line, &spt);
      |         ^~~~~~~~~~ ~~~~~~~~~~
/host/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);
      |             ^
/host/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(
      |     ^
/host/spi-builder-workspace/Sources/C_sentencepiece/sentencepiece.cc:56:2: warning: ignoring return value of type 'Status' declared with 'nodiscard' attribute [-Wunused-value]
   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! (7.44s)
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" : "/host/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"
}
basic-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:b82c9ac2aaad9c671b7a7653c8e6eeaf006cac60f6a8910901b9357c067e0892
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.3-latest
Done.