Build Information
Successful build of IsoCountryCodes, reference master (f66725), with Swift 6.1 for Wasm on 31 May 2025 05:00:57 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/funky-monkey/IsoCountryCodes.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/funky-monkey/IsoCountryCodes
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: wasm
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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/5] Compiling IsoCountryCodes IsoCountryCodes.swift
[4/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),
[5/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),
Build complete! (21.50s)
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"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.