Build Information
Successful build of EnigmaKit, reference 1.1.0 (85eea4
), with Swift 6.0 (beta) for Linux on 23 Jul 2024 10:29:40 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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.47.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mikaoj/EnigmaKit.git
Reference: 1.1.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/mikaoj/EnigmaKit
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at 85eea48 Bumped version to 1.1.0
Cloned https://github.com/mikaoj/EnigmaKit.git
Revision (git rev-parse @):
85eea48667d754bf11a4820b9eec9990e6edadc3
SUCCESS checkout https://github.com/mikaoj/EnigmaKit.git at 1.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/mikaoj/EnigmaKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:2437f24e80aef9b25b1058900b2010a68c7690bc33114243769a5a7e8e97de91
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling EnigmaKit Wheel.swift
/host/spi-builder-workspace/Sources/EnigmaKit/Wheel.swift:32:14: warning: static property 'alphabet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static var alphabet: [Character] = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]
| |- warning: static property 'alphabet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alphabet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'alphabet' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | var inner: [Character]
[4/10] Compiling EnigmaKit Reflector.swift
/host/spi-builder-workspace/Sources/EnigmaKit/Wheel.swift:32:14: warning: static property 'alphabet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static var alphabet: [Character] = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]
| |- warning: static property 'alphabet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alphabet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'alphabet' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | var inner: [Character]
[5/10] Compiling EnigmaKit Rotor.swift
/host/spi-builder-workspace/Sources/EnigmaKit/Wheel.swift:32:14: warning: static property 'alphabet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static var alphabet: [Character] = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]
| |- warning: static property 'alphabet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alphabet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'alphabet' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | var inner: [Character]
[6/10] Compiling EnigmaKit Spindle.swift
/host/spi-builder-workspace/Sources/EnigmaKit/Wheel.swift:32:14: warning: static property 'alphabet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static var alphabet: [Character] = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]
| |- warning: static property 'alphabet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alphabet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'alphabet' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | var inner: [Character]
[7/10] Compiling EnigmaKit Plugboard.swift
[8/10] Compiling EnigmaKit Array.swift
[9/10] Emitting module EnigmaKit
/host/spi-builder-workspace/Sources/EnigmaKit/Wheel.swift:32:14: warning: static property 'alphabet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static var alphabet: [Character] = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]
| |- warning: static property 'alphabet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alphabet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'alphabet' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | var inner: [Character]
[10/10] Compiling EnigmaKit Enigma.swift
Build complete! (10.84s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "EnigmaKit",
"name" : "EnigmaKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "EnigmaKit",
"targets" : [
"EnigmaKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "EnigmaKitTests",
"module_type" : "SwiftTarget",
"name" : "EnigmaKitTests",
"path" : "Tests/EnigmaKitTests",
"sources" : [
"EnigmaTests.swift",
"PlugboardTests.swift",
"ReflectorTests.swift",
"RotorTests.swift",
"SpindleTests.swift",
"WheelTests.swift"
],
"target_dependencies" : [
"EnigmaKit"
],
"type" : "test"
},
{
"c99name" : "EnigmaKit",
"module_type" : "SwiftTarget",
"name" : "EnigmaKit",
"path" : "Sources/EnigmaKit",
"product_memberships" : [
"EnigmaKit"
],
"sources" : [
"Array.swift",
"Enigma.swift",
"Plugboard.swift",
"Reflector.swift",
"Rotor.swift",
"Spindle.swift",
"Wheel.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:2437f24e80aef9b25b1058900b2010a68c7690bc33114243769a5a7e8e97de91
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.