The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Citadel, reference 0.12.1 (ae8562), with Swift 6.2 for Wasm on 4 Apr 2026 15:41:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/Citadel.git
Reference: 0.12.1
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/orlandos-nl/Citadel
 * tag               0.12.1     -> FETCH_HEAD
HEAD is now at ae8562f Merge pull request #127 from Wellz26/main
Cloned https://github.com/orlandos-nl/Citadel.git
Revision (git rev-parse @):
ae8562f895de06ccb86fdb1cbb65fd99c8976e12
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/orlandos-nl/Citadel.git at 0.12.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/orlandos-nl/Citadel.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:de1420b02d93a9deec3e168cca69275e06e27da7632503e71651af6daad007b1
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/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/swift-sdk.json
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/mtynior/ColorizeSwift.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/Wellz26/swift-nio-ssh.git
Fetching https://github.com/apple/swift-log.git
[1/2823] Fetching swift-nio-ssh
[114/7701] Fetching swift-nio-ssh, bigint
[466/7992] Fetching swift-nio-ssh, bigint, colorizeswift
[2263/25320] Fetching swift-nio-ssh, bigint, colorizeswift, swift-crypto
[4611/31669] Fetching swift-nio-ssh, bigint, colorizeswift, swift-crypto, swift-log
Fetched https://github.com/Wellz26/swift-nio-ssh.git from cache (0.82s)
[10507/28846] Fetching bigint, colorizeswift, swift-crypto, swift-log
[12906/111867] Fetching bigint, colorizeswift, swift-crypto, swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (1.22s)
[8217/105518] Fetching bigint, colorizeswift, swift-crypto, swift-nio
Fetched https://github.com/mtynior/ColorizeSwift.git from cache (7.45s)
Fetched https://github.com/attaswift/BigInt.git from cache (7.45s)
Fetched https://github.com/apple/swift-crypto.git from cache (7.48s)
Fetched https://github.com/apple/swift-nio.git from cache (7.60s)
Computing version for https://github.com/mtynior/ColorizeSwift.git
Computed https://github.com/mtynior/ColorizeSwift.git at 1.7.0 (21.49s)
Computing version for https://github.com/Wellz26/swift-nio-ssh.git
Computed https://github.com/Wellz26/swift-nio-ssh.git at 0.3.6 (0.47s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.39s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.27s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (4.26s)
Fetching https://github.com/apple/swift-asn1.git
[1/1789] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.33s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (3.02s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.42s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (1.25s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/23426] Fetching swift-collections
[704/29027] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.52s)
[1875/23426] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.60s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (2.25s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.05s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.66s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/Wellz26/swift-nio-ssh.git
Working copy of https://github.com/Wellz26/swift-nio-ssh.git resolved at 0.3.6
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/mtynior/ColorizeSwift.git
Working copy of https://github.com/mtynior/ColorizeSwift.git resolved at 1.7.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.11.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/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.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.4.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Building for debugging...
[0/428] Write sources
[21/428] Compiling CNIOWindows WSAStartup.c
[22/428] Compiling CNIOWindows shim.c
[23/428] Compiling CNIOWASI CNIOWASI.c
/host/spi-builder-workspace/Sources/CCitadelBcrypt/bcrypt-kdf.c:44:9: warning: 'BCRYPT_WORDS' macro redefined [-Wmacro-redefined]
   44 | #define BCRYPT_WORDS 8
      |         ^
/host/spi-builder-workspace/Sources/CCitadelBcrypt/bcrypt.h:31:9: note: previous definition is here
   31 | #define BCRYPT_WORDS 6        /* Ciphertext words */
      |         ^
1 warning generated.
[24/428] Compiling CCitadelBcrypt bcrypt-kdf.c
[25/428] Compiling _AtomicsShims.c
[26/428] Compiling CNIOPosix event_loop_id.c
[27/428] Compiling CNIOLinux liburing_shims.c
[28/428] Compiling CCitadelBcrypt bcrypt.c
[29/428] Compiling CNIODarwin shim.c
[30/428] Compiling CNIOOpenBSD shim.c
[31/428] Compiling CCitadelBcrypt blf.c
[32/428] Compiling CNIOLinux shim.c
[33/428] Write swift-version-24593BA9C3E375BF.txt
[34/428] Compiling fiat_p256_adx_sqr.S
[35/428] Compiling fiat_p256_adx_mul.S
[36/428] Compiling fiat_curve25519_adx_square.S
[37/428] Compiling fiat_curve25519_adx_mul.S
[38/428] Compiling md5-x86_64-linux.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/442] Emitting module _NIOBase64
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
[41/446] Compiling _NIOBase64 Base64.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
[42/451] Compiling _NIODataStructures _TinyArray.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
[42/471] Compiling c-atomics.c
[42/471] Compiling c-nioatomics.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/471] Emitting module _NIODataStructures
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
[44/471] Compiling _NIODataStructures Heap.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
<unknown>:0: [44/471] Compiling CCryptoBoringSSLShims shims.c
BUILD FAILURE 6.2 wasm