The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TimeSpecification, reference main (5a968a), with Swift 6.1 for Android on 29 May 2025 18:52:21 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/yockow/swifttimespecification.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/yockow/swifttimespecification
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5a968a5 Merge pull request #9 from YOCKOW/development
Cloned https://github.com/yockow/swifttimespecification.git
Revision (git rev-parse @):
5a968a5367c7a8556918534d9b7b3c8414eb8d01
SUCCESS checkout https://github.com/yockow/swifttimespecification.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yockow/swifttimespecification.git
https://github.com/yockow/swifttimespecification.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TimeSpecification",
  "name" : "TimeSpecification",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftTimeSpecification",
      "targets" : [
        "TimeSpecification"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2",
    "5",
    "6"
  ],
  "targets" : [
    {
      "c99name" : "TimeSpecificationTests",
      "module_type" : "SwiftTarget",
      "name" : "TimeSpecificationTests",
      "path" : "Tests/TimeSpecificationTests",
      "sources" : [
        "TimeSpecificationTests.swift"
      ],
      "target_dependencies" : [
        "TimeSpecification"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TimeSpecification",
      "module_type" : "SwiftTarget",
      "name" : "TimeSpecification",
      "path" : "Sources/TimeSpecification",
      "product_memberships" : [
        "SwiftTimeSpecification"
      ],
      "sources" : [
        "Date+TimeSpecification.swift",
        "TimeSpecification.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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 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/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/8] Emitting module TimeSpecification
/host/spi-builder-workspace/Sources/TimeSpecification/TimeSpecification.swift:13:8: error: no such module 'Glibc'
 11 | private typealias _CTimeSpec = mach_timespec_t
 12 | #else
 13 | import Glibc
    |        `- error: no such module 'Glibc'
 14 | private typealias _CTimeSpec = timespec
 15 | #endif
[4/8] Compiling TimeSpecification TimeSpecification.swift
/host/spi-builder-workspace/Sources/TimeSpecification/TimeSpecification.swift:13:8: error: no such module 'Glibc'
 11 | private typealias _CTimeSpec = mach_timespec_t
 12 | #else
 13 | import Glibc
    |        `- error: no such module 'Glibc'
 14 | private typealias _CTimeSpec = timespec
 15 | #endif
[5/8] Compiling TimeSpecification Date+TimeSpecification.swift
/host/spi-builder-workspace/Sources/TimeSpecification/TimeSpecification.swift:13:8: error: no such module 'Glibc'
 11 | private typealias _CTimeSpec = mach_timespec_t
 12 | #else
 13 | import Glibc
    |        `- error: no such module 'Glibc'
 14 | private typealias _CTimeSpec = timespec
 15 | #endif
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/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/7] Emitting module TimeSpecification
/host/spi-builder-workspace/Sources/TimeSpecification/TimeSpecification.swift:13:8: error: no such module 'Glibc'
 11 | private typealias _CTimeSpec = mach_timespec_t
 12 | #else
 13 | import Glibc
    |        `- error: no such module 'Glibc'
 14 | private typealias _CTimeSpec = timespec
 15 | #endif
[3/7] Compiling TimeSpecification TimeSpecification.swift
/host/spi-builder-workspace/Sources/TimeSpecification/TimeSpecification.swift:13:8: error: no such module 'Glibc'
 11 | private typealias _CTimeSpec = mach_timespec_t
 12 | #else
 13 | import Glibc
    |        `- error: no such module 'Glibc'
 14 | private typealias _CTimeSpec = timespec
 15 | #endif
[4/7] Compiling TimeSpecification Date+TimeSpecification.swift
/host/spi-builder-workspace/Sources/TimeSpecification/TimeSpecification.swift:13:8: error: no such module 'Glibc'
 11 | private typealias _CTimeSpec = mach_timespec_t
 12 | #else
 13 | import Glibc
    |        `- error: no such module 'Glibc'
 14 | private typealias _CTimeSpec = timespec
 15 | #endif
BUILD FAILURE 6.1 android