Build Information
Successful build of FeatureToggles, reference 0.1.5 (3a39be
), with Swift 6.1 for Android on 28 May 2025 18:13:03 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -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/invia-flights/swift-feature-toggles.git
Reference: 0.1.5
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/invia-flights/swift-feature-toggles
* tag 0.1.5 -> FETCH_HEAD
HEAD is now at 3a39bee Lower `swift-tools-version` requirement
Cloned https://github.com/invia-flights/swift-feature-toggles.git
Revision (git rev-parse @):
3a39bee52f105b5d6b545d47bb72dbbed806ac5d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/invia-flights/swift-feature-toggles.git at 0.1.5
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/invia-flights/swift-feature-toggles.git
https://github.com/invia-flights/swift-feature-toggles.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin.git"
}
],
"manifest_display_name" : "FeatureToggles",
"name" : "FeatureToggles",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "FeatureToggles",
"targets" : [
"FeatureToggles"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FeatureTogglesTests",
"module_type" : "SwiftTarget",
"name" : "FeatureTogglesTests",
"path" : "Tests/FeatureTogglesTests",
"sources" : [
"FeatureTogglesTests.swift"
],
"target_dependencies" : [
"FeatureToggles"
],
"type" : "test"
},
{
"c99name" : "FeatureToggles",
"module_type" : "SwiftTarget",
"name" : "FeatureToggles",
"path" : "Sources/FeatureToggles",
"product_memberships" : [
"FeatureToggles"
],
"sources" : [
"FeatureToggle.swift",
"FeatureToggleKey.swift",
"FeatureToggleValues.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -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
Fetching https://github.com/apple/swift-docc-plugin.git
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.41s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.3 (1.01s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.43s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.99s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.3
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/8] Emitting module FeatureToggles
/host/spi-builder-workspace/Sources/FeatureToggles/FeatureToggleValues.swift:8:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// A shared instance.
8 | public static var shared = FeatureToggleValues()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | internal let userDefaults: UserDefaults
/host/spi-builder-workspace/Sources/FeatureToggles/FeatureToggleValues.swift:78:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
76 | }
77 |
78 | extension UserDefaults: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
79 |
[6/8] Compiling FeatureToggles FeatureToggle.swift
[7/8] Compiling FeatureToggles FeatureToggleKey.swift
[8/8] Compiling FeatureToggles FeatureToggleValues.swift
/host/spi-builder-workspace/Sources/FeatureToggles/FeatureToggleValues.swift:8:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// A shared instance.
8 | public static var shared = FeatureToggleValues()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | internal let userDefaults: UserDefaults
/host/spi-builder-workspace/Sources/FeatureToggles/FeatureToggleValues.swift:78:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
76 | }
77 |
78 | extension UserDefaults: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
79 |
Build complete! (22.91s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin.git"
}
],
"manifest_display_name" : "FeatureToggles",
"name" : "FeatureToggles",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "FeatureToggles",
"targets" : [
"FeatureToggles"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FeatureTogglesTests",
"module_type" : "SwiftTarget",
"name" : "FeatureTogglesTests",
"path" : "Tests/FeatureTogglesTests",
"sources" : [
"FeatureTogglesTests.swift"
],
"target_dependencies" : [
"FeatureToggles"
],
"type" : "test"
},
{
"c99name" : "FeatureToggles",
"module_type" : "SwiftTarget",
"name" : "FeatureToggles",
"path" : "Sources/FeatureToggles",
"product_memberships" : [
"FeatureToggles"
],
"sources" : [
"FeatureToggle.swift",
"FeatureToggleKey.swift",
"FeatureToggleValues.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
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.