Build Information
Failed to build routing-kit, reference 5.0.0-beta.3 (96f0fa), with Swift 6.2 for Wasm on 14 Aug 2026 16:15:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/routing-kit.git
Reference: 5.0.0-beta.3
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/vapor/routing-kit
* tag 5.0.0-beta.3 -> FETCH_HEAD
HEAD is now at 96f0fa9 FoundationEssentials (#153)
Cloned https://github.com/vapor/routing-kit.git
Revision (git rev-parse @):
96f0fa9b25a870ec5920ee2eaf69e41a6a610a20
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/routing-kit.git at 5.0.0-beta.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/vapor/routing-kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:70428a4f4110aef5b17a27427e965f31cf3855e8cf1dfdc416ed61c780337965
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-algorithms.git
[1/7954] Fetching swift-log
[81/14052] Fetching swift-log, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.58s)
Fetched https://github.com/apple/swift-log.git from cache (0.58s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.45s)
Fetching https://github.com/apple/swift-numerics.git
[1/6553] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.64s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.79s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.0 (0.15s)
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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.0
Building for debugging...
[0/6] Write sources
[4/6] Compiling _NumericsShims _NumericsShims.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/28] Compiling Logging LoggingSystem.swift
[8/29] Compiling RealModule Float80+Real.swift
[9/29] Compiling RealModule RealFunctions.swift
[10/29] Compiling RealModule AlgebraicField.swift
[11/29] Compiling RealModule ApproximateEquality.swift
[12/29] Compiling RealModule Float16+Real.swift
[13/29] Compiling RealModule Real.swift
[14/30] Compiling RealModule RelaxedArithmetic.swift
[15/30] Compiling Logging Logger.swift
[16/30] Compiling Logging Logger+With.swift
[17/30] Compiling RealModule ElementaryFunctions.swift
[18/30] Compiling RealModule Float+Real.swift
[19/30] Compiling Logging Logger+Attributes.swift
[20/30] Emitting module RealModule
[21/30] Compiling RealModule AugmentedArithmetic.swift
[22/30] Compiling RealModule Double+Real.swift
[24/56] Compiling Algorithms AdjacentPairs.swift
[25/56] Compiling Algorithms Chain.swift
[26/56] Emitting module Logging
[27/56] Compiling Algorithms FlattenCollection.swift
[28/56] Compiling Algorithms Grouped.swift
[29/56] Compiling Algorithms Chunked.swift
[30/56] Compiling Algorithms Combinations.swift
[31/56] Compiling Logging MetadataProvider.swift
[33/57] Compiling Algorithms RandomSample.swift
[34/57] Compiling Algorithms Reductions.swift
[35/57] Compiling Algorithms Rotate.swift
[36/60] Compiling Algorithms Joined.swift
[37/60] Compiling Algorithms Keyed.swift
[38/60] Compiling Algorithms MinMax.swift
[41/60] Compiling Algorithms Indexed.swift
[42/60] Compiling Algorithms Intersperse.swift
[43/60] Compiling Algorithms Partition.swift
[44/60] Compiling Algorithms Permutations.swift
[45/60] Compiling Algorithms Product.swift
[46/60] Compiling Algorithms Split.swift
[47/60] Compiling Algorithms Stride.swift
[48/60] Compiling Algorithms Suffix.swift
[49/60] Compiling Algorithms Compacted.swift
[50/60] Compiling Algorithms Cycle.swift
[51/60] Compiling Algorithms EitherSequence.swift
[52/60] Compiling Algorithms FirstNonNil.swift
[53/60] Compiling Algorithms Trim.swift
[54/60] Compiling Algorithms Unique.swift
[55/60] Compiling Algorithms Windows.swift
[60/60] Emitting module Algorithms
[62/70] Emitting module RoutingKit
[63/71] Compiling RoutingKit String+lastUTF8Range.swift
/host/spi-builder-workspace/Sources/RoutingKit/Utilities/String+lastUTF8Range.swift:15:13: error: lifetime-dependent variable 'haystack' escapes its scope
13 | @available(macOS 26, iOS 26, tvOS 26, watchOS 26, visionOS 26, *)
14 | func lastUTF8RangeUsingSpan(of needle: Substring, in searchRange: Range<Int>) -> Range<Int>? {
15 | let haystack = self.utf8.span
| | `- note: it depends on the lifetime of this parent value
| `- error: lifetime-dependent variable 'haystack' escapes its scope
16 | let pattern = needle.utf8.span
17 | let n = pattern.count
:
28 | if haystack[start] == first {
29 | var k = 1
30 | while k < n, haystack[start + k] == pattern[k] { k += 1 }
| `- note: this use of the lifetime-dependent value is out of scope
31 | if k == n { return start..<start + n }
32 | }
/host/spi-builder-workspace/Sources/RoutingKit/Utilities/String+lastUTF8Range.swift:16:13: error: lifetime-dependent variable 'pattern' escapes its scope
14 | func lastUTF8RangeUsingSpan(of needle: Substring, in searchRange: Range<Int>) -> Range<Int>? {
15 | let haystack = self.utf8.span
16 | let pattern = needle.utf8.span
| | `- note: it depends on the lifetime of this parent value
| `- error: lifetime-dependent variable 'pattern' escapes its scope
17 | let n = pattern.count
18 |
:
28 | if haystack[start] == first {
29 | var k = 1
30 | while k < n, haystack[start + k] == pattern[k] { k += 1 }
| `- note: this use of the lifetime-dependent value is out of scope
31 | if k == n { return start..<start + n }
32 | }
[64/71] Compiling RoutingKit String+removingPercentEncoding.swift
[65/71] Compiling RoutingKit TrieRouterNode.swift
[66/71] Compiling RoutingKit Router.swift
[67/71] Compiling RoutingKit TrieRouter.swift
[68/71] Compiling RoutingKit RouterBuilder.swift
[69/71] Compiling RoutingKit TrieRouterBuilder.swift
[70/71] Compiling RoutingKit Parameters.swift
[71/71] Compiling RoutingKit PathComponent.swift
BUILD FAILURE 6.2 wasm