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 main (1bf318), with Swift 6.1 for Android on 5 Jun 2025 14:01:24 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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sersoft-gmbh/path-wrangler.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1bf318e Bump github.com/apple/swift-docc-plugin from 1.4.3 to 1.4.4
Cloned https://github.com/sersoft-gmbh/path-wrangler.git
Revision (git rev-parse @):
1bf318edc14407f0d86f842d9b075f7bb196a68d
SUCCESS checkout https://github.com/sersoft-gmbh/path-wrangler.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sersoft-gmbh/path-wrangler.git
https://github.com/sersoft-gmbh/path-wrangler.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms"
    }
  ],
  "manifest_display_name" : "path-wrangler",
  "name" : "path-wrangler",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CorePathWrangler",
      "targets" : [
        "CorePathWrangler"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PathWrangler",
      "targets" : [
        "PathWrangler"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PathWranglerTests",
      "module_type" : "SwiftTarget",
      "name" : "PathWranglerTests",
      "path" : "Tests/PathWranglerTests",
      "sources" : [
        "FileManager+PathProtocolTests.swift",
        "PathComponentConvertibleConformancesTests.swift",
        "URL+PathProtocolTests.swift"
      ],
      "target_dependencies" : [
        "PathWrangler"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PathWrangler",
      "module_type" : "SwiftTarget",
      "name" : "PathWrangler",
      "path" : "Sources/PathWrangler",
      "product_memberships" : [
        "PathWrangler"
      ],
      "sources" : [
        "Exports.swift",
        "FileManager+PathProtocol.swift",
        "PathComponentConvertibleConformances.swift",
        "URL+PathProtocol.swift"
      ],
      "target_dependencies" : [
        "CorePathWrangler"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CorePathWranglerTests",
      "module_type" : "SwiftTarget",
      "name" : "CorePathWranglerTests",
      "path" : "Tests/CorePathWranglerTests",
      "sources" : [
        "AbsolutePathTests.swift",
        "PathComponentConvertibleTests.swift",
        "PathElementTests.swift",
        "PathImplTests.swift",
        "PathProtocolTests.swift",
        "RelativePathTests.swift"
      ],
      "target_dependencies" : [
        "CorePathWrangler"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CorePathWrangler",
      "module_type" : "SwiftTarget",
      "name" : "CorePathWrangler",
      "path" : "Sources/CorePathWrangler",
      "product_dependencies" : [
        "Algorithms"
      ],
      "product_memberships" : [
        "CorePathWrangler",
        "PathWrangler"
      ],
      "sources" : [
        "AbsolutePath.swift",
        "PathComponentConvertible.swift",
        "PathElement.swift",
        "PathProtocol.swift",
        "RelativePath.swift",
        "_PathImpl.swift",
        "_PathProtocol.swift"
      ],
      "target_dependencies" : [
        "CPathWrangler"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CPathWrangler",
      "module_type" : "ClangTarget",
      "name" : "CPathWrangler",
      "path" : "Sources/CPathWrangler",
      "product_memberships" : [
        "CorePathWrangler",
        "PathWrangler"
      ],
      "sources" : [
        "pathhelpers.c",
        "stathelpers.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-docc-plugin
[1/5959] Fetching swift-algorithms
[5960/8027] Fetching swift-algorithms, swift-docc-plugin
Fetched https://github.com/apple/swift-algorithms from cache (0.60s)
[2068/2068] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.68s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (2.55s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.43s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.89s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.47s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3406] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.86s)
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/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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
[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-24593BA9C3E375BF.txt
[11/20] Compiling RealModule Real.swift
[12/21] Compiling RealModule RealFunctions.swift
[13/21] Compiling RealModule Float16+Real.swift
[14/21] Compiling RealModule ElementaryFunctions.swift
[15/21] Compiling RealModule Float+Real.swift
[16/21] Compiling RealModule AlgebraicField.swift
[17/21] Compiling RealModule ApproximateEquality.swift
[18/21] Compiling RealModule AugmentedArithmetic.swift
[19/21] Compiling RealModule Double+Real.swift
[20/21] Emitting module RealModule
[21/21] Compiling RealModule Float80+Real.swift
[23/47] Compiling Algorithms Compacted.swift
[24/47] Compiling Algorithms Cycle.swift
[25/47] Compiling Algorithms EitherSequence.swift
[26/47] Compiling Algorithms FirstNonNil.swift
[27/47] Compiling Algorithms Split.swift
[28/47] Compiling Algorithms Stride.swift
[29/47] Compiling Algorithms Suffix.swift
[30/50] Compiling Algorithms RandomSample.swift
[31/50] Compiling Algorithms Reductions.swift
[32/50] Compiling Algorithms Rotate.swift
[33/50] Compiling Algorithms Joined.swift
[34/50] Compiling Algorithms Keyed.swift
[35/50] Compiling Algorithms MinMax.swift
[36/50] Compiling Algorithms Partition.swift
[37/50] Compiling Algorithms Permutations.swift
[38/50] Compiling Algorithms Product.swift
[39/50] Compiling Algorithms FlattenCollection.swift
[40/50] Compiling Algorithms Grouped.swift
[41/50] Compiling Algorithms Indexed.swift
[42/50] Compiling Algorithms Intersperse.swift
[43/50] Compiling Algorithms Trim.swift
[44/50] Compiling Algorithms Unique.swift
[45/50] Compiling Algorithms Windows.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 RelativePath.swift
[53/59] Compiling CorePathWrangler _PathProtocol.swift
[54/59] Compiling CorePathWrangler _PathImpl.swift
/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 |         }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/59] Compiling CorePathWrangler PathComponentConvertible.swift
[56/59] Compiling CorePathWrangler PathProtocol.swift
[57/59] Compiling CorePathWrangler PathElement.swift
[58/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 |
[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/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling RealModule Real.swift
[5/14] Compiling RealModule Float80+Real.swift
[6/14] Compiling RealModule RealFunctions.swift
[7/14] Compiling RealModule ElementaryFunctions.swift
[8/14] Compiling RealModule Float16+Real.swift
[9/14] Compiling RealModule Float+Real.swift
[10/14] Compiling RealModule AugmentedArithmetic.swift
[11/14] Compiling RealModule Double+Real.swift
[12/14] Emitting module RealModule
[13/14] Compiling RealModule AlgebraicField.swift
[14/14] Compiling RealModule ApproximateEquality.swift
[16/40] Compiling Algorithms Compacted.swift
[17/40] Compiling Algorithms Cycle.swift
[18/40] Compiling Algorithms EitherSequence.swift
[19/40] Compiling Algorithms FirstNonNil.swift
[20/43] Compiling Algorithms Split.swift
[21/43] Compiling Algorithms Stride.swift
[22/43] Compiling Algorithms Suffix.swift
[23/43] Compiling Algorithms Trim.swift
[24/43] Compiling Algorithms Unique.swift
[25/43] Compiling Algorithms Windows.swift
[26/43] Compiling Algorithms Partition.swift
[27/43] Compiling Algorithms Permutations.swift
[28/43] Compiling Algorithms Product.swift
[29/43] Compiling Algorithms Joined.swift
[30/43] Compiling Algorithms Keyed.swift
[31/43] Compiling Algorithms MinMax.swift
[32/43] Compiling Algorithms RandomSample.swift
[33/43] Compiling Algorithms Reductions.swift
[34/43] Compiling Algorithms Rotate.swift
[35/43] Compiling Algorithms FlattenCollection.swift
[36/43] Compiling Algorithms Grouped.swift
[37/43] Compiling Algorithms Indexed.swift
[38/43] Compiling Algorithms Intersperse.swift
[39/43] Compiling Algorithms AdjacentPairs.swift
[40/43] Compiling Algorithms Chain.swift
[41/43] Compiling Algorithms Chunked.swift
[42/43] Compiling Algorithms Combinations.swift
[43/43] Emitting module Algorithms
[45/52] Compiling CorePathWrangler RelativePath.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/52] 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 |
[47/52] Compiling CorePathWrangler _PathProtocol.swift
[48/52] Compiling CorePathWrangler _PathImpl.swift
/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 |         }
[49/52] Compiling CorePathWrangler PathProtocol.swift
[50/52] Compiling CorePathWrangler PathComponentConvertible.swift
[51/52] Compiling CorePathWrangler PathElement.swift
[52/52] 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/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.1 android