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 SwiftOgmios, reference main (f42010), with Swift 6.2 for Wasm on 16 Sep 2025 05:44:22 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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kingpin-Apps/swift-ogmios.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-ogmios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f420106 add last few and improve api
Cloned https://github.com/Kingpin-Apps/swift-ogmios.git
Revision (git rev-parse @):
f4201060f4aef4cefebda137efe62a7c25dab23e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Kingpin-Apps/swift-ogmios.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Kingpin-Apps/swift-ogmios.git
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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/Kingpin-Apps/swift-cardano-core.git
[1/2287] Fetching swift-cardano-core
Fetched https://github.com/Kingpin-Apps/swift-cardano-core.git from cache (0.62s)
Computing version for https://github.com/Kingpin-Apps/swift-cardano-core.git
Computed https://github.com/Kingpin-Apps/swift-cardano-core.git at 0.1.32 (1.47s)
Fetching https://github.com/Kingpin-Apps/swift-ncal.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Frizlab/swift-fraction-number.git
Fetching https://github.com/tesseract-one/Bip39.swift.git
Fetching https://github.com/Kingpin-Apps/swift-mnemonic.git
Fetching https://github.com/attaswift/BigInt.git
[1/369] Fetching swift-ncal
[204/451] Fetching swift-ncal, bip39.swift
[264/559] Fetching swift-ncal, bip39.swift, swift-mnemonic
[378/4462] Fetching swift-ncal, bip39.swift, swift-mnemonic, swift-log
[457/4482] Fetching swift-ncal, bip39.swift, swift-mnemonic, swift-log, swift-fraction-number
[516/9308] Fetching swift-ncal, bip39.swift, swift-mnemonic, swift-log, swift-fraction-number, bigint
Fetched https://github.com/Kingpin-Apps/swift-ncal.git from cache (1.11s)
Fetched https://github.com/apple/swift-log.git from cache (1.11s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/KINGH242/PotentCodables.git
[4506/5036] Fetching bip39.swift, swift-mnemonic, swift-fraction-number, bigint
Fetched https://github.com/Kingpin-Apps/swift-mnemonic.git from cache (1.59s)
Fetched https://github.com/tesseract-one/Bip39.swift.git from cache (1.60s)
Fetched https://github.com/Frizlab/swift-fraction-number.git from cache (1.61s)
Fetched https://github.com/attaswift/BigInt.git from cache (1.62s)
[1/2346] Fetching potentcodables
[189/15364] Fetching potentcodables, cryptoswift
Fetched https://github.com/KINGH242/PotentCodables.git from cache (1.11s)
[1953/13018] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (3.01s)
Computing version for https://github.com/Frizlab/swift-fraction-number.git
Computed https://github.com/Frizlab/swift-fraction-number.git at 0.1.0 (5.02s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (4.73s)
Computing version for https://github.com/tesseract-one/Bip39.swift.git
Computed https://github.com/tesseract-one/Bip39.swift.git at 0.2.0 (0.92s)
Fetching https://github.com/tesseract-one/UncommonCrypto.swift.git
[1/143] Fetching uncommoncrypto.swift
Fetched https://github.com/tesseract-one/UncommonCrypto.swift.git from cache (0.39s)
Computing version for https://github.com/Kingpin-Apps/swift-mnemonic.git
Computed https://github.com/Kingpin-Apps/swift-mnemonic.git at 0.1.3 (1.33s)
Fetching https://github.com/heckj/Base58Swift.git
[1/485] Fetching base58swift
Fetched https://github.com/heckj/Base58Swift.git from cache (0.38s)
Computing version for https://github.com/Kingpin-Apps/swift-ncal.git
Computed https://github.com/Kingpin-Apps/swift-ncal.git at 0.1.4 (1.28s)
Fetching https://github.com/norio-nomura/Base32.git
[1/1168] Fetching base32
Fetched https://github.com/norio-nomura/Base32.git from cache (0.50s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (1.58s)
Computing version for https://github.com/KINGH242/PotentCodables.git
Computed https://github.com/KINGH242/PotentCodables.git at 3.6.0 (0.99s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/sharplet/Regex.git
[1/310] Fetching float16
[311/1564] Fetching float16, regex
[1127/19030] Fetching float16, regex, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (1.77s)
[9987/18720] Fetching regex, swift-collections
Fetched https://github.com/sharplet/Regex.git from cache (1.83s)
[9781/17466] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.74s)
Computing version for https://github.com/heckj/Base58Swift.git
Computed https://github.com/heckj/Base58Swift.git at 2.1.15 (3.64s)
Computing version for https://github.com/norio-nomura/Base32.git
Computed https://github.com/norio-nomura/Base32.git at 0.9.0 (4.73s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (0.89s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.84s)
Fetching https://github.com/apple/swift-numerics
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.79s)
Computing version for https://github.com/tesseract-one/UncommonCrypto.swift.git
Computed https://github.com/tesseract-one/UncommonCrypto.swift.git at 0.2.1 (1.72s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.87s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.0 (0.92s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.32s)
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/Kingpin-Apps/swift-mnemonic.git
Working copy of https://github.com/Kingpin-Apps/swift-mnemonic.git resolved at 0.1.3
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.1.4
Creating working copy for https://github.com/tesseract-one/Bip39.swift.git
Working copy of https://github.com/tesseract-one/Bip39.swift.git resolved at 0.2.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/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.3.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/Kingpin-Apps/swift-cardano-core.git
Working copy of https://github.com/Kingpin-Apps/swift-cardano-core.git resolved at 0.1.32
Creating working copy for https://github.com/heckj/Base58Swift.git
Working copy of https://github.com/heckj/Base58Swift.git resolved at 2.1.15
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/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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.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.2.1
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/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/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.0
warning: you may be able to install libsodium using your system-packager:
    apt-get install libsodium-dev
warning: you may be able to install libsodium using your system-packager:
    apt-get install libsodium-dev
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SwiftOgmios/cardano.json
    /host/spi-builder-workspace/Sources/SwiftOgmios/ogmios.json
Building for debugging...
[0/56] Write sources
[13/56] Copying wordlist
[14/56] Write sources
[18/56] Copying PrivacyInfo.xcprivacy
[18/56] Write sources
[24/56] Copying PotentCodables.docc
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.
[25/56] Compiling fy-ctype.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.
[25/56] Compiling fy-utf8.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.
[25/56] Compiling fy-blob.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>
      |          ^~~~~~~~~~~
[25/56] Compiling fy-utils.c
[25/56] 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-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/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[25/56] Compiling fy-types.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>
      |          ^~~~~~~~~~~
[25/56] Compiling fy-walk.c
[25/56] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm