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 Version, reference 0.8.0 (fd4b0e), with Swift 6.1 for Android on 27 May 2025 16:46:11 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/mrackwitz/Version.git
Reference: 0.8.0
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/mrackwitz/Version
 * tag               0.8.0      -> FETCH_HEAD
HEAD is now at fd4b0eb Bumped version to 0.8.0
Cloned https://github.com/mrackwitz/Version.git
Revision (git rev-parse @):
fd4b0eb5756aa7f1c33977fb626cf37d2140a3a0
SUCCESS checkout https://github.com/mrackwitz/Version.git at 0.8.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mrackwitz/Version.git
https://github.com/mrackwitz/Version.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Version",
  "name" : "Version",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Version",
      "targets" : [
        "Version"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VersionTests",
      "module_type" : "SwiftTarget",
      "name" : "VersionTests",
      "path" : "Tests/VersionTests",
      "sources" : [
        "VersionParserTests.swift",
        "VersionTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Version"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Version",
      "module_type" : "SwiftTarget",
      "name" : "Version",
      "path" : "Sources/Version",
      "product_memberships" : [
        "Version"
      ],
      "sources" : [
        "Regex.swift",
        "Version.swift",
        "VersionParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
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: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
[3/6] Compiling Version Regex.swift
[4/6] Compiling Version Version.swift
/host/spi-builder-workspace/Sources/Version/Version.swift:87:28: warning: static property 'strictParser' is not concurrency-safe because non-'Sendable' type 'VersionParser' may have shared mutable state; this is an error in the Swift 6 language mode
 85 |     public var build: String?
 86 |
 87 |     fileprivate static let strictParser = VersionParser(strict: true)
    |                            |- warning: static property 'strictParser' is not concurrency-safe because non-'Sendable' type 'VersionParser' may have shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: add '@MainActor' to make static property 'strictParser' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |     fileprivate static let lenientParser = VersionParser(strict: false)
 89 |
/host/spi-builder-workspace/Sources/Version/VersionParser.swift:20:15: note: consider making struct 'VersionParser' conform to the 'Sendable' protocol
 18 | }
 19 |
 20 | public struct VersionParser {
    |               `- note: consider making struct 'VersionParser' conform to the 'Sendable' protocol
 21 |     static func versionPattern(strict: Bool, anchored: Bool) -> Regex {
 22 |         let number = VersionParser.numberPatternString(strict: strict)
/host/spi-builder-workspace/Sources/Version/Version.swift:88:28: warning: static property 'lenientParser' is not concurrency-safe because non-'Sendable' type 'VersionParser' may have shared mutable state; this is an error in the Swift 6 language mode
 86 |
 87 |     fileprivate static let strictParser = VersionParser(strict: true)
 88 |     fileprivate static let lenientParser = VersionParser(strict: false)
    |                            |- warning: static property 'lenientParser' is not concurrency-safe because non-'Sendable' type 'VersionParser' may have shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: add '@MainActor' to make static property 'lenientParser' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |
 90 |     /// Initialize a version from its components.
/host/spi-builder-workspace/Sources/Version/VersionParser.swift:20:15: note: consider making struct 'VersionParser' conform to the 'Sendable' protocol
 18 | }
 19 |
 20 | public struct VersionParser {
    |               `- note: consider making struct 'VersionParser' conform to the 'Sendable' protocol
 21 |     static func versionPattern(strict: Bool, anchored: Bool) -> Regex {
 22 |         let number = VersionParser.numberPatternString(strict: strict)
/host/spi-builder-workspace/Sources/Version/Version.swift:284:62: error: cannot find 'kCFBundleVersionKey' in scope
282 |         return nil
283 |         #else
284 |         return self.versionFromInfoDictionary(forKey: String(kCFBundleVersionKey))
    |                                                              `- error: cannot find 'kCFBundleVersionKey' in scope
285 |         #endif
286 |     }
[5/6] Emitting module Version
/host/spi-builder-workspace/Sources/Version/Version.swift:87:28: warning: static property 'strictParser' is not concurrency-safe because non-'Sendable' type 'VersionParser' may have shared mutable state; this is an error in the Swift 6 language mode
 85 |     public var build: String?
 86 |
 87 |     fileprivate static let strictParser = VersionParser(strict: true)
    |                            |- warning: static property 'strictParser' is not concurrency-safe because non-'Sendable' type 'VersionParser' may have shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: add '@MainActor' to make static property 'strictParser' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |     fileprivate static let lenientParser = VersionParser(strict: false)
 89 |
/host/spi-builder-workspace/Sources/Version/VersionParser.swift:20:15: note: consider making struct 'VersionParser' conform to the 'Sendable' protocol
 18 | }
 19 |
 20 | public struct VersionParser {
    |               `- note: consider making struct 'VersionParser' conform to the 'Sendable' protocol
 21 |     static func versionPattern(strict: Bool, anchored: Bool) -> Regex {
 22 |         let number = VersionParser.numberPatternString(strict: strict)
/host/spi-builder-workspace/Sources/Version/Version.swift:88:28: warning: static property 'lenientParser' is not concurrency-safe because non-'Sendable' type 'VersionParser' may have shared mutable state; this is an error in the Swift 6 language mode
 86 |
 87 |     fileprivate static let strictParser = VersionParser(strict: true)
 88 |     fileprivate static let lenientParser = VersionParser(strict: false)
    |                            |- warning: static property 'lenientParser' is not concurrency-safe because non-'Sendable' type 'VersionParser' may have shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: add '@MainActor' to make static property 'lenientParser' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |
 90 |     /// Initialize a version from its components.
/host/spi-builder-workspace/Sources/Version/VersionParser.swift:20:15: note: consider making struct 'VersionParser' conform to the 'Sendable' protocol
 18 | }
 19 |
 20 | public struct VersionParser {
    |               `- note: consider making struct 'VersionParser' conform to the 'Sendable' protocol
 21 |     static func versionPattern(strict: Bool, anchored: Bool) -> Regex {
 22 |         let number = VersionParser.numberPatternString(strict: strict)
[6/6] Compiling Version VersionParser.swift
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: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/5] Compiling Version VersionParser.swift
[3/5] Compiling Version Version.swift
/host/spi-builder-workspace/Sources/Version/Version.swift:284:62: error: cannot find 'kCFBundleVersionKey' in scope
282 |         return nil
283 |         #else
284 |         return self.versionFromInfoDictionary(forKey: String(kCFBundleVersionKey))
    |                                                              `- error: cannot find 'kCFBundleVersionKey' in scope
285 |         #endif
286 |     }
[4/5] Compiling Version Regex.swift
[5/5] Emitting module Version
BUILD FAILURE 6.1 android