Build Information
Successful build of EnigmaKit, reference master (85eea4
), with Swift 6.0 for Linux on 30 Oct 2024 22:28:06 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: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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mikaoj/EnigmaKit.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/mikaoj/EnigmaKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
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-1":/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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
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 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]
[4/10] Compiling EnigmaKit Plugboard.swift
[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 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]
[7/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]
[8/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]
[9/10] Compiling EnigmaKit Enigma.swift
[10/10] Compiling EnigmaKit Array.swift
Build complete! (12.34s)
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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.