Build Information
Failed to build Citadel, reference main (43a066
), with Swift 6.2 (beta) for Wasm on 2 Sep 2025 07:08:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
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 43a0664 Improve test matrix
Cloned https://github.com/orlandos-nl/Citadel.git
Revision (git rev-parse @):
43a0664e763daf8765e13e289b7e7deffdc2e9b4
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-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-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/attaswift/BigInt.git
Fetching https://github.com/mtynior/ColorizeSwift.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-log.git
[1/291] Fetching colorizeswift
[60/5117] Fetching colorizeswift, bigint
[401/9020] Fetching colorizeswift, bigint, swift-log
Fetched https://github.com/mtynior/ColorizeSwift.git from cache (0.57s)
[4230/8729] Fetching bigint, swift-log
[6124/25103] Fetching bigint, swift-log, swift-crypto
Fetching https://github.com/Joannis/swift-nio-ssh.git
Fetched https://github.com/attaswift/BigInt.git from cache (1.31s)
[5665/20277] Fetching swift-log, swift-crypto
[5666/23111] Fetching swift-log, swift-crypto, swift-nio-ssh
Fetched https://github.com/Joannis/swift-nio-ssh.git from cache (0.72s)
[6032/20277] Fetching swift-log, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (3.69s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.75s)
Computing version for https://github.com/Joannis/swift-nio-ssh.git
Computed https://github.com/Joannis/swift-nio-ssh.git at 0.3.4 (5.70s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
[1/1814] Fetching swift-atomics
[1815/79768] Fetching swift-atomics, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (1.08s)
[7016/77954] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.19s)
Computing version for https://github.com/mtynior/ColorizeSwift.git
Computed https://github.com/mtynior/ColorizeSwift.git at 1.7.0 (9.14s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.06s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4941] Fetching swift-system
[4547/22335] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (3.19s)
Fetched https://github.com/apple/swift-collections.git from cache (3.22s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (4.63s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (1.62s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.43s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.13s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.95s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.39s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.89s)
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.4
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.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.1
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.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.6.2
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.7.0
Building for debugging...
[0/419] Write sources
[16/419] Compiling CNIOWindows shim.c
[17/419] Compiling CNIOWindows WSAStartup.c
[18/419] Compiling _AtomicsShims.c
[19/419] Compiling CNIOWASI CNIOWASI.c
[20/419] Compiling CNIOLinux shim.c
[21/419] Compiling CNIOLinux liburing_shims.c
[22/419] Compiling CNIODarwin shim.c
[23/419] Compiling CCitadelBcrypt bcrypt.c
[24/419] Write swift-version-24593BA9C3E375BF.txt
[25/419] Compiling CCitadelBcrypt blf.c
[26/419] Compiling fiat_p256_adx_sqr.S
[27/419] Compiling fiat_p256_adx_mul.S
[28/419] Compiling fiat_curve25519_adx_square.S
[29/421] Compiling fiat_curve25519_adx_mul.S
[30/461] Compiling CCryptoBoringSSLShims shims.c
[32/463] Emitting module _NIODataStructures
[32/463] Compiling c-nioatomics.c
[33/463] Compiling md5-x86_64-linux.S
[34/463] Compiling md5-x86_64-apple.S
[35/463] Compiling md5-586-linux.S
[36/463] Compiling md5-586-apple.S
[37/463] Compiling c-atomics.c
[38/463] Compiling chacha20_poly1305_x86_64-linux.S
[39/469] Compiling err_data.cc
[40/469] Compiling chacha20_poly1305_x86_64-apple.S
[41/469] Compiling chacha20_poly1305_armv8-win.S
[42/469] Compiling chacha20_poly1305_armv8-linux.S
[43/469] Compiling chacha20_poly1305_armv8-apple.S
[45/469] Emitting module SwiftASN1
[46/469] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[47/469] Compiling InternalCollectionsUtilities Integer rank.swift
[48/469] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[49/469] Compiling InternalCollectionsUtilities UInt+reversed.swift
[50/469] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[51/469] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[51/471] Compiling chacha-x86_64-linux.S
[53/471] Emitting module InternalCollectionsUtilities
[54/472] Compiling InternalCollectionsUtilities Descriptions.swift
[55/472] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[56/472] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[57/472] Compiling InternalCollectionsUtilities _SortedCollection.swift
[58/472] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[59/472] Compiling InternalCollectionsUtilities Debugging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[70/472] 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)
[71/472] 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)
[72/472] Compiling SwiftASN1 ObjectIdentifier.swift
[73/472] Compiling SwiftASN1 PEMDocument.swift
[74/472] Compiling SwiftASN1 TimeUtilities.swift
[75/472] Compiling SwiftASN1 UTCTime.swift
[76/472] Compiling Logging Locks.swift
[76/472] Compiling chacha-x86_64-apple.S
[77/472] Emitting module _NIOBase64
[78/472] Compiling _NIODataStructures PriorityQueue.swift
BUILD FAILURE 6.2 wasm