Build Information
Failed to build SwiftCardanoCore, reference main (becbd3), with Swift 6.2 for Wasm on 11 Nov 2025 22:30:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kingpin-Apps/swift-cardano-core.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-cardano-core
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at becbd32 bump: version 0.2.22 → 0.2.23
Cloned https://github.com/Kingpin-Apps/swift-cardano-core.git
Revision (git rev-parse @):
becbd32df2d1edf7a3d5f2533ce5ebc23ec8fe58
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Kingpin-Apps/swift-cardano-core.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Kingpin-Apps/swift-cardano-core.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
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/apple/swift-log.git
Fetching https://github.com/Kingpin-Apps/swift-mnemonic.git
Fetching https://github.com/Frizlab/swift-fraction-number.git
Fetching https://github.com/attaswift/BigInt.git
[1/184] Fetching swift-mnemonic
[185/5010] Fetching swift-mnemonic, bigint
[861/5030] Fetching swift-mnemonic, bigint, swift-fraction-number
[929/9428] Fetching swift-mnemonic, bigint, swift-fraction-number, swift-log
Fetched https://github.com/Kingpin-Apps/swift-mnemonic.git from cache (0.54s)
[1698/9244] Fetching bigint, swift-fraction-number, swift-log
Fetched https://github.com/Frizlab/swift-fraction-number.git from cache (0.54s)
[1766/9224] Fetching bigint, swift-log
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/KINGH242/PotentCodables.git
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/apple/swift-log.git from cache (1.18s)
Fetching https://github.com/Kingpin-Apps/swift-ncal.git
[1/2346] Fetching potentcodables
[72/15451] Fetching potentcodables, cryptoswift
Fetched https://github.com/attaswift/BigInt.git from cache (1.48s)
[4182/15925] Fetching potentcodables, cryptoswift, swift-ncal
[4419/33364] Fetching potentcodables, cryptoswift, swift-ncal, swift-crypto
Fetched https://github.com/KINGH242/PotentCodables.git from cache (1.41s)
[2770/31018] Fetching cryptoswift, swift-ncal, swift-crypto
Fetched https://github.com/Kingpin-Apps/swift-ncal.git from cache (1.49s)
[5283/30544] Fetching cryptoswift, swift-crypto
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (4.15s)
[17439/17439] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (4.63s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (11.38s)
Fetching https://github.com/apple/swift-asn1.git
[1/1653] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.50s)
Computing version for https://github.com/Frizlab/swift-fraction-number.git
Computed https://github.com/Frizlab/swift-fraction-number.git at 0.1.0 (1.67s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.82s)
Computing version for https://github.com/Kingpin-Apps/swift-mnemonic.git
Computed https://github.com/Kingpin-Apps/swift-mnemonic.git at 0.2.1 (0.81s)
Fetching https://github.com/KINGH242/swift-base58.git
Fetching https://github.com/tesseract-one/UncommonCrypto.swift.git
[1/54] Fetching swift-base58
[55/197] Fetching swift-base58, uncommoncrypto.swift
Fetched https://github.com/KINGH242/swift-base58.git from cache (0.35s)
Fetched https://github.com/tesseract-one/UncommonCrypto.swift.git from cache (0.37s)
Computing version for https://github.com/Kingpin-Apps/swift-ncal.git
Computed https://github.com/Kingpin-Apps/swift-ncal.git at 0.2.1 (4.21s)
Fetching https://github.com/norio-nomura/Base32.git
[1/1168] Fetching base32
Fetched https://github.com/norio-nomura/Base32.git from cache (0.44s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (1.27s)
Computing version for https://github.com/KINGH242/PotentCodables.git
Computed https://github.com/KINGH242/PotentCodables.git at 3.6.0 (0.94s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/SusanDoggie/Float16.git
[1/1254] Fetching regex
[215/1564] Fetching regex, float16
Fetched https://github.com/SusanDoggie/Float16.git from cache (0.46s)
[817/19568] Fetching regex, swift-collections
Fetched https://github.com/sharplet/Regex.git from cache (1.62s)
[11721/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.53s)
Computing version for https://github.com/KINGH242/swift-base58.git
Computed https://github.com/KINGH242/swift-base58.git at 0.1.2 (3.80s)
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.86s)
Computing version for https://github.com/norio-nomura/Base32.git
Computed https://github.com/norio-nomura/Base32.git at 0.9.0 (3.75s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (0.71s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.86s)
Fetching https://github.com/apple/swift-numerics
[1/6380] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.88s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.69s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (0.82s)
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.3.0 (0.98s)
Creating working copy for https://github.com/norio-nomura/Base32.git
Working copy of https://github.com/norio-nomura/Base32.git resolved at 0.9.0
Creating working copy for https://github.com/Kingpin-Apps/swift-ncal.git
Working copy of https://github.com/Kingpin-Apps/swift-ncal.git resolved at 0.2.1
Creating working copy for https://github.com/Frizlab/swift-fraction-number.git
Working copy of https://github.com/Frizlab/swift-fraction-number.git resolved at 0.1.0
Creating working copy for https://github.com/KINGH242/swift-base58.git
Working copy of https://github.com/KINGH242/swift-base58.git resolved at 0.1.2
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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.3.0
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/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/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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/Kingpin-Apps/swift-mnemonic.git
Working copy of https://github.com/Kingpin-Apps/swift-mnemonic.git resolved at 0.2.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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
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/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Building for debugging...
[0/54] Write sources
[0/54] Copying PrivacyInfo.xcprivacy
[0/54] Write sources
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>
| ^~~~~~~~~~~
1 error generated.
[22/54] Compiling fy-ctype.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-blob.c:18:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-blob.h:47:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-endian.h:24:3: error: unsupported platform
24 | # error unsupported platform
| ^
1 error generated.
[22/54] Compiling fy-blob.c
[22/54] Compiling fy-walk.c
[22/54] Compiling xxhash.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-types.c:14:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-types.c:27:
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:[22/54] Compiling fy-types.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>
| ^~~~~~~~~~~
[22/54] Compiling fy-utils.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>
| ^~~~~~~~~~~
[22/54] Compiling fy-utf8.c
[22/54] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm