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.swift, reference 1.4.1 (8e355c), with Swift 6.1 for Android on 28 May 2025 22:13:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/mxcl/path.swift.git
Reference: 1.4.1
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/mxcl/path.swift
 * tag               1.4.1      -> FETCH_HEAD
HEAD is now at 8e355c2 Rename Path->Bool.swift to PathToBool.swift
Cloned https://github.com/mxcl/path.swift.git
Revision (git rev-parse @):
8e355c28e9393c42e58b18c54cace2c42c98a616
SUCCESS checkout https://github.com/mxcl/path.swift.git at 1.4.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mxcl/path.swift.git
https://github.com/mxcl/path.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Path.swift",
  "name" : "Path.swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Path",
      "targets" : [
        "Path"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "PathTests",
      "module_type" : "SwiftTarget",
      "name" : "PathTests",
      "path" : "Tests/PathTests",
      "sources" : [
        "PathTests+ls().swift",
        "PathTests.swift",
        "TemporaryDirectory.swift",
        "XCTestManifests.swift",
        "etc.swift"
      ],
      "target_dependencies" : [
        "Path"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Path",
      "module_type" : "SwiftTarget",
      "name" : "Path",
      "path" : "Sources",
      "product_memberships" : [
        "Path"
      ],
      "sources" : [
        "Extensions.swift",
        "Path+Attributes.swift",
        "Path+Codable.swift",
        "Path+CommonDirectories.swift",
        "Path+FileManager.swift",
        "Path+StringConvertibles.swift",
        "Path+ls.swift",
        "Path.swift",
        "PathToBool.swift",
        "Pathish.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/12] Emitting module Path
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[4/13] Compiling Path Path.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[5/13] Compiling Path Path+StringConvertibles.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[6/13] Compiling Path PathToBool.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[7/13] Compiling Path Path+ls.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[8/13] Compiling Path Path+Codable.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[9/13] Compiling Path Path+CommonDirectories.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[10/13] Compiling Path Extensions.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[11/13] Compiling Path Path+Attributes.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[12/13] Compiling Path Path+FileManager.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[13/13] Compiling Path Pathish.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling Path Path+FileManager.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[3/11] Compiling Path PathToBool.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[4/12] Compiling Path Path+StringConvertibles.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[5/12] Compiling Path Path+Codable.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[6/12] Compiling Path Path+CommonDirectories.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[7/12] Compiling Path Path.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[8/12] Compiling Path Path+ls.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/12] Emitting module Path
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[10/12] Compiling Path Extensions.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[11/12] Compiling Path Path+Attributes.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[12/12] Compiling Path Pathish.swift
/host/spi-builder-workspace/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
BUILD FAILURE 6.1 android