The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-transformers, reference main (4a606f), with Swift 6.4 for Wasm on 22 Sep 2026 05:45:58 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ensan-hcl/swift-tokenizers.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/ensan-hcl/swift-tokenizers
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4a606f6 Merge pull request #1 from ensan-hcl/feat/minimum
Cloned https://github.com/ensan-hcl/swift-tokenizers.git
Revision (git rev-parse @):
4a606f66e0cc4d7d9f0197649e812f7fc86a4c34
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ensan-hcl/swift-tokenizers.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/ensan-hcl/swift-tokenizers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/johnmai-dev/Jinja
[1/1360] Fetching jinja
[1361/20278] Fetching jinja, swift-argument-parser
Fetched https://github.com/johnmai-dev/Jinja (0.78s)
Fetched https://github.com/apple/swift-argument-parser.git (0.79s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (0.96s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (0.15s)
Fetching https://github.com/apple/swift-collections.git
[1/27654] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.21s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (1.54s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.1.2
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 242]
[Planning deferred tasks]
[42 / 100]
[75 / 116] InternalCollectionsUtilities
[75 / 116] Hub
[86 / 116] OrderedCollections
[90 / 116] InternalCollectionsUtilities
[91 / 117]
[92 / 126] InternalCollectionsUtilities
[95 / 126] OrderedCollections
[96 / 127] OrderedCollections
[97 / 127] OrderedCollections
[97 / 127] Hub
[100 / 127] OrderedCollections
[101 / 127] InternalCollectionsUtilities
[106 / 128] OrderedCollections
[112 / 130] Jinja
[119 / 138] Jinja
[120 / 138] Jinja
[121 / 138] Jinja
[124 / 139] Jinja
[136 / 149] Tokenizers
[139 / 149] Tokenizers
[140 / 149] Tokenizers
[144 / 149] Tokenizers
[145 / 150] Tokenizers
[146 / 150] Jinja
Build complete! (10.36 secs)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "1.5.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "jinja",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "1.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnmai-dev/Jinja"
    }
  ],
  "manifest_display_name" : "swift-transformers",
  "name" : "swift-transformers",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Transformers",
      "targets" : [
        "Tokenizers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TokenizersTests",
      "module_type" : "SwiftTarget",
      "name" : "TokenizersTests",
      "path" : "Tests/TokenizersTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/basic_tokenized_questions.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/bert_uncased_encoded.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/dev-v1.1.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/distilbert_cased_encoded.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/falcon_encoded.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/gemma_encoded.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/gpt2_encoded_tokens.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/llama_3.2_encoded.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/llama_encoded.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/question_tokens.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/t5_base_encoded.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/tokenized_questions.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/tokenizer_tests.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/whisper_large_v2_encoded.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/whisper_tiny_en_encoded.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Vocabs/bert-vocab.txt",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AddedTokensTests.swift",
        "BertTokenizerTests.swift",
        "ChatTemplateTests.swift",
        "DecoderTests.swift",
        "FactoryTests.swift",
        "SplitTests.swift",
        "SquadDataset.swift",
        "TokenizerTests.swift",
        "TrieTests.swift"
      ],
      "target_dependencies" : [
        "Tokenizers",
        "Hub"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Tokenizers",
      "module_type" : "SwiftTarget",
      "name" : "Tokenizers",
      "path" : "Sources/Tokenizers",
      "product_dependencies" : [
        "Jinja"
      ],
      "product_memberships" : [
        "Transformers"
      ],
      "sources" : [
        "BPETokenizer.swift",
        "BertTokenizer.swift",
        "ByteEncoder.swift",
        "Decoder.swift",
        "Normalizer.swift",
        "PostProcessor.swift",
        "PreTokenizer.swift",
        "TokenLattice.swift",
        "Tokenizer.swift",
        "Trie.swift",
        "UnigramTokenizer.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "Hub"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PreTokenizerTests",
      "module_type" : "SwiftTarget",
      "name" : "PreTokenizerTests",
      "path" : "Tests/PreTokenizerTests",
      "sources" : [
        "PreTokenizerTests.swift"
      ],
      "target_dependencies" : [
        "Tokenizers",
        "Hub"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HubTests",
      "module_type" : "SwiftTarget",
      "name" : "HubTests",
      "path" : "Tests/HubTests",
      "sources" : [
        "HubApiTests.swift",
        "HubTests.swift"
      ],
      "target_dependencies" : [
        "Hub"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Hub",
      "module_type" : "SwiftTarget",
      "name" : "Hub",
      "path" : "Sources/Hub",
      "product_memberships" : [
        "Transformers"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Hub/FallbackConfigs/gpt2_tokenizer_config.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Hub/FallbackConfigs/t5_tokenizer_config.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Downloader.swift",
        "Hub.swift",
        "HubApi.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Done.