The Swift Package Index logo.Swift Package Index

Build Information

Failed to build routing-kit, reference 5.0.0-beta.3 (96f0fa), with Swift 6.2 for Android on 14 Aug 2026 16:09:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build 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:         android
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-53886769-1":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:573917aa137cc6f081a4f3d2a0330bac24553e9cd713cd758adf65046f5c6b90
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-log.git
[1/6098] Fetching swift-algorithms
[123/14052] Fetching swift-algorithms, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.59s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.59s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.46s)
Fetching https://github.com/apple/swift-numerics.git
[1/6553] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.02s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.0 (0.23s)
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--11D90AFD9DD3AB2.txt
[7/28] Compiling Logging LoggingSystem.swift
[8/29] Emitting module RealModule
[9/30] Compiling RealModule RelaxedArithmetic.swift
[10/30] Compiling Logging Logger+Attributes.swift
[11/30] Compiling RealModule Float80+Real.swift
[12/30] Compiling RealModule RealFunctions.swift
[13/30] Compiling RealModule Real.swift
[14/30] Compiling RealModule AugmentedArithmetic.swift
[15/30] Compiling RealModule Double+Real.swift
[16/30] Compiling RealModule AlgebraicField.swift
[17/30] Compiling RealModule ApproximateEquality.swift
[18/30] Compiling RealModule ElementaryFunctions.swift
[19/30] Compiling RealModule Float+Real.swift
[20/30] Compiling RealModule Float16+Real.swift
[22/31] Emitting module Logging
[23/31] Compiling Logging Logger+With.swift
[24/31] Compiling Logging Logger.swift
[27/56] Compiling Algorithms Split.swift
[28/56] Compiling Algorithms Stride.swift
[29/56] Compiling Algorithms Suffix.swift
[30/59] Compiling Algorithms Compacted.swift
[31/59] Compiling Algorithms Cycle.swift
[32/59] Compiling Algorithms EitherSequence.swift
[33/59] Compiling Algorithms FirstNonNil.swift
[34/59] Compiling Algorithms RandomSample.swift
[35/59] Compiling Algorithms Reductions.swift
[36/59] Compiling Algorithms Rotate.swift
[37/59] Compiling Algorithms Partition.swift
[38/59] Compiling Algorithms Permutations.swift
[39/59] Compiling Algorithms Product.swift
[40/59] Compiling Logging MetadataProvider.swift
[45/60] Compiling Algorithms Trim.swift
[46/60] Compiling Algorithms Unique.swift
[47/60] Compiling Algorithms Windows.swift
[48/60] Compiling Algorithms Joined.swift
[49/60] Compiling Algorithms Keyed.swift
[50/60] Compiling Algorithms MinMax.swift
[51/60] Compiling Algorithms FlattenCollection.swift
[52/60] Compiling Algorithms Grouped.swift
[53/60] Compiling Algorithms Indexed.swift
[54/60] Compiling Algorithms Intersperse.swift
[56/60] Compiling Algorithms AdjacentPairs.swift
[57/60] Compiling Algorithms Chain.swift
[58/60] Compiling Algorithms Chunked.swift
[59/60] Compiling Algorithms Combinations.swift
[60/60] Emitting module Algorithms
[62/70] Compiling RoutingKit TrieRouterNode.swift
[63/70] 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 TrieRouterBuilder.swift
[66/71] Compiling RoutingKit TrieRouter.swift
[67/71] Compiling RoutingKit RouterBuilder.swift
[68/71] Compiling RoutingKit Parameters.swift
[69/71] Compiling RoutingKit PathComponent.swift
[70/71] Emitting module RoutingKit
[71/71] Compiling RoutingKit Router.swift
BUILD FAILURE 6.2 android