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 package-latency-tools, reference 2.0.0-alpha.1 (50ddba), with Swift 6.1 for Android on 28 May 2025 13:20:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/ordo-one/package-latency-tools.git
Reference: 2.0.0-alpha.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/ordo-one/package-latency-tools
 * tag               2.0.0-alpha.1 -> FETCH_HEAD
HEAD is now at 50ddbaf Update Package.swift
Cloned https://github.com/ordo-one/package-latency-tools.git
Revision (git rev-parse @):
50ddbaf6c91442b7d75e847d0ad6e70b0f6199c2
SUCCESS checkout https://github.com/ordo-one/package-latency-tools.git at 2.0.0-alpha.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ordo-one/package-latency-tools.git
https://github.com/ordo-one/package-latency-tools.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics"
    }
  ],
  "manifest_display_name" : "package-latency-tools",
  "name" : "package-latency-tools",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "LatencyTimer",
      "targets" : [
        "LatencyTimer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LatencyStatistics",
      "targets" : [
        "LatencyStatistics"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LatencyStatisticsCLI",
      "targets" : [
        "LatencyStatisticsCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LatencyToolsTests",
      "module_type" : "SwiftTarget",
      "name" : "LatencyToolsTests",
      "path" : "Tests/LatencyToolsTests",
      "sources" : [
        "LatencyStatisticsTests.swift"
      ],
      "target_dependencies" : [
        "LatencyTimer",
        "LatencyStatistics"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LatencyTimer",
      "module_type" : "SwiftTarget",
      "name" : "LatencyTimer",
      "path" : "Sources/LatencyTimer",
      "product_memberships" : [
        "LatencyTimer"
      ],
      "sources" : [
        "LatencyTimer.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LatencyStatisticsCLI",
      "module_type" : "SwiftTarget",
      "name" : "LatencyStatisticsCLI",
      "path" : "Sources/LatencyStatisticsCLI",
      "product_memberships" : [
        "LatencyStatisticsCLI"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "LatencyStatistics"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "LatencyStatistics",
      "module_type" : "SwiftTarget",
      "name" : "LatencyStatistics",
      "path" : "Sources/LatencyStatistics",
      "product_dependencies" : [
        "Numerics"
      ],
      "product_memberships" : [
        "LatencyStatistics",
        "LatencyStatisticsCLI"
      ],
      "sources" : [
        "LatencyStatistics.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
Fetching https://github.com/apple/swift-numerics
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.65s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (4.22s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Building for debugging...
[0/15] Write sources
[6/15] Compiling _NumericsShims _NumericsShims.c
[7/15] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/27] Emitting module LatencyTimer
/host/spi-builder-workspace/Sources/LatencyTimer/LatencyTimer.swift:4:8: error: no such module 'Glibc'
 2 | import Darwin
 3 | #elseif os(Linux) || os(FreeBSD) || os(Android)
 4 | import Glibc
   |        `- error: no such module 'Glibc'
 5 | #else
 6 | #error("Unsupported Platform")
[10/27] Compiling LatencyTimer LatencyTimer.swift
/host/spi-builder-workspace/Sources/LatencyTimer/LatencyTimer.swift:4:8: error: no such module 'Glibc'
 2 | import Darwin
 3 | #elseif os(Linux) || os(FreeBSD) || os(Android)
 4 | import Glibc
   |        `- error: no such module 'Glibc'
 5 | #else
 6 | #error("Unsupported Platform")
[11/27] Compiling RealModule Real.swift
[12/28] Compiling RealModule Float16+Real.swift
[13/28] Compiling RealModule Float80+Real.swift
[14/28] Compiling RealModule RealFunctions.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/8] Write swift-version-24593BA9C3E375BF.txt
[2/20] Compiling RealModule Float80+Real.swift
[3/21] Compiling RealModule Real.swift
[4/21] Compiling RealModule RealFunctions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/21] Emitting module LatencyTimer
/host/spi-builder-workspace/Sources/LatencyTimer/LatencyTimer.swift:4:8: error: no such module 'Glibc'
 2 | import Darwin
 3 | #elseif os(Linux) || os(FreeBSD) || os(Android)
 4 | import Glibc
   |        `- error: no such module 'Glibc'
 5 | #else
 6 | #error("Unsupported Platform")
[6/21] Compiling LatencyTimer LatencyTimer.swift
/host/spi-builder-workspace/Sources/LatencyTimer/LatencyTimer.swift:4:8: error: no such module 'Glibc'
 2 | import Darwin
 3 | #elseif os(Linux) || os(FreeBSD) || os(Android)
 4 | import Glibc
   |        `- error: no such module 'Glibc'
 5 | #else
 6 | #error("Unsupported Platform")
[7/21] Compiling RealModule AugmentedArithmetic.swift
[8/21] Compiling RealModule Double+Real.swift
[9/21] Compiling RealModule AlgebraicField.swift
[10/21] Compiling RealModule ApproximateEquality.swift
[11/21] Compiling RealModule ElementaryFunctions.swift
[12/21] Compiling RealModule Float+Real.swift
[13/21] Compiling RealModule Float16+Real.swift
[14/21] Emitting module RealModule
[15/22] Wrapping AST for RealModule for debugging
BUILD FAILURE 6.1 android