Build Information
Failed to build Citadel, reference main (d29285
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 12:53:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 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/orlandos-nl/Citadel
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-0":/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-crypto.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/mtynior/ColorizeSwift.git
Fetching https://github.com/Joannis/swift-nio-ssh.git
Fetching https://github.com/attaswift/BigInt.git
[1/291] Fetching colorizeswift
[109/3047] Fetching colorizeswift, swift-nio-ssh
[1615/7854] Fetching colorizeswift, swift-nio-ssh, bigint
[1920/11690] Fetching colorizeswift, swift-nio-ssh, bigint, swift-log
[6101/27123] Fetching colorizeswift, swift-nio-ssh, bigint, swift-log, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (0.63s)
[8320/23287] Fetching colorizeswift, swift-nio-ssh, bigint, swift-crypto
Fetched https://github.com/mtynior/ColorizeSwift.git from cache (0.82s)
Fetched https://github.com/Joannis/swift-nio-ssh.git from cache (0.82s)
Fetched https://github.com/attaswift/BigInt.git from cache (0.83s)
[3550/15433] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.23s)
Computing version for https://github.com/Joannis/swift-nio-ssh.git
Computed https://github.com/Joannis/swift-nio-ssh.git at 0.3.3 (3.13s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
[1/1797] Fetching swift-atomics
[1798/78136] Fetching swift-atomics, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (5.90s)
Fetched https://github.com/apple/swift-nio.git from cache (6.00s)
Computing version for https://github.com/mtynior/ColorizeSwift.git
Computed https://github.com/mtynior/ColorizeSwift.git at 1.7.0 (9.83s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.42s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.6.0 (0.46s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.0.5 (2.63s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.61s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.11s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
[1510/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.25s)
Fetched https://github.com/apple/swift-collections.git from cache (1.28s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (3.10s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.86s)
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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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/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/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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.0.5
Building for debugging...
[0/452] Write sources
[14/452] Compiling _AtomicsShims.c
[15/452] Compiling CNIOWASI CNIOWASI.c
[15/452] Compiling CNIOWindows shim.c
[17/452] Compiling CNIOLinux shim.c
[18/452] Compiling CNIOWindows WSAStartup.c
[19/452] Compiling CNIOLinux liburing_shims.c
[20/452] Compiling CNIODarwin shim.c
[21/452] Write swift-version-24593BA9C3E375BF.txt
[22/452] Compiling CCitadelBcrypt blf.c
[23/456] Compiling v3_purp.c
[24/458] Compiling v3_skey.c
[25/459] Compiling v3_prn.c
[26/463] Compiling v3_utl.c
[27/477] Compiling CCryptoBoringSSLShims shims.c
[28/479] Compiling v3_pmaps.c
[29/479] Compiling v3_pcons.c
[30/479] Compiling v3_pcia.c
[32/479] Emitting module InternalCollectionsUtilities
[32/480] Compiling v3_pci.c
[33/480] Compiling v3_ocsp.c
[34/480] Compiling v3_ncons.c
[35/480] Compiling v3_lib.c
[36/480] Compiling v3_int.c
[37/480] Compiling v3_info.c
[38/480] Compiling c-atomics.c
[39/480] Compiling v3_ia5.c
[40/480] Compiling v3_genn.c
[41/480] Compiling v3_extku.c
[42/480] Compiling v3_enum.c
[43/480] Compiling c-nioatomics.c
[44/480] Compiling v3_crld.c
[45/483] Compiling v3_cpols.c
[46/486] Compiling v3_bitst.c
[47/486] Compiling v3_conf.c
[48/486] Compiling v3_bcons.c
[49/486] Compiling v3_alt.c
[50/486] Compiling v3_akeya.c
[51/486] Compiling v3_akey.c
[52/486] Compiling pcy_tree.c
[53/486] Compiling pcy_node.c
[54/486] Compiling pcy_map.c
[55/486] Compiling pcy_lib.c
[57/486] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[58/486] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[59/486] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[60/486] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[61/486] 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)
[62/486] 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)
[63/486] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[64/486] Compiling InternalCollectionsUtilities _SortedCollection.swift
[65/486] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[66/486] Compiling InternalCollectionsUtilities Debugging.swift
[67/486] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[68/486] Compiling InternalCollectionsUtilities UInt+reversed.swift
[69/486] Compiling InternalCollectionsUtilities Descriptions.swift
[70/486] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[71/486] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[72/486] Compiling InternalCollectionsUtilities Integer rank.swift
[73/486] Compiling Logging LogHandler.swift
[74/486] Emitting module Logging
[74/486] Compiling pcy_data.c
[74/486] Compiling pcy_cache.c
[75/486] Compiling _NIODataStructures PriorityQueue.swift
[76/486] Emitting module _NIOBase64
BUILD FAILURE 6.2 wasm