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.8.0 (5de674), with Swift 6.2 (beta) for Android on 24 Jun 2025 02:52:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sersoft-gmbh/path-wrangler.git
Reference: 2.8.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.8.0      -> FETCH_HEAD
HEAD is now at 5de6741 Add Swift 6.1 support, drop Swift 5.9 support, update config files
Cloned https://github.com/sersoft-gmbh/path-wrangler.git
Revision (git rev-parse @):
5de67415729554b746dd7babd0ce68651aa0c462
SUCCESS checkout https://github.com/sersoft-gmbh/path-wrangler.git at 2.8.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-1":/host -w "$PWD" 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:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
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/2082] Fetching swift-docc-plugin
[251/8041] Fetching swift-docc-plugin, swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (0.81s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.82s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (4.31s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] 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.0.3 (0.91s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.42s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3416] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.41s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.91s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
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.4
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/10] Write sources
[6/10] Compiling _NumericsShims _NumericsShims.c
[7/10] Compiling CPathWrangler pathhelpers.c
[8/10] Compiling CPathWrangler stathelpers.c
[8/10] Write swift-version-8C5A4AE7A8CE2BA.txt
[11/20] Compiling RealModule Real.swift
[12/21] Compiling RealModule Float80+Real.swift
[13/21] Compiling RealModule Float16+Real.swift
[14/21] Compiling RealModule RealFunctions.swift
[15/21] Compiling RealModule ElementaryFunctions.swift
[16/21] Compiling RealModule AlgebraicField.swift
[17/21] Compiling RealModule ApproximateEquality.swift
[18/21] Emitting module RealModule
[19/21] Compiling RealModule AugmentedArithmetic.swift
[20/21] Compiling RealModule Double+Real.swift
[21/21] Compiling RealModule Float+Real.swift
[23/47] Compiling Algorithms RandomSample.swift
[24/47] Compiling Algorithms Reductions.swift
[25/47] Compiling Algorithms Rotate.swift
[26/50] Compiling Algorithms Split.swift
[27/50] Compiling Algorithms Stride.swift
[28/50] Compiling Algorithms Suffix.swift
[29/50] Compiling Algorithms Joined.swift
[30/50] Compiling Algorithms Keyed.swift
[31/50] Compiling Algorithms MinMax.swift
[32/50] Compiling Algorithms Partition.swift
[33/50] Compiling Algorithms Permutations.swift
[34/50] Compiling Algorithms Product.swift
[35/50] Compiling Algorithms Trim.swift
[36/50] Compiling Algorithms Unique.swift
[37/50] Compiling Algorithms Windows.swift
[38/50] Compiling Algorithms FlattenCollection.swift
[39/50] Compiling Algorithms Grouped.swift
[40/50] Compiling Algorithms Indexed.swift
[41/50] Compiling Algorithms Intersperse.swift
[42/50] Compiling Algorithms Compacted.swift
[43/50] Compiling Algorithms Cycle.swift
[44/50] Compiling Algorithms EitherSequence.swift
[45/50] Compiling Algorithms FirstNonNil.swift
[46/50] Compiling Algorithms AdjacentPairs.swift
[47/50] Compiling Algorithms Chain.swift
[48/50] Compiling Algorithms Chunked.swift
[49/50] Compiling Algorithms Combinations.swift
[50/50] Emitting module Algorithms
[52/59] 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 |
[53/59] 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 |
[54/59] 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 |         guard lstat(path, &statresult) == 0 else {
 61 |             print("lstat failed (\(errno)) \(String(cString: strerror(errno)))!")
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:60:15: error: cannot find 'lstat' in scope
 58 |     private func resolvedSymlink(at path: String) -> String? {
 59 |         var statresult = stat()
 60 |         guard lstat(path, &statresult) == 0 else {
    |               `- error: cannot find 'lstat' in scope
 61 |             print("lstat failed (\(errno)) \(String(cString: strerror(errno)))!")
 62 |             return nil
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:61:36: error: cannot find 'errno' in scope
 59 |         var statresult = stat()
 60 |         guard lstat(path, &statresult) == 0 else {
 61 |             print("lstat failed (\(errno)) \(String(cString: strerror(errno)))!")
    |                                    `- error: cannot find 'errno' in scope
 62 |             return nil
 63 |         }
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:61:62: error: cannot find 'strerror' in scope
 59 |         var statresult = stat()
 60 |         guard lstat(path, &statresult) == 0 else {
 61 |             print("lstat failed (\(errno)) \(String(cString: strerror(errno)))!")
    |                                                              `- error: cannot find 'strerror' in scope
 62 |             return nil
 63 |         }
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:61:71: error: cannot find 'errno' in scope
 59 |         var statresult = stat()
 60 |         guard lstat(path, &statresult) == 0 else {
 61 |             print("lstat failed (\(errno)) \(String(cString: strerror(errno)))!")
    |                                                                       `- error: cannot find 'errno' in scope
 62 |             return nil
 63 |         }
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:68:28: error: cannot find 'readlink' in scope
 66 |         let dstPtr = UnsafeMutablePointer<Int8>.allocate(capacity: allocationSize)
 67 |         defer { dstPtr.deallocate() }
 68 |         let readlinkSize = readlink(path, dstPtr, allocationSize)
    |                            `- error: cannot find 'readlink' in scope
 69 |         guard readlinkSize >= 0 else {
 70 |             print("readlink failed (\(errno)) \(String(cString: strerror(errno)))!")
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:70:39: error: cannot find 'errno' in scope
 68 |         let readlinkSize = readlink(path, dstPtr, allocationSize)
 69 |         guard readlinkSize >= 0 else {
 70 |             print("readlink failed (\(errno)) \(String(cString: strerror(errno)))!")
    |                                       `- error: cannot find 'errno' in scope
 71 |             return nil
 72 |         }
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:70:65: error: cannot find 'strerror' in scope
 68 |         let readlinkSize = readlink(path, dstPtr, allocationSize)
 69 |         guard readlinkSize >= 0 else {
 70 |             print("readlink failed (\(errno)) \(String(cString: strerror(errno)))!")
    |                                                                 `- error: cannot find 'strerror' in scope
 71 |             return nil
 72 |         }
/host/spi-builder-workspace/Sources/CorePathWrangler/_PathImpl.swift:70:74: error: cannot find 'errno' in scope
 68 |         let readlinkSize = readlink(path, dstPtr, allocationSize)
 69 |         guard readlinkSize >= 0 else {
 70 |             print("readlink failed (\(errno)) \(String(cString: strerror(errno)))!")
    |                                                                          `- error: cannot find 'errno' in scope
 71 |             return nil
 72 |         }
[55/59] 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 |
[56/59] 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)
[57/59] 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 |
[58/59] 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 |
[59/59] 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:60:42: error: cannot find 'getcwd' in scope
58 |     /// The current absolute path (cwd).
59 |     public static var current: Self {
60 |         Self(pathString: String(cString: getcwd(nil, 0)))
   |                                          `- error: cannot find 'getcwd' in scope
61 |     }
62 |
/host/spi-builder-workspace/Sources/CorePathWrangler/AbsolutePath.swift:60:49: error: 'nil' requires a contextual type
58 |     /// The current absolute path (cwd).
59 |     public static var current: Self {
60 |         Self(pathString: String(cString: getcwd(nil, 0)))
   |                                                 `- error: 'nil' requires a contextual type
61 |     }
62 |
BUILD FAILURE 6.2 android