The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IcpKit, reference main (e63498), with Swift 6.1 for Wasm on 4 Sep 2026 12:44:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kgaitanis/IcpKit.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/kgaitanis/IcpKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e634988 Fix tests
Cloned https://github.com/kgaitanis/IcpKit.git
Revision (git rev-parse @):
e634988c4332bc9a0021c4cfc278dca5ed05af9c
SUCCESS checkout https://github.com/kgaitanis/IcpKit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kgaitanis/IcpKit.git
https://github.com/kgaitanis/IcpKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/outfoxx/PotentCodables.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift.git
Fetching https://github.com/swift-libp2p/swift-bases.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/attaswift/BigInt.git
[1/460] Fetching swift-bases
[98/5399] Fetching swift-bases, bigint
[4709/24177] Fetching swift-bases, bigint, swift-argument-parser
[24178/35260] Fetching swift-bases, bigint, swift-argument-parser, secp256k1.swift
[34707/149207] Fetching swift-bases, bigint, swift-argument-parser, secp256k1.swift, potentcodables
Fetched https://github.com/swift-libp2p/swift-bases.git from cache (1.70s)
[39358/148747] Fetching bigint, swift-argument-parser, secp256k1.swift, potentcodables
Fetched https://github.com/attaswift/BigInt.git from cache (1.70s)
[35559/143808] Fetching swift-argument-parser, secp256k1.swift, potentcodables
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git from cache (1.71s)
[25615/132725] Fetching swift-argument-parser, potentcodables
Fetched https://github.com/apple/swift-argument-parser from cache (3.99s)
Fetched https://github.com/outfoxx/PotentCodables.git from cache (4.03s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.10.0 (5.18s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.22s)
Computing version for https://github.com/swift-libp2p/swift-bases.git
Computed https://github.com/swift-libp2p/swift-bases.git at 0.3.0 (0.22s)
Computing version for https://github.com/outfoxx/PotentCodables.git
Computed https://github.com/outfoxx/PotentCodables.git at 3.5.3 (0.28s)
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/apple/swift-collections.git
[1/1254] Fetching regex
[127/1564] Fetching regex, float16
[1227/28697] Fetching regex, float16, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (1.12s)
Fetched https://github.com/sharplet/Regex.git from cache (1.12s)
Fetched https://github.com/apple/swift-collections.git from cache (1.13s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (2.08s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.24s)
Fetching https://github.com/apple/swift-numerics
[1/6565] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.54s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.77s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.33s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.23s)
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/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
Creating working copy for https://github.com/swift-libp2p/swift-bases.git
Working copy of https://github.com/swift-libp2p/swift-bases.git resolved at 0.3.0
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.7.0
Creating working copy for https://github.com/GigaBitcoin/secp256k1.swift.git
Working copy of https://github.com/GigaBitcoin/secp256k1.swift.git resolved at 0.10.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/outfoxx/PotentCodables.git
Working copy of https://github.com/outfoxx/PotentCodables.git resolved at 3.5.3
warning: 'spi-builder-workspace': found 13 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC1.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/DABNft.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/NNS_SNS_W.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/ICRC7.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/DIP721.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/EXT.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DIP20.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/Index.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICPIndex.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC1Oracle.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DABTokens.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/OrigynNFT.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC2.did
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/76] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.c:16:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
1 error generated.
[20/76] Compiling fy-utf8.c
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.c:18:10: fatal error: 'termios.h' file not found
   18 | #include <termios.h>
      |          ^~~~~~~~~~~
1 error generated.
[20/76] Compiling fy-utils.c
[20/76] Compiling precomputed_ecmult_gen.c
[20/76] Compiling Utility.c
[20/76] Compiling secp256k1.c
[20/76] Compiling precomputed_ecmult.c
[20/76] Compiling xxhash.c
[20/76] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 13 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICPIndex.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/DIP721.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC1.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/EXT.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/ICRC7.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC1Oracle.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/OrigynNFT.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/DABNft.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DIP20.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC2.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/Index.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DABTokens.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/NNS_SNS_W.did
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.c:16:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
1 error generated.
[2/58] Compiling fy-utf8.c
[2/58] Compiling Utility.c
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.c:18:10: fatal error: 'termios.h' file not found
   18 | #include <termios.h>
      |          ^~~~~~~~~~~
[2/58] Compiling fy-utils.c
[2/58] Compiling xxhash.c
[2/58] Compiling precomputed_ecmult_gen.c
[2/58] Compiling precomputed_ecmult.c
[2/58] Compiling secp256k1.c
[2/58] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm