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 Monarca, reference 0.3.2 (ff09a0), with Swift 6.2 for Wasm on 11 Dec 2025 20:31:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fitomad/Monarca.git
Reference: 0.3.2
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/fitomad/Monarca
 * tag               0.3.2      -> FETCH_HEAD
HEAD is now at ff09a08 Merge pull request #9 from fitomad/develop
Cloned https://github.com/fitomad/Monarca.git
Revision (git rev-parse @):
ff09a08fb1639fbfdbc297547d2f00b0256f0833
SUCCESS checkout https://github.com/fitomad/Monarca.git at 0.3.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/fitomad/Monarca.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/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/embedded-swift-sdk.json
Fetching https://github.com/vapor/websocket-kit.git
[1/2632] Fetching websocket-kit
Fetched https://github.com/vapor/websocket-kit.git from cache (0.50s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (1.38s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2809] Fetching swift-nio-transport-services
[760/4629] Fetching swift-nio-transport-services, swift-atomics
[3629/19917] Fetching swift-nio-transport-services, swift-atomics, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.67s)
[3196/17108] Fetching swift-atomics, swift-nio-ssl
[3809/97789] Fetching swift-atomics, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (0.91s)
[2142/95969] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.15s)
[50023/80681] Fetching swift-nio
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-nio.git from cache (9.63s)
[1/6364] Fetching swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.75s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (10.72s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.52s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.91.0 (1.36s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/5221] Fetching swift-system
[3395/23584] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.71s)
[4959/18363] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.21s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (2.82s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.93s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.80s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.2 (0.78s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
[1/1667] Fetching swift-asn1
[868/8707] Fetching swift-asn1, swift-certificates
[1620/14540] Fetching swift-asn1, swift-certificates, swift-async-algorithms
[3755/20287] Fetching swift-asn1, swift-certificates, swift-async-algorithms, swift-log
Fetched https://github.com/apple/swift-asn1.git from cache (0.63s)
[14226/18620] Fetching swift-certificates, swift-async-algorithms, swift-log
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-algorithms.git
[18621/19824] Fetching swift-certificates, swift-async-algorithms, swift-log, swift-http-structured-headers
Fetched https://github.com/apple/swift-log.git from cache (1.09s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.07s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.09s)
[61/1204] Fetching swift-http-structured-headers
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.73s)
[1/2568] Fetching swift-service-lifecycle
[1542/3519] Fetching swift-service-lifecycle, swift-http-types
[3520/9560] Fetching swift-service-lifecycle, swift-http-types, swift-algorithms
[4427/21278] Fetching swift-service-lifecycle, swift-http-types, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-http-types.git from cache (0.50s)
[3891/20327] Fetching swift-service-lifecycle, swift-algorithms, swift-nio-http2
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.84s)
[8971/17759] Fetching swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (0.85s)
[3282/11718] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.68s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (5.85s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.70s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (1.39s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (0.84s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.7.1 (1.06s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (5.57s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.36s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.19s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.53s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.0 (0.61s)
Fetching https://github.com/apple/swift-crypto.git
[1/17465] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.14s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (5.71s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (0.47s)
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.39.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.31.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.9.1
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.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
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.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.91.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.17.0
Building for debugging...
[0/435] Write sources
[12/435] Compiling CNIOOpenBSD shim.c
[13/435] Write sources
[14/435] Compiling CNIODarwin shim.c
[15/435] Write sources
[21/435] Compiling CNIOWindows shim.c
[22/435] Compiling CNIOLinux liburing_shims.c
[23/435] Compiling CNIOLinux shim.c
[23/435] Compiling CNIOWindows WSAStartup.c
[25/435] Compiling _AtomicsShims.c
[25/435] Compiling CNIOWASI CNIOWASI.c
[27/435] Write swift-version-24593BA9C3E375BF.txt
[28/435] Compiling CNIOPosix event_loop_id.c
[29/435] Compiling CNIOLLHTTP c_nio_http.c
[30/435] Compiling CNIOSHA1 c_nio_sha1.c
[31/435] Compiling CNIOLLHTTP c_nio_api.c
[32/435] Compiling fiat_p256_adx_sqr.S
[33/439] Compiling fiat_curve25519_adx_square.S
[34/443] Compiling fiat_p256_adx_mul.S
[35/443] Compiling fiat_curve25519_adx_mul.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/443] Emitting module _NIODataStructures
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:27:8: error: The Heap module was unable to identify your C library.
 25 | @preconcurrency import Bionic
 26 | #else
 27 | #error("The Heap module was unable to identify your C library.")
    |        `- error: The Heap module was unable to identify your C library.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:170:47: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
168 |             return "<empty heap>"
169 |         }
170 |         let descriptions = self.storage.map { String(describing: $0) }
    |                                               `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
171 |         let maxLen: Int = descriptions.map { $0.count }.max()!  // storage checked non-empty above
172 |         let paddedDescs = descriptions.map { (desc: String) -> String in
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:208:21: error: cannot find 'log2' in scope
206 |
207 |             func height(index: Int) -> Int {
208 |                 Int(log2(Double(index + 1)))
    |                     `- error: cannot find 'log2' in scope
209 |             }
210 |             let myHeight = height(index: index)
[37/443] Compiling CNIOBoringSSLShims shims.c
[39/443] Compiling _NIODataStructures Heap.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:27:8: error: The Heap module was unable to identify your C library.
 25 | @preconcurrency import Bionic
 26 | #else
 27 | #error("The Heap module was unable to identify your C library.")
    |        `- error: The Heap module was unable to identify your C library.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:170:47: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
168 |             return "<empty heap>"
169 |         }
170 |         let descriptions = self.storage.map { String(describing: $0) }
    |                                               `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
171 |         let maxLen: Int = descriptions.map { $0.count }.max()!  // storage checked non-empty above
172 |         let paddedDescs = descriptions.map { (desc: String) -> String in
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:208:21: error: cannot find 'log2' in scope
206 |
207 |             func height(index: Int) -> Int {
208 |                 Int(log2(Double(index + 1)))
    |                     `- error: cannot find 'log2' in scope
209 |             }
210 |             let myHeight = height(index: index)
[39/443] Compiling tls_record.cc
[39/443] Compiling tls13_server.cc
[39/443] Compiling tls_method.cc
[39/443] Compiling CNIOLLHTTP c_nio_llhttp.c
BUILD FAILURE 6.2 wasm