Build Information
Failed to build swift-transformers, reference v0.0.1 (4a606f), with Swift 6.2 for Wasm on 23 Jun 2025 21:21:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ensan-hcl/swift-tokenizers.git
Reference: v0.0.1
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
* tag v0.0.1 -> FETCH_HEAD
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 v0.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/ensan-hcl/swift-tokenizers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/johnmai-dev/Jinja
Fetching https://github.com/apple/swift-argument-parser.git
[1/393] Fetching jinja
[394/15773] Fetching jinja, swift-argument-parser
Fetched https://github.com/johnmai-dev/Jinja from cache (1.09s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.10s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (1.62s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (0.50s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.64s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (2.68s)
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/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.1.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/9] Write sources
[1/9] Copying gpt2_tokenizer_config.json
[1/9] Copying t5_tokenizer_config.json
[1/9] Write sources
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/28] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[11/28] Compiling InternalCollectionsUtilities Debugging.swift
[12/29] Compiling Hub resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension FileManager {
[13/29] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[14/29] Compiling InternalCollectionsUtilities _SortedCollection.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/29] Emitting module Hub
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension FileManager {
[16/29] Compiling Hub Downloader.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension FileManager {
[17/29] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[18/29] Compiling InternalCollectionsUtilities UInt+reversed.swift
[19/29] Emitting module InternalCollectionsUtilities
[20/29] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[21/29] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[22/29] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[23/29] Compiling InternalCollectionsUtilities Integer rank.swift
[24/29] Compiling InternalCollectionsUtilities Descriptions.swift
[25/29] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[26/29] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[27/29] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[29/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[30/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[31/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[32/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[33/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[34/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[35/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[36/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[37/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[38/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[39/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[40/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[41/85] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[42/85] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[43/92] Compiling OrderedCollections OrderedDictionary.swift
[44/92] Compiling OrderedCollections OrderedSet+Codable.swift
[45/92] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[46/92] Compiling OrderedCollections OrderedSet+Descriptions.swift
[47/92] Compiling OrderedCollections OrderedSet+Diffing.swift
[48/92] Compiling OrderedCollections OrderedSet+Equatable.swift
[49/92] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[50/92] Compiling OrderedCollections OrderedSet+Hashable.swift
[51/92] Compiling OrderedCollections OrderedSet+Initializers.swift
[52/92] Compiling OrderedCollections OrderedSet+Insertions.swift
[53/92] Compiling OrderedCollections OrderedSet+Invariants.swift
[54/92] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[55/92] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[56/92] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[57/92] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[58/92] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[59/92] Compiling OrderedCollections OrderedDictionary+Codable.swift
[60/92] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[61/92] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[62/92] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[63/92] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[64/92] Compiling OrderedCollections OrderedDictionary+Elements.swift
[65/92] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[66/92] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[67/92] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[68/92] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[69/92] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[70/92] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[71/92] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[72/92] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[73/92] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[74/92] Compiling OrderedCollections OrderedDictionary+Values.swift
[75/92] Compiling OrderedCollections _HashTable+Bucket.swift
[76/92] Compiling OrderedCollections _HashTable+BucketIterator.swift
[77/92] Compiling OrderedCollections _HashTable+Constants.swift
[78/92] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[79/92] Compiling OrderedCollections _HashTable+Testing.swift
[80/92] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[81/92] Compiling OrderedCollections _HashTable.swift
[82/92] Compiling OrderedCollections _Hashtable+Header.swift
[83/92] Compiling OrderedCollections OrderedSet+Sendable.swift
[84/92] Compiling OrderedCollections OrderedSet+SubSequence.swift
[85/92] Compiling OrderedCollections OrderedSet+Testing.swift
[86/92] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[87/92] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[88/92] Compiling OrderedCollections OrderedSet.swift
[89/92] Compiling OrderedCollections _UnsafeBitset.swift
[90/92] Emitting module OrderedCollections
[92/102] Compiling Jinja Template.swift
/host/spi-builder-workspace/.build/checkouts/Jinja/Sources/Ast.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import OrderedCollections
10 |
[93/103] Compiling Jinja Lexer.swift
/host/spi-builder-workspace/.build/checkouts/Jinja/Sources/Ast.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import OrderedCollections
10 |
[94/103] Compiling Jinja Utilities.swift
/host/spi-builder-workspace/.build/checkouts/Jinja/Sources/Ast.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import OrderedCollections
10 |
[95/103] Compiling Jinja Error.swift
/host/spi-builder-workspace/.build/checkouts/Jinja/Sources/Ast.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import OrderedCollections
10 |
[96/103] Compiling Jinja Parser.swift
/host/spi-builder-workspace/.build/checkouts/Jinja/Sources/Ast.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import OrderedCollections
10 |
[97/103] Compiling Jinja Runtime.swift
/host/spi-builder-workspace/.build/checkouts/Jinja/Sources/Ast.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import OrderedCollections
10 |
[98/103] Compiling Jinja StringExtension.swift
/host/spi-builder-workspace/.build/checkouts/Jinja/Sources/Ast.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import OrderedCollections
10 |
[99/103] Compiling Jinja Ast.swift
/host/spi-builder-workspace/.build/checkouts/Jinja/Sources/Ast.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import OrderedCollections
10 |
[100/103] Compiling Jinja Environment.swift
/host/spi-builder-workspace/.build/checkouts/Jinja/Sources/Ast.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import OrderedCollections
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[101/103] Emitting module Jinja
/host/spi-builder-workspace/.build/checkouts/Jinja/Sources/Ast.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import OrderedCollections
10 |
[102/103] Compiling Hub Hub.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension FileManager {
BUILD FAILURE 6.2 wasm