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 swift-system, reference 0.0.1 (8ffa04), with Swift 6.1 for Android on 29 May 2025 01:42:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/PureSwift/swift-system.git
Reference: 0.0.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/PureSwift/swift-system
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at 8ffa04c Initial version of Swift System
Cloned https://github.com/PureSwift/swift-system.git
Revision (git rev-parse @):
8ffa04c0a0592e6f4f9c30926dedd8fa1c5371f9
SUCCESS checkout https://github.com/PureSwift/swift-system.git at 0.0.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/PureSwift/swift-system.git
https://github.com/PureSwift/swift-system.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-system",
  "name" : "swift-system",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SystemPackage",
      "targets" : [
        "SystemPackage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SystemTests",
      "module_type" : "SwiftTarget",
      "name" : "SystemTests",
      "path" : "Tests/SystemTests",
      "sources" : [
        "ErrnoTest.swift",
        "FileOperationsTest.swift",
        "FilePathTest.swift",
        "FileTypesTest.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SystemPackage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SystemPackage",
      "module_type" : "SwiftTarget",
      "name" : "SystemPackage",
      "path" : "Sources/System",
      "product_memberships" : [
        "SystemPackage"
      ],
      "sources" : [
        "DarwinPlatformConstants.swift",
        "Errno.swift",
        "FileDescriptor.swift",
        "FileHelpers.swift",
        "FileOperations.swift",
        "FilePath.swift",
        "FilePermissions.swift",
        "LinuxPlatformConstants.swift",
        "Platform.swift",
        "Util.swift"
      ],
      "target_dependencies" : [
        "SystemInternals"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SystemInternals",
      "module_type" : "SwiftTarget",
      "name" : "SystemInternals",
      "path" : "Sources/SystemInternals",
      "product_memberships" : [
        "SystemPackage"
      ],
      "sources" : [
        "Exports.swift"
      ],
      "target_dependencies" : [
        "CSystem"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSystem",
      "module_type" : "ClangTarget",
      "name" : "CSystem",
      "path" : "Sources/CSystem",
      "product_memberships" : [
        "SystemPackage"
      ],
      "sources" : [
        "shims.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/4] Write sources
[2/4] Write swift-version-24593BA9C3E375BF.txt
[3/4] Compiling CSystem shims.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module SystemInternals
/host/spi-builder-workspace/Sources/SystemInternals/Exports.swift:17:8: error: no such module 'Glibc'
15 | import Darwin
16 | #elseif os(Linux) || os(FreeBSD) || os(Android)
17 | import Glibc
   |        `- error: no such module 'Glibc'
18 | #else
19 | #error("Unsupported Platform")
[6/6] Compiling SystemInternals Exports.swift
/host/spi-builder-workspace/Sources/SystemInternals/Exports.swift:17:8: error: no such module 'Glibc'
15 | import Darwin
16 | #elseif os(Linux) || os(FreeBSD) || os(Android)
17 | import Glibc
   |        `- error: no such module 'Glibc'
18 | #else
19 | #error("Unsupported Platform")
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module SystemInternals
/host/spi-builder-workspace/Sources/SystemInternals/Exports.swift:17:8: error: no such module 'Glibc'
15 | import Darwin
16 | #elseif os(Linux) || os(FreeBSD) || os(Android)
17 | import Glibc
   |        `- error: no such module 'Glibc'
18 | #else
19 | #error("Unsupported Platform")
[3/3] Compiling SystemInternals Exports.swift
/host/spi-builder-workspace/Sources/SystemInternals/Exports.swift:17:8: error: no such module 'Glibc'
15 | import Darwin
16 | #elseif os(Linux) || os(FreeBSD) || os(Android)
17 | import Glibc
   |        `- error: no such module 'Glibc'
18 | #else
19 | #error("Unsupported Platform")
BUILD FAILURE 6.1 android