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 Citadel, reference 0.11.0 (d29285), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 12:53:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/Citadel.git
Reference: 0.11.0
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.11.0     -> FETCH_HEAD
HEAD is now at d292854 Merge pull request #109 from nedithgar/main
Cloned https://github.com/orlandos-nl/Citadel.git
Revision (git rev-parse @):
d29285434900d98ce7d5781e9ac1c3a0b3fc9a14
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/orlandos-nl/Citadel.git at 0.11.0
========================================
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-4609320-1":/host -w "$PWD" 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:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-log.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/Joannis/swift-nio-ssh.git
[1/2756] Fetching swift-nio-ssh
[222/7563] Fetching swift-nio-ssh, bigint
[361/7854] Fetching swift-nio-ssh, bigint, colorizeswift
[3625/11690] Fetching swift-nio-ssh, bigint, colorizeswift, swift-log
[11163/27123] Fetching swift-nio-ssh, bigint, colorizeswift, swift-log, swift-crypto
Fetched https://github.com/Joannis/swift-nio-ssh.git from cache (1.24s)
Fetched https://github.com/mtynior/ColorizeSwift.git from cache (1.25s)
[20836/24076] Fetching bigint, swift-log, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (1.25s)
Fetched https://github.com/attaswift/BigInt.git from cache (1.25s)
[12347/15433] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.79s)
Computing version for https://github.com/Joannis/swift-nio-ssh.git
Computed https://github.com/Joannis/swift-nio-ssh.git at 0.3.3 (2.25s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
[1798/78136] Fetching swift-atomics, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (4.23s)
Fetched https://github.com/apple/swift-nio.git from cache (4.33s)
Computing version for https://github.com/mtynior/ColorizeSwift.git
Computed https://github.com/mtynior/ColorizeSwift.git at 1.7.0 (7.19s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.39s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.6.0 (0.62s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.0.5 (0.77s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.67s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.41s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/16640] Fetching swift-collections
[667/21076] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.68s)
[4327/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.81s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (2.44s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.03s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.0.5
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.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.6.0
Creating working copy for https://github.com/Joannis/swift-nio-ssh.git
Working copy of https://github.com/Joannis/swift-nio-ssh.git resolved at 0.3.3
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.6.3
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
Building for debugging...
[0/452] Write sources
/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.
[7/452] Compiling CCitadelBcrypt bcrypt-kdf.c
[8/452] Write sources
[10/452] Compiling CCitadelBcrypt bcrypt.c
[10/452] Write sources
[17/452] Compiling _AtomicsShims.c
[18/452] Compiling CNIOWindows shim.c
[19/452] Compiling CNIOWindows WSAStartup.c
[20/452] Compiling CNIOWASI CNIOWASI.c
[21/452] Compiling CNIOLinux shim.c
[22/452] Compiling dh_asn1.c
[23/452] Compiling params.c
[24/452] Compiling CNIODarwin shim.c
[25/452] Compiling CNIOLinux liburing_shims.c
[26/452] Compiling digest_extra.c
[27/452] Write swift-version-24593BA9C3E375BF.txt
[28/452] Compiling CCitadelBcrypt blf.c
[29/456] Compiling des.c
[30/458] Compiling v3_skey.c
[30/458] Compiling v3_utl.c
[32/458] Compiling v3_purp.c
[33/463] Compiling CCryptoBoringSSLShims shims.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/500] Emitting module ColorizeSwift
/host/spi-builder-workspace/.build/checkouts/ColorizeSwift/Sources/ColorizeSwift/ColorizeSwift.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | public typealias TerminalStyleCode = (open: String, close: String)
[35/500] Compiling c-nioatomics.c
[36/500] Compiling v3_prn.c
[37/500] Compiling v3_pmaps.c
[38/500] Compiling v3_pcons.c
[39/500] Compiling v3_pcia.c
[40/500] Compiling c-atomics.c
[41/506] Compiling v3_pci.c
[42/506] Compiling v3_ocsp.c
[43/506] Compiling v3_ncons.c
[44/506] Compiling v3_lib.c
[45/506] Compiling v3_int.c
[46/506] Compiling v3_info.c
[48/506] Emitting module InternalCollectionsUtilities
[49/507] Compiling ColorizeSwift ColorizeSwift.swift
/host/spi-builder-workspace/.build/checkouts/ColorizeSwift/Sources/ColorizeSwift/ColorizeSwift.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | public typealias TerminalStyleCode = (open: String, close: String)
[50/507] Compiling BigInt Multiplication.swift
[51/507] Compiling BigInt Prime Test.swift
[52/507] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[53/507] Compiling BigInt Exponentiation.swift
[54/507] Compiling BigInt Integer Conversion.swift
[55/507] Compiling BigInt Addition.swift
[56/507] Compiling BigInt BigInt.swift
[57/507] Compiling BigInt Strideable.swift
[58/507] Compiling BigInt String Conversion.swift
[59/507] Compiling BigInt Codable.swift
[60/507] Compiling BigInt Comparable.swift
[61/507] Compiling BigInt BigUInt.swift
[62/507] Compiling BigInt Bitwise Ops.swift
[63/507] Compiling BigInt Data Conversion.swift
[64/507] Compiling BigInt Division.swift
[65/507] Emitting module Logging
[66/507] Emitting module BigInt
[66/507] Compiling v3_ia5.c
[67/507] Emitting module _NIOBase64
BUILD FAILURE 6.2 wasm