The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftCOSE, reference main (c5fc78), with Swift 6.2 for Wasm on 30 Nov 2025 03:23:55 UTC.

Build Command

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

Build 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.2
Building package at path:  $PWD
https://github.com/Kingpin-Apps/swift-cose.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/Sajjon/K1.git
Fetching https://github.com/Kingpin-Apps/swift-curve448.git
Fetching https://github.com/tesseract-one/UncommonCrypto.swift.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/krzyzanowskim/OpenSSL-Package.git
[1/143] Fetching swift-curve448
[144/233] Fetching swift-curve448, openssl-package
[234/3936] Fetching swift-curve448, openssl-package, k1
[494/17041] Fetching swift-curve448, openssl-package, k1, cryptoswift
[1460/17184] Fetching swift-curve448, openssl-package, k1, cryptoswift, uncommoncrypto.swift
Fetched https://github.com/krzyzanowskim/OpenSSL-Package.git from cache (0.32s)
[1902/17094] Fetching swift-curve448, k1, cryptoswift, uncommoncrypto.swift
Fetching https://github.com/leif-ibsen/Digest.git
[4826/24119] Fetching swift-curve448, k1, cryptoswift, uncommoncrypto.swift, swift-certificates
[10165/26712] Fetching swift-curve448, k1, cryptoswift, uncommoncrypto.swift, swift-certificates, digest
Fetched https://github.com/Kingpin-Apps/swift-curve448.git from cache (1.06s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.06s)
Fetched https://github.com/tesseract-one/UncommonCrypto.swift.git from cache (1.06s)
Fetching https://github.com/KINGH242/PotentCodables.git
Fetched https://github.com/leif-ibsen/Digest.git from cache (0.90s)
[7280/16808] Fetching k1, cryptoswift
[7281/19154] Fetching k1, cryptoswift, potentcodables
Fetched https://github.com/KINGH242/PotentCodables.git from cache (0.85s)
[14712/16808] Fetching k1, cryptoswift
Fetched https://github.com/Sajjon/K1.git from cache (2.91s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.96s)
Computing version for https://github.com/Kingpin-Apps/swift-curve448.git
Computed https://github.com/Kingpin-Apps/swift-curve448.git at 0.1.3 (3.56s)
Fetching https://github.com/apple/swift-crypto.git
[1/17463] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (4.09s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (7.85s)
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.72s)
Computing version for https://github.com/KINGH242/PotentCodables.git
Computed https://github.com/KINGH242/PotentCodables.git at 3.6.0 (0.79s)
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/attaswift/BigInt.git
[1/310] Fetching float16
[203/5136] Fetching float16, bigint
[553/6390] Fetching float16, bigint, regex
Fetched https://github.com/SusanDoggie/Float16.git from cache (0.40s)
[1660/6080] Fetching bigint, regex
[2337/24394] Fetching bigint, regex, swift-collections
Fetched https://github.com/attaswift/BigInt.git from cache (1.17s)
[8410/19568] Fetching regex, swift-collections
Fetched https://github.com/sharplet/Regex.git from cache (2.56s)
Fetched https://github.com/apple/swift-collections.git from cache (2.57s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (4.36s)
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.12s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.76s)
Fetching https://github.com/apple/swift-numerics
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.67s)
Computing version for https://github.com/Sajjon/K1.git
Computed https://github.com/Sajjon/K1.git at 0.6.0 (1.42s)
Computing version for https://github.com/krzyzanowskim/OpenSSL-Package.git
Computed https://github.com/krzyzanowskim/OpenSSL-Package.git at 3.3.3001 (0.77s)
Computing version for https://github.com/leif-ibsen/Digest.git
Computed https://github.com/leif-ibsen/Digest.git at 1.13.0 (0.68s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (3.80s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (2.87s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (3.60s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.81s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.16.0 (0.75s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
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/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/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/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/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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
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/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.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/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/Sajjon/K1.git
Working copy of https://github.com/Sajjon/K1.git resolved at 0.6.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/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Downloading binary artifact https://github.com/krzyzanowskim/OpenSSL/releases/download/3.3.3001/OpenSSL.xcframework.zip
[1369/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.86s)
Building for debugging...
[0/429] Compiling ecdh_variants.c
[1/429] Compiling lax_der_privatekey_parsing.c
[2/429] Compiling precomputed_ecmult_gen.c
[3/429] Write sources
[14/429] Copying PotentCodables.docc
[15/429] Write sources
[25/429] Copying PrivacyInfo.xcprivacy
[26/429] Write sources
[30/429] Compiling lax_der_parsing.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-emit.c:23:
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>
      |          ^~~~~~~~~~~
1 error generated.
[31/429] Compiling fy-emit.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-event.c:23:
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>
      |          ^~~~~~~~~~~
1 error generated.
[31/429] Compiling fy-event.c
[31/429] Compiling xxhash.c
[31/429] Write swift-version-24593BA9C3E375BF.txt
[31/429] Compiling precomputed_ecmult.c
[31/429] Compiling fy-utils.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-docbuilder.c:22:
/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-docbuilder.c
[31/429] Compiling secp256k1.c
BUILD FAILURE 6.2 wasm