The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Meridian, reference 0.4.0 (5f58ad), with Swift 6.2 for Wasm on 2 Mar 2026 18:03:36 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/khanlou/Meridian.git
Reference: 0.4.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/khanlou/Meridian
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 5f58adc add support for limited availability, optionals, and if statements in route builder
Cloned https://github.com/khanlou/Meridian.git
Revision (git rev-parse @):
5f58adca8511d6ed54cc527ba0ebf57483b59eff
SUCCESS checkout https://github.com/khanlou/Meridian.git at 0.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/khanlou/Meridian.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:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
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
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/swift-server/swift-backtrace.git
Fetching https://github.com/apple/swift-argument-parser
[1/2652] Fetching websocket-kit
[55/3283] Fetching websocket-kit, swift-backtrace
[2913/20465] Fetching websocket-kit, swift-backtrace, swift-argument-parser
Fetched https://github.com/vapor/websocket-kit.git from cache (0.45s)
[7332/17813] Fetching swift-backtrace, swift-argument-parser
[17814/100412] Fetching swift-backtrace, swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-argument-parser from cache (1.27s)
[35323/83230] Fetching swift-backtrace, swift-nio
Fetched https://github.com/swift-server/swift-backtrace.git from cache (7.08s)
Fetched https://github.com/apple/swift-nio from cache (7.22s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (9.43s)
Computing version for https://github.com/swift-server/swift-backtrace.git
Computed https://github.com/swift-server/swift-backtrace.git at 1.3.5 (0.41s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.41s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/1820] Fetching swift-atomics
[20/4641] Fetching swift-atomics, swift-nio-transport-services
[3402/11132] Fetching swift-atomics, swift-nio-transport-services, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.53s)
[1/15350] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.15s)
Fetched https://github.com/apple/swift-atomics.git from cache (2.15s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.18s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.52s)
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.42s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.95.0 (0.93s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/20279] Fetching swift-collections
[1827/25867] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.59s)
[4259/20279] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.48s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.88s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.55s)
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.41s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.32.1 (0.50s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/1216] Fetching swift-http-structured-headers
[1217/3865] Fetching swift-http-structured-headers, swift-service-lifecycle
[3363/9923] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-algorithms
Fetching https://github.com/apple/swift-certificates.git
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.27s)
[2892/8707] Fetching swift-service-lifecycle, swift-algorithms
[2893/14853] Fetching swift-service-lifecycle, swift-algorithms, swift-async-algorithms
Fetching https://github.com/apple/swift-asn1.git
[3260/20943] Fetching swift-service-lifecycle, swift-algorithms, swift-async-algorithms, swift-log
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.56s)
Fetching https://github.com/apple/swift-nio-http2.git
[1/1766] Fetching swift-asn1
[1326/8888] Fetching swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.59s)
Fetching https://github.com/apple/swift-http-types.git
[1496/7122] Fetching swift-certificates
Fetched https://github.com/apple/swift-algorithms.git from cache (0.93s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.94s)
Fetched https://github.com/apple/swift-log.git from cache (0.94s)
[7052/19122] Fetching swift-certificates, swift-nio-http2
[8563/20073] Fetching swift-certificates, swift-nio-http2, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.35s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.97s)
[2640/12000] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.51s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.46s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.43s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.10.1 (0.83s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.2 (0.52s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (2.51s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.32s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.36s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (0.48s)
Fetching https://github.com/apple/swift-crypto.git
[1/17245] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.33s)
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 (2.66s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.35s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (1.06s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.40.0 (0.38s)
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-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-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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.2
Creating working copy for https://github.com/swift-server/swift-backtrace.git
Working copy of https://github.com/swift-server/swift-backtrace.git resolved at 1.3.5
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/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.40.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.18.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.3.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-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-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.32.1
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.10.1
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
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-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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.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.10.1
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.95.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
Building for debugging...
[0/476] Write sources
[19/476] Compiling CBacktrace fileline.c
[20/476] Compiling CBacktrace elf.c
[21/476] Compiling CNIOWindows shim.c
[22/476] Compiling CNIOWASI CNIOWASI.c
[23/476] Compiling _AtomicsShims.c
[24/476] Compiling CNIOPosix event_loop_id.c
[25/476] Compiling CBacktrace mmap.c
[26/476] Compiling CNIOWindows WSAStartup.c
[27/476] Compiling CNIOOpenBSD shim.c
[28/476] Compiling CNIOLinux shim.c
[29/476] Compiling CNIOLinux liburing_shims.c
[30/476] Compiling CNIOSHA1 c_nio_sha1.c
[31/476] Compiling CNIODarwin shim.c
[32/476] Compiling CNIOLLHTTP c_nio_http.c
[33/476] Write swift-version-24593BA9C3E375BF.txt
[34/476] Compiling CBacktrace dwarf.c
[35/476] Compiling fiat_p256_adx_sqr.S
[36/476] Compiling CNIOLLHTTP c_nio_api.c
[37/476] Compiling fiat_p256_adx_mul.S
[38/476] Compiling fiat_curve25519_adx_square.S
[39/477] Compiling fiat_curve25519_adx_mul.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/482] 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)
[41/482] Compiling CNIOBoringSSLShims shims.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/482] Emitting module _NIOBase64
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIOBase64/Base64.swift:112:39: error: cannot use a value of protocol type 'any Error' in embedded Swift
 27 |     @inlinable
 28 |     public func base64Decoded() throws -> [UInt8] {
 29 |         try self._base64Decoded()
    |                  `- note: called from here
 30 |     }
 31 |
    :
 38 |     @inlinable
 39 |     public func _base64Decoded() throws -> [UInt8] {
 40 |         try Base64.decode(string: self)
    |                    `- note: called from here
 41 |     }
 42 | }
    :
110 |             if bytes[i + 2] != Base64.encodePaddingCharacter {
111 |                 guard let byte2Index = Base64.encodingTable.firstIndex(of: bytes[i + 2]) else {
112 |                     throw Base64Error.invalidCharacter
    |                                       `- error: cannot use a value of protocol type 'any Error' in embedded Swift
113 |                 }
114 |
[44/482] 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)
[44/482] Compiling CNIOLLHTTP c_nio_llhttp.c
[44/482] Compiling tls_method.cc
[44/482] Compiling tls_record.cc
[44/482] Compiling tls13_enc.cc
[44/482] Compiling tls13_server.cc
BUILD FAILURE 6.2 wasm