Build Information
Failed to build SwiftCOSE, reference main (c5fc78), with Swift 6.1 for Wasm on 30 Nov 2025 03:25:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kingpin-Apps/swift-cose.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/Kingpin-Apps/swift-cose
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c5fc787 bump: version 0.1.14 → 0.1.15
Cloned https://github.com/Kingpin-Apps/swift-cose.git
Revision (git rev-parse @):
c5fc787fddb8cffdcc37bf60c39a05676a990628
SUCCESS checkout https://github.com/Kingpin-Apps/swift-cose.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Kingpin-Apps/swift-cose.git
https://github.com/Kingpin-Apps/swift-cose.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "potentcodables",
"requirement" : {
"range" : [
{
"lower_bound" : "3.6.0",
"upper_bound" : "3.7.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/KINGH242/PotentCodables.git"
},
{
"identity" : "digest",
"requirement" : {
"range" : [
{
"lower_bound" : "1.11.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/leif-ibsen/Digest.git"
},
{
"identity" : "uncommoncrypto.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.1",
"upper_bound" : "0.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tesseract-one/UncommonCrypto.swift.git"
},
{
"identity" : "swift-certificates",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-certificates.git"
},
{
"identity" : "openssl-package",
"requirement" : {
"range" : [
{
"lower_bound" : "3.3.2000",
"upper_bound" : "3.4.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/OpenSSL-Package.git"
},
{
"identity" : "k1",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.9",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Sajjon/K1.git"
},
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.9.0",
"upper_bound" : "1.10.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
},
{
"identity" : "swift-curve448",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kingpin-Apps/swift-curve448.git"
}
],
"manifest_display_name" : "SwiftCOSE",
"name" : "SwiftCOSE",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SwiftCOSE",
"targets" : [
"SwiftCOSE"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftCOSETests",
"module_type" : "SwiftTarget",
"name" : "SwiftCOSETests",
"path" : "Tests/SwiftCOSETests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/SwiftCOSETests/data",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AlgorithmsTests/AesCcmTests.swift",
"AlgorithmsTests/AesGcmTests.swift",
"AlgorithmsTests/AesKwTests.swift",
"AlgorithmsTests/AesMacTests.swift",
"AlgorithmsTests/AlgorithmTests.swift",
"AlgorithmsTests/EcdhHkdfTests.swift",
"AlgorithmsTests/EcdsaTests.swift",
"AlgorithmsTests/EddsaTests.swift",
"AlgorithmsTests/HashTests.swift",
"AlgorithmsTests/HmacTests.swift",
"AlgorithmsTests/RsaTests.swift",
"ErrorsTests.swift",
"ExtensionsTests/x509Tests.swift",
"HeadersTests.swift",
"KeysTests/CoseKeyTests.swift",
"KeysTests/CurvesTests.swift",
"KeysTests/EC2KeyTests.swift",
"KeysTests/KeyOpsTests.swift",
"KeysTests/KeyParamTests.swift",
"KeysTests/KeyTypeTests.swift",
"KeysTests/OKPKeyTests.swift",
"KeysTests/RSAKeyTests.swift",
"KeysTests/SymmetricKeyTests.swift",
"MessagesTests/ContextTests.swift",
"MessagesTests/CoseBaseTests.swift",
"MessagesTests/CoseMessageTests.swift",
"MessagesTests/Enc0MessageTests.swift",
"MessagesTests/EncCommonTests.swift",
"MessagesTests/EncMessageTests.swift",
"MessagesTests/Mac0MessageTests.swift",
"MessagesTests/MacCommonTests.swift",
"MessagesTests/MacMessageTests.swift",
"MessagesTests/RecipientTests/CoseRecipientTests.swift",
"MessagesTests/RecipientTests/DirectEncryptionTests.swift",
"MessagesTests/RecipientTests/DirectKeyAgreementTests.swift",
"MessagesTests/RecipientTests/KeyAgreementWithKeyWrapTests.swift",
"MessagesTests/RecipientTests/KeyWrapTests.swift",
"MessagesTests/Sign1MessageTests.swift",
"MessagesTests/SignCommonTests.swift",
"MessagesTests/SignMessageTests.swift",
"MessagesTests/SignerTests.swift",
"UtilsTests/CryptoTests.swift",
"UtilsTests/ExtensionsTests.swift",
"UtilsTests/UtilsTests.swift"
],
"target_dependencies" : [
"SwiftCOSE"
],
"type" : "test"
},
{
"c99name" : "SwiftCOSE",
"module_type" : "SwiftTarget",
"name" : "SwiftCOSE",
"path" : "Sources/SwiftCOSE",
"product_dependencies" : [
"PotentCodables",
"Digest",
"UncommonCrypto",
"X509",
"OpenSSL",
"K1",
"SwiftCurve448",
"CryptoSwift"
],
"product_memberships" : [
"SwiftCOSE"
],
"sources" : [
"Algorithms/AesCcmAlgorithm.swift",
"Algorithms/AesGcmAlgorithm.swift",
"Algorithms/AesKwAlgorithm.swift",
"Algorithms/AesMacAlgorithm.swift",
"Algorithms/Algorithms.swift",
"Algorithms/EcdhHkdfAlgorithm.swift",
"Algorithms/EcdsaAlgorithm.swift",
"Algorithms/EddsaAlgorithm.swift",
"Algorithms/HashAlgorithm.swift",
"Algorithms/HmacAlgorithm.swift",
"Algorithms/RsaAlgorithm.swift",
"Errors.swift",
"Extensions/x509.swift",
"Headers.swift",
"Keys/CoseKey.swift",
"Keys/Curves.swift",
"Keys/EC2Key.swift",
"Keys/KeyOps.swift",
"Keys/KeyParam.swift",
"Keys/KeyType.swift",
"Keys/OKPKey.swift",
"Keys/RSAKey.swift",
"Keys/SymmetricKey.swift",
"Messages/Context.swift",
"Messages/CoseBase.swift",
"Messages/CoseMessage.swift",
"Messages/Enc0Message.swift",
"Messages/EncCommon.swift",
"Messages/EncMessage.swift",
"Messages/Mac0Message.swift",
"Messages/MacCommon.swift",
"Messages/MacMessage.swift",
"Messages/Recipients/CoseRecipient.swift",
"Messages/Recipients/DirectEncryption.swift",
"Messages/Recipients/DirectKeyAgreement.swift",
"Messages/Recipients/KeyAgreementWithKeyWrap.swift",
"Messages/Recipients/KeyWrap.swift",
"Messages/Sign1Message.swift",
"Messages/SignCommon.swift",
"Messages/SignMessage.swift",
"Messages/Signer.swift",
"Utils/Crypto.swift",
"Utils/Extensions.swift",
"Utils/Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/krzyzanowskim/OpenSSL-Package.git
Fetching https://github.com/Sajjon/K1.git
Fetching https://github.com/Kingpin-Apps/swift-curve448.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/tesseract-one/UncommonCrypto.swift.git
[1/13105] Fetching cryptoswift
[2/13248] Fetching cryptoswift, swift-curve448
[276/13391] Fetching cryptoswift, swift-curve448, uncommoncrypto.swift
[389/20416] Fetching cryptoswift, swift-curve448, uncommoncrypto.swift, swift-certificates
[490/20506] Fetching cryptoswift, swift-curve448, uncommoncrypto.swift, swift-certificates, openssl-package
[1263/24209] Fetching cryptoswift, swift-curve448, uncommoncrypto.swift, swift-certificates, openssl-package, k1
Fetched https://github.com/tesseract-one/UncommonCrypto.swift.git from cache (0.63s)
[5274/24066] Fetching cryptoswift, swift-curve448, swift-certificates, openssl-package, k1
Fetching https://github.com/leif-ibsen/Digest.git
[12020/26659] Fetching cryptoswift, swift-curve448, swift-certificates, openssl-package, k1, digest
Fetched https://github.com/apple/swift-certificates.git from cache (1.20s)
[5032/19634] Fetching cryptoswift, swift-curve448, openssl-package, k1, digest
Fetching https://github.com/KINGH242/PotentCodables.git
Fetched https://github.com/krzyzanowskim/OpenSSL-Package.git from cache (1.49s)
[8223/19544] Fetching cryptoswift, swift-curve448, k1, digest
Fetched https://github.com/Sajjon/K1.git from cache (1.50s)
[4573/15841] Fetching cryptoswift, swift-curve448, digest
[5227/18187] Fetching cryptoswift, swift-curve448, digest, potentcodables
Fetched https://github.com/leif-ibsen/Digest.git from cache (1.21s)
[3894/15594] Fetching cryptoswift, swift-curve448, potentcodables
Fetched https://github.com/KINGH242/PotentCodables.git from cache (1.15s)
[3722/13248] Fetching cryptoswift, swift-curve448
Fetched https://github.com/Kingpin-Apps/swift-curve448.git from cache (3.84s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (3.89s)
Computing version for https://github.com/Kingpin-Apps/swift-curve448.git
Computed https://github.com/Kingpin-Apps/swift-curve448.git at 0.1.3 (4.82s)
Fetching https://github.com/apple/swift-crypto.git
[1/17463] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.18s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (7.31s)
Computing version for https://github.com/tesseract-one/UncommonCrypto.swift.git
Computed https://github.com/tesseract-one/UncommonCrypto.swift.git at 0.2.1 (0.98s)
Computing version for https://github.com/KINGH242/PotentCodables.git
Computed https://github.com/KINGH242/PotentCodables.git at 3.6.0 (1.15s)
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/sharplet/Regex.git
[1/4826] Fetching bigint
[629/5136] Fetching bigint, float16
[1035/6390] Fetching bigint, float16, regex
[3154/24704] Fetching bigint, float16, regex, swift-collections
Fetched https://github.com/attaswift/BigInt.git from cache (1.87s)
Fetched https://github.com/sharplet/Regex.git from cache (1.87s)
[11116/18624] Fetching float16, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (2.84s)
Fetched https://github.com/apple/swift-collections.git from cache (2.90s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (6.13s)
Fetching https://github.com/apple/swift-asn1.git
[1/1663] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.46s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (4.41s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (1.04s)
Fetching https://github.com/apple/swift-numerics
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.65s)
Computing version for https://github.com/Sajjon/K1.git
Computed https://github.com/Sajjon/K1.git at 0.6.0 (1.83s)
Computing version for https://github.com/krzyzanowskim/OpenSSL-Package.git
Computed https://github.com/krzyzanowskim/OpenSSL-Package.git at 3.3.3001 (1.14s)
Computing version for https://github.com/leif-ibsen/Digest.git
Computed https://github.com/leif-ibsen/Digest.git at 1.13.0 (0.93s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (8.25s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.63s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (1.31s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.09s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.16.0 (0.70s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.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.3.0
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/Sajjon/K1.git
Working copy of https://github.com/Sajjon/K1.git resolved at 0.6.0
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/tesseract-one/UncommonCrypto.swift.git
Working copy of https://github.com/tesseract-one/UncommonCrypto.swift.git resolved at 0.2.1
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/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/Kingpin-Apps/swift-curve448.git
Working copy of https://github.com/Kingpin-Apps/swift-curve448.git resolved at 0.1.3
Creating working copy for https://github.com/KINGH242/PotentCodables.git
Working copy of https://github.com/KINGH242/PotentCodables.git resolved at 3.6.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.16.0
Creating working copy for https://github.com/leif-ibsen/Digest.git
Working copy of https://github.com/leif-ibsen/Digest.git resolved at 1.13.0
Creating working copy for https://github.com/krzyzanowskim/OpenSSL-Package.git
Working copy of https://github.com/krzyzanowskim/OpenSSL-Package.git resolved at 3.3.3001
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Downloading binary artifact https://github.com/krzyzanowskim/OpenSSL/releases/download/3.3.3001/OpenSSL.xcframework.zip
[1397/38024420] Downloading https://github.com/krzyzanowskim/OpenSSL/releases/download/3.3.3001/OpenSSL.xcframework.zip
Downloaded https://github.com/krzyzanowskim/OpenSSL/releases/download/3.3.3001/OpenSSL.xcframework.zip (3.92s)
Building for debugging...
[0/429] Write sources
[1/429] Compiling ecdh_variants.c
[1/429] Write sources
[12/429] Copying PotentCodables.docc
[13/429] Write sources
[23/429] Copying PrivacyInfo.xcprivacy
[24/429] Write sources
[28/429] Compiling lax_der_privatekey_parsing.c
[29/429] Compiling lax_der_parsing.c
[30/429] Compiling precomputed_ecmult_gen.c
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.
[31/429] Compiling fy-utf8.c
[31/429] Compiling fy-ctype.c
[31/429] Compiling xxhash.c
[31/429] Compiling precomputed_ecmult.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.
[31/429] Compiling fy-utils.c
[31/429] Compiling secp256k1.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-walk.c:24:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
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>
| ^~~~~~~~~~~
[31/429] Compiling fy-walk.c
[31/429] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/398] Compiling fiat_curve25519_adx_square.S
[1/398] Compiling fiat_p256_adx_mul.S
[2/398] Compiling fiat_p256_adx_sqr.S
[3/398] Compiling md5-x86_64-linux.S
[4/398] Compiling fiat_curve25519_adx_mul.S
[4/398] Compiling md5-586-linux.S
[6/398] Compiling md5-x86_64-apple.S
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.
[7/398] 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.
[7/398] Compiling fy-utils.c
[7/398] Compiling secp256k1.c
[7/398] Compiling xxhash.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.c:16:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
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>
| ^~~~~~~~~~~
[7/398] Compiling fy-ctype.c
[7/398] Compiling precomputed_ecmult.c
[7/398] Compiling CCryptoBoringSSLShims shims.c
[7/398] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm