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 Timepiece, reference master (459f96), with Swift 6.1 for Android on 27 May 2025 08:31:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/naoty/Timepiece.git
Reference: master
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/naoty/Timepiece
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 459f96a Merge pull request #100 from basememara/ios-refine
Cloned https://github.com/naoty/Timepiece.git
Revision (git rev-parse @):
459f96a0e41db762c96497e5c03bbc67673c07f4
SUCCESS checkout https://github.com/naoty/Timepiece.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/naoty/Timepiece.git
https://github.com/naoty/Timepiece.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Timepiece",
  "name" : "Timepiece",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "Timepiece",
      "targets" : [
        "Timepiece"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "TimepieceTests",
      "module_type" : "SwiftTarget",
      "name" : "TimepieceTests",
      "path" : "Tests/TimepieceTests",
      "sources" : [
        "Date+TimepieceTests.swift",
        "DateComponents+TimepieceTests.swift",
        "Int+TimepieceTests.swift",
        "String+TimepieceTests.swift"
      ],
      "target_dependencies" : [
        "Timepiece"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Timepiece",
      "module_type" : "SwiftTarget",
      "name" : "Timepiece",
      "path" : "Sources",
      "product_memberships" : [
        "Timepiece"
      ],
      "sources" : [
        "Date+Timepiece.swift",
        "DateComponents+Timepiece.swift",
        "Int+Timepiece.swift",
        "String+Timepiece.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
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
[3/7] Compiling Timepiece String+Timepiece.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Compiling Timepiece Date+Timepiece.swift
[5/7] Compiling Timepiece Int+Timepiece.swift
[6/7] Emitting module Timepiece
/host/spi-builder-workspace/Sources/DateComponents+Timepiece.swift:115:32: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
113 |     /// - returns: The created a `String` instance.
114 |     @available(OSX 10.10, *)
115 |     func string(in unitsStyle: DateComponentsFormatter.UnitsStyle) -> String? {
    |                                `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
116 |         let dateComponentsFormatter = DateComponentsFormatter()
117 |         dateComponentsFormatter.unitsStyle = unitsStyle
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
 1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
 2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
   |            `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
 3 |     public enum UnitsStyle : Int, Sendable {
 4 |         case positional
[7/7] Compiling Timepiece DateComponents+Timepiece.swift
/host/spi-builder-workspace/Sources/DateComponents+Timepiece.swift:115:32: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
113 |     /// - returns: The created a `String` instance.
114 |     @available(OSX 10.10, *)
115 |     func string(in unitsStyle: DateComponentsFormatter.UnitsStyle) -> String? {
    |                                `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
116 |         let dateComponentsFormatter = DateComponentsFormatter()
117 |         dateComponentsFormatter.unitsStyle = unitsStyle
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
 1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
 2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
   |            `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
 3 |     public enum UnitsStyle : Int, Sendable {
 4 |         case positional
/host/spi-builder-workspace/Sources/DateComponents+Timepiece.swift:116:39: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
114 |     @available(OSX 10.10, *)
115 |     func string(in unitsStyle: DateComponentsFormatter.UnitsStyle) -> String? {
116 |         let dateComponentsFormatter = DateComponentsFormatter()
    |                                       `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
117 |         dateComponentsFormatter.unitsStyle = unitsStyle
118 |         dateComponentsFormatter.allowedUnits = [.year, .month, .weekOfMonth, .day, .hour, .minute, .second]
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
 1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
 2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
   |            `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
 3 |     public enum UnitsStyle : Int, Sendable {
 4 |         case positional
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
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/6] Compiling Timepiece String+Timepiece.swift
[3/6] Compiling Timepiece Int+Timepiece.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Compiling Timepiece Date+Timepiece.swift
[5/6] Emitting module Timepiece
/host/spi-builder-workspace/Sources/DateComponents+Timepiece.swift:115:32: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
113 |     /// - returns: The created a `String` instance.
114 |     @available(OSX 10.10, *)
115 |     func string(in unitsStyle: DateComponentsFormatter.UnitsStyle) -> String? {
    |                                `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
116 |         let dateComponentsFormatter = DateComponentsFormatter()
117 |         dateComponentsFormatter.unitsStyle = unitsStyle
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
 1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
 2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
   |            `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
 3 |     public enum UnitsStyle : Int, Sendable {
 4 |         case positional
[6/6] Compiling Timepiece DateComponents+Timepiece.swift
/host/spi-builder-workspace/Sources/DateComponents+Timepiece.swift:115:32: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
113 |     /// - returns: The created a `String` instance.
114 |     @available(OSX 10.10, *)
115 |     func string(in unitsStyle: DateComponentsFormatter.UnitsStyle) -> String? {
    |                                `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
116 |         let dateComponentsFormatter = DateComponentsFormatter()
117 |         dateComponentsFormatter.unitsStyle = unitsStyle
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
 1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
 2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
   |            `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
 3 |     public enum UnitsStyle : Int, Sendable {
 4 |         case positional
/host/spi-builder-workspace/Sources/DateComponents+Timepiece.swift:116:39: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
114 |     @available(OSX 10.10, *)
115 |     func string(in unitsStyle: DateComponentsFormatter.UnitsStyle) -> String? {
116 |         let dateComponentsFormatter = DateComponentsFormatter()
    |                                       `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
117 |         dateComponentsFormatter.unitsStyle = unitsStyle
118 |         dateComponentsFormatter.allowedUnits = [.year, .month, .weekOfMonth, .day, .hour, .minute, .second]
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
 1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
 2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
   |            `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
 3 |     public enum UnitsStyle : Int, Sendable {
 4 |         case positional
BUILD FAILURE 6.1 android