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 path-wrangler, reference 2.9.0 (967fd5), with Swift 6.2 for Android on 23 Sep 2025 19:31:23 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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sersoft-gmbh/path-wrangler.git
Reference: 2.9.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/sersoft-gmbh/path-wrangler
 * tag               2.9.0      -> FETCH_HEAD
HEAD is now at 967fd50 Fix build
Cloned https://github.com/sersoft-gmbh/path-wrangler.git
Revision (git rev-parse @):
967fd5038e12945da6f6765235321a687f0bc5de
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sersoft-gmbh/path-wrangler.git at 2.9.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sersoft-gmbh/path-wrangler.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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-algorithms
[1/2094] Fetching swift-docc-plugin
[232/8080] Fetching swift-docc-plugin, swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (0.49s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.51s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (2.72s)
Fetching https://github.com/apple/swift-numerics.git
[1/6359] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.48s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.94s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.48s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3532] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.12s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.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.0
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/10] Write sources
[6/10] Compiling CPathWrangler stathelpers.c
[7/10] Compiling CPathWrangler pathhelpers.c
[8/10] Compiling _NumericsShims _NumericsShims.c
[9/10] Write swift-version--11D90AFD9DD3AB2.txt
[11/21] Compiling RealModule RealFunctions.swift
[12/22] Compiling RealModule RelaxedArithmetic.swift
[13/22] Compiling RealModule ElementaryFunctions.swift
[14/22] Compiling RealModule Float+Real.swift
[15/22] Compiling RealModule Float16+Real.swift
[16/22] Compiling RealModule Float80+Real.swift
[17/22] Compiling RealModule Real.swift
[18/22] Compiling RealModule AlgebraicField.swift
[19/22] Compiling RealModule ApproximateEquality.swift
[20/22] Emitting module RealModule
[21/22] Compiling RealModule AugmentedArithmetic.swift
[22/22] Compiling RealModule Double+Real.swift
[24/48] Compiling Algorithms Compacted.swift
[25/48] Compiling Algorithms Cycle.swift
[26/48] Compiling Algorithms EitherSequence.swift
[27/48] Compiling Algorithms FirstNonNil.swift
[28/51] Compiling Algorithms RandomSample.swift
[29/51] Compiling Algorithms Reductions.swift
[30/51] Compiling Algorithms Rotate.swift
[31/51] Compiling Algorithms Split.swift
[32/51] Compiling Algorithms Stride.swift
[33/51] Compiling Algorithms Suffix.swift
[34/51] Compiling Algorithms FlattenCollection.swift
[35/51] Compiling Algorithms Grouped.swift
[36/51] Compiling Algorithms Indexed.swift
[37/51] Compiling Algorithms Intersperse.swift
[38/51] Compiling Algorithms Trim.swift
[39/51] Compiling Algorithms Unique.swift
[40/51] Compiling Algorithms Windows.swift
[41/51] Compiling Algorithms Joined.swift
[42/51] Compiling Algorithms Keyed.swift
[43/51] Compiling Algorithms MinMax.swift
[44/51] Compiling Algorithms Partition.swift
[45/51] Compiling Algorithms Permutations.swift
[46/51] Compiling Algorithms Product.swift
[47/51] Compiling Algorithms AdjacentPairs.swift
[48/51] Compiling Algorithms Chain.swift
[49/51] Compiling Algorithms Chunked.swift
[50/51] Compiling Algorithms Combinations.swift
[51/51] Emitting module Algorithms
[53/60] Compiling CorePathWrangler _PathProtocol.swift
/host/spi-builder-workspace/Sources/CorePathWrangler/AbsolutePath.swift:10:8: error: Unknown platform
 8 | import ucrt
 9 | #else
10 | #error("Unknown platform")
   |        `- error: Unknown platform
11 | #endif
12 | import CPathWrangler
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:10:8: error: Unknown platform
  8 | import ucrt
  9 | #else
 10 | #error("Unknown platform")
    |        `- error: Unknown platform
 11 | #endif
 12 |
[54/60] Compiling CorePathWrangler PathProtocol.swift
/host/spi-builder-workspace/Sources/CorePathWrangler/AbsolutePath.swift:10:8: error: Unknown platform
 8 | import ucrt
 9 | #else
10 | #error("Unknown platform")
   |        `- error: Unknown platform
11 | #endif
12 | import CPathWrangler
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:10:8: error: Unknown platform
  8 | import ucrt
  9 | #else
 10 | #error("Unknown platform")
    |        `- error: Unknown platform
 11 | #endif
 12 |
[55/60] Compiling CorePathWrangler RelativePath.swift
/host/spi-builder-workspace/Sources/CorePathWrangler/AbsolutePath.swift:10:8: error: Unknown platform
 8 | import ucrt
 9 | #else
10 | #error("Unknown platform")
   |        `- error: Unknown platform
11 | #endif
12 | import CPathWrangler
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:10:8: error: Unknown platform
  8 | import ucrt
  9 | #else
 10 | #error("Unknown platform")
    |        `- error: Unknown platform
 11 | #endif
 12 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/60] Emitting module CorePathWrangler
/host/spi-builder-workspace/Sources/CorePathWrangler/AbsolutePath.swift:10:8: error: Unknown platform
 8 | import ucrt
 9 | #else
10 | #error("Unknown platform")
   |        `- error: Unknown platform
11 | #endif
12 | import CPathWrangler
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:10:8: error: Unknown platform
  8 | import ucrt
  9 | #else
 10 | #error("Unknown platform")
    |        `- error: Unknown platform
 11 | #endif
 12 |
[57/60] Compiling CorePathWrangler _PathImpl.swift
/host/spi-builder-workspace/Sources/CorePathWrangler/AbsolutePath.swift:10:8: error: Unknown platform
 8 | import ucrt
 9 | #else
10 | #error("Unknown platform")
   |        `- error: Unknown platform
11 | #endif
12 | import CPathWrangler
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:10:8: error: Unknown platform
  8 | import ucrt
  9 | #else
 10 | #error("Unknown platform")
    |        `- error: Unknown platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:59:26: error: cannot find 'stat' in scope
 57 |
 58 |     private func resolvedSymlink(at path: String) -> String? {
 59 |         var statresult = stat()
    |                          `- error: cannot find 'stat' in scope
 60 | #if compiler(>=6.2)
 61 |         guard unsafe lstat(path, &statresult) == 0 else {
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:61:22: error: cannot find 'lstat' in scope
 59 |         var statresult = stat()
 60 | #if compiler(>=6.2)
 61 |         guard unsafe lstat(path, &statresult) == 0 else {
    |                      `- error: cannot find 'lstat' in scope
 62 |             unsafe print("lstat failed (\(errno)) \(String(cString: strerror(errno)))!")
 63 |             return nil
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:62:43: error: cannot find 'errno' in scope
 60 | #if compiler(>=6.2)
 61 |         guard unsafe lstat(path, &statresult) == 0 else {
 62 |             unsafe print("lstat failed (\(errno)) \(String(cString: strerror(errno)))!")
    |                                           `- error: cannot find 'errno' in scope
 63 |             return nil
 64 |         }
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:62:69: error: cannot find 'strerror' in scope
 60 | #if compiler(>=6.2)
 61 |         guard unsafe lstat(path, &statresult) == 0 else {
 62 |             unsafe print("lstat failed (\(errno)) \(String(cString: strerror(errno)))!")
    |                                                                     `- error: cannot find 'strerror' in scope
 63 |             return nil
 64 |         }
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:62:78: error: cannot find 'errno' in scope
 60 | #if compiler(>=6.2)
 61 |         guard unsafe lstat(path, &statresult) == 0 else {
 62 |             unsafe print("lstat failed (\(errno)) \(String(cString: strerror(errno)))!")
    |                                                                              `- error: cannot find 'errno' in scope
 63 |             return nil
 64 |         }
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:76:35: error: cannot find 'readlink' in scope
 74 | #if compiler(>=6.2)
 75 |         defer { unsafe dstPtr.deallocate() }
 76 |         let readlinkSize = unsafe readlink(path, dstPtr, allocationSize)
    |                                   `- error: cannot find 'readlink' in scope
 77 | #else
 78 |         defer { dstPtr.deallocate() }
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:83:39: error: cannot find 'errno' in scope
 81 |         guard readlinkSize >= 0 else {
 82 | #if compiler(>=6.2)
 83 |             print("readlink failed (\(errno)) \(unsafe String(cString: strerror(errno)))!")
    |                                       `- error: cannot find 'errno' in scope
 84 | #else
 85 |             print("readlink failed (\(errno)) \(String(cString: strerror(errno)))!")
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:83:72: error: cannot find 'strerror' in scope
 81 |         guard readlinkSize >= 0 else {
 82 | #if compiler(>=6.2)
 83 |             print("readlink failed (\(errno)) \(unsafe String(cString: strerror(errno)))!")
    |                                                                        `- error: cannot find 'strerror' in scope
 84 | #else
 85 |             print("readlink failed (\(errno)) \(String(cString: strerror(errno)))!")
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:83:81: error: cannot find 'errno' in scope
 81 |         guard readlinkSize >= 0 else {
 82 | #if compiler(>=6.2)
 83 |             print("readlink failed (\(errno)) \(unsafe String(cString: strerror(errno)))!")
    |                                                                                 `- error: cannot find 'errno' in scope
 84 | #else
 85 |             print("readlink failed (\(errno)) \(String(cString: strerror(errno)))!")
[58/60] Compiling CorePathWrangler AbsolutePath.swift
/host/spi-builder-workspace/Sources/CorePathWrangler/AbsolutePath.swift:10:8: error: Unknown platform
 8 | import ucrt
 9 | #else
10 | #error("Unknown platform")
   |        `- error: Unknown platform
11 | #endif
12 | import CPathWrangler
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:10:8: error: Unknown platform
  8 | import ucrt
  9 | #else
 10 | #error("Unknown platform")
    |        `- error: Unknown platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/CorePathWrangler/AbsolutePath.swift:61:49: error: cannot find 'getcwd' in scope
59 |     public static var current: Self {
60 | #if compiler(>=6.2)
61 |         Self(pathString: unsafe String(cString: getcwd(nil, 0)))
   |                                                 `- error: cannot find 'getcwd' in scope
62 | #else
63 |         Self(pathString: String(cString: getcwd(nil, 0)))
/host/spi-builder-workspace/Sources/CorePathWrangler/AbsolutePath.swift:61:56: error: 'nil' requires a contextual type
59 |     public static var current: Self {
60 | #if compiler(>=6.2)
61 |         Self(pathString: unsafe String(cString: getcwd(nil, 0)))
   |                                                        `- error: 'nil' requires a contextual type
62 | #else
63 |         Self(pathString: String(cString: getcwd(nil, 0)))
[59/60] Compiling CorePathWrangler PathElement.swift
/host/spi-builder-workspace/Sources/CorePathWrangler/AbsolutePath.swift:10:8: error: Unknown platform
 8 | import ucrt
 9 | #else
10 | #error("Unknown platform")
   |        `- error: Unknown platform
11 | #endif
12 | import CPathWrangler
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:10:8: error: Unknown platform
  8 | import ucrt
  9 | #else
 10 | #error("Unknown platform")
    |        `- error: Unknown platform
 11 | #endif
 12 |
[60/60] Compiling CorePathWrangler PathComponentConvertible.swift
/host/spi-builder-workspace/Sources/CorePathWrangler/AbsolutePath.swift:10:8: error: Unknown platform
 8 | import ucrt
 9 | #else
10 | #error("Unknown platform")
   |        `- error: Unknown platform
11 | #endif
12 | import CPathWrangler
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:10:8: error: Unknown platform
  8 | import ucrt
  9 | #else
 10 | #error("Unknown platform")
    |        `- error: Unknown platform
 11 | #endif
 12 |
BUILD FAILURE 6.2 android