The Swift Package Index logo.Swift Package Index

Build Information

Successful build of IsoCountryCodes, reference 1.0.3 (f66725), with Swift 6.1 for Android on 31 May 2025 05:01:28 UTC.

Swift 6 data race errors: 1

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 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/funky-monkey/IsoCountryCodes.git
Reference: 1.0.3
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/funky-monkey/IsoCountryCodes
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at f667254 Merge pull request #20 from shagedorn/add-kosovo
Cloned https://github.com/funky-monkey/IsoCountryCodes.git
Revision (git rev-parse @):
f6672549f8d99bb6a8c7bc5233bc8630bb92c172
SUCCESS checkout https://github.com/funky-monkey/IsoCountryCodes.git at 1.0.3
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/funky-monkey/IsoCountryCodes.git
https://github.com/funky-monkey/IsoCountryCodes.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "IsoCountryCodes",
  "name" : "IsoCountryCodes",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "IsoCountryCodes",
      "targets" : [
        "IsoCountryCodes"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "IsoCountryCodesTests",
      "module_type" : "SwiftTarget",
      "name" : "IsoCountryCodesTests",
      "path" : "Tests",
      "sources" : [
        "IsoCountryCodesTests.swift"
      ],
      "target_dependencies" : [
        "IsoCountryCodes"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IsoCountryCodes",
      "module_type" : "SwiftTarget",
      "name" : "IsoCountryCodes",
      "path" : "Sources",
      "product_memberships" : [
        "IsoCountryCodes"
      ],
      "sources" : [
        "IsoCountries.swift",
        "IsoCountryCodes.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/5] Emitting module IsoCountryCodes
/host/spi-builder-workspace/Sources/IsoCountries.swift:44:23: warning: static property 'allCountries' is not concurrency-safe because non-'Sendable' type '[IsoCountryInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | //
  8 |
  9 | public struct IsoCountryInfo {
    |               `- note: consider making struct 'IsoCountryInfo' conform to the 'Sendable' protocol
 10 |
 11 |     public let name: String
    :
 42 |
 43 |     // swiftlint:disable line_length
 44 |     public static let allCountries: [IsoCountryInfo] = [
    |                       |- warning: static property 'allCountries' is not concurrency-safe because non-'Sendable' type '[IsoCountryInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'allCountries' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         IsoCountryInfo(name: "Afghanistan", numeric: "004", alpha2: "AF", alpha3: "AFG", calling: "+93", currency: "AFN", continent: "AS", fractionDigits: 2),
 46 |         IsoCountryInfo(name: "Åland Islands", numeric: "248", alpha2: "AX", alpha3: "ALA", calling: "+358", currency: "FIM", continent: "EU", fractionDigits: 2),
[4/5] Compiling IsoCountryCodes IsoCountryCodes.swift
[5/5] Compiling IsoCountryCodes IsoCountries.swift
/host/spi-builder-workspace/Sources/IsoCountries.swift:44:23: warning: static property 'allCountries' is not concurrency-safe because non-'Sendable' type '[IsoCountryInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | //
  8 |
  9 | public struct IsoCountryInfo {
    |               `- note: consider making struct 'IsoCountryInfo' conform to the 'Sendable' protocol
 10 |
 11 |     public let name: String
    :
 42 |
 43 |     // swiftlint:disable line_length
 44 |     public static let allCountries: [IsoCountryInfo] = [
    |                       |- warning: static property 'allCountries' is not concurrency-safe because non-'Sendable' type '[IsoCountryInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'allCountries' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         IsoCountryInfo(name: "Afghanistan", numeric: "004", alpha2: "AF", alpha3: "AFG", calling: "+93", currency: "AFN", continent: "AS", fractionDigits: 2),
 46 |         IsoCountryInfo(name: "Åland Islands", numeric: "248", alpha2: "AX", alpha3: "ALA", calling: "+358", currency: "FIM", continent: "EU", fractionDigits: 2),
Build complete! (8.76s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "IsoCountryCodes",
  "name" : "IsoCountryCodes",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "IsoCountryCodes",
      "targets" : [
        "IsoCountryCodes"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "IsoCountryCodesTests",
      "module_type" : "SwiftTarget",
      "name" : "IsoCountryCodesTests",
      "path" : "Tests",
      "sources" : [
        "IsoCountryCodesTests.swift"
      ],
      "target_dependencies" : [
        "IsoCountryCodes"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IsoCountryCodes",
      "module_type" : "SwiftTarget",
      "name" : "IsoCountryCodes",
      "path" : "Sources",
      "product_memberships" : [
        "IsoCountryCodes"
      ],
      "sources" : [
        "IsoCountries.swift",
        "IsoCountryCodes.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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
Done.