Build Information
Successful build of swift-gen, reference 0.4.0 (5bd20f
), with Swift 6.1 for Linux on 27 Apr 2025 19:37:34 UTC.
Swift 6 data race errors: 8
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pointfreeco/swift-gen.git
Reference: 0.4.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/pointfreeco/swift-gen
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at 5bd20fb Update README.md (#25)
Cloned https://github.com/pointfreeco/swift-gen.git
Revision (git rev-parse @):
5bd20fb662e1ead7ee47df6bb0a15398295f2e06
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/pointfreeco/swift-gen.git at 0.4.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/pointfreeco/swift-gen.git
https://github.com/pointfreeco/swift-gen.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "swift-gen",
"name" : "swift-gen",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Gen",
"targets" : [
"Gen"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GenTests",
"module_type" : "SwiftTarget",
"name" : "GenTests",
"path" : "Tests/GenTests",
"sources" : [
"GenTests.swift"
],
"target_dependencies" : [
"Gen"
],
"type" : "test"
},
{
"c99name" : "Gen",
"module_type" : "SwiftTarget",
"name" : "Gen",
"path" : "Sources/Gen",
"product_memberships" : [
"Gen"
],
"sources" : [
"AnyRandomNumberGenerator.swift",
"Gen.swift",
"LCRNG.swift",
"UIKit.swift",
"Xoshiro.swift",
"Zip.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling Gen Xoshiro.swift
[4/9] Emitting module Gen
/host/spi-builder-workspace/Sources/Gen/Gen.swift:308:21: warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'Gen<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value> {
| `- note: consider making generic struct 'Gen' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: (inout AnyRandomNumberGenerator) -> Value
:
306 | extension Gen where Value == Bool {
307 | /// A generator of random boolean values.
308 | public static let bool = Gen { rng in Bool.random(using: &rng) }
| |- warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'Gen<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
309 | }
310 |
/host/spi-builder-workspace/Sources/Gen/Gen.swift:502:21: warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value> {
| `- note: consider making generic struct 'Gen' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: (inout AnyRandomNumberGenerator) -> Value
:
500 |
501 | /// A generator of random numeric digits.
502 | public static let number = Gen.character(in: "0"..."9")
| |- warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'number' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
503 |
504 | /// A generator of uppercase letters.
/host/spi-builder-workspace/Sources/Gen/Gen.swift:505:21: warning: static property 'uppercaseLetter' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value> {
| `- note: consider making generic struct 'Gen' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: (inout AnyRandomNumberGenerator) -> Value
:
503 |
504 | /// A generator of uppercase letters.
505 | public static let uppercaseLetter = Gen.character(in: "A"..."Z")
| |- warning: static property 'uppercaseLetter' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uppercaseLetter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
506 |
507 | /// A generator of lowercase letters.
/host/spi-builder-workspace/Sources/Gen/Gen.swift:508:21: warning: static property 'lowercaseLetter' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value> {
| `- note: consider making generic struct 'Gen' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: (inout AnyRandomNumberGenerator) -> Value
:
506 |
507 | /// A generator of lowercase letters.
508 | public static let lowercaseLetter = Gen.character(in: "a"..."z")
| |- warning: static property 'lowercaseLetter' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowercaseLetter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
509 |
510 | /// A generator of uppercase and lowercase letters.
/host/spi-builder-workspace/Sources/Gen/Gen.swift:511:21: warning: static property 'letter' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value> {
| `- note: consider making generic struct 'Gen' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: (inout AnyRandomNumberGenerator) -> Value
:
509 |
510 | /// A generator of uppercase and lowercase letters.
511 | public static let letter = Gen<Character?>
| |- warning: static property 'letter' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
512 | .element(of: Array("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ") as [Character])
513 | .map { $0! }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:516:21: warning: static property 'letterOrNumber' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value> {
| `- note: consider making generic struct 'Gen' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: (inout AnyRandomNumberGenerator) -> Value
:
514 |
515 | /// A generator of letters and numbers.
516 | public static let letterOrNumber = Gen<Character?>
| |- warning: static property 'letterOrNumber' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letterOrNumber' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
517 | .element(
518 | of: Array("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789") as [Character]
/host/spi-builder-workspace/Sources/Gen/Gen.swift:523:21: warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'Gen<UnicodeScalar>' (aka 'Gen<Unicode.Scalar>') may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value> {
| `- note: consider making generic struct 'Gen' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: (inout AnyRandomNumberGenerator) -> Value
:
521 |
522 | /// A generator of ASCII characters.
523 | public static let ascii = Gen<UInt32>.int(in: 0...127)
| |- warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'Gen<UnicodeScalar>' (aka 'Gen<Unicode.Scalar>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ascii' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
524 | .map { UnicodeScalar($0)! }
525 |
/host/spi-builder-workspace/Sources/Gen/Gen.swift:527:21: warning: static property 'latin1' is not concurrency-safe because non-'Sendable' type 'Gen<UnicodeScalar>' (aka 'Gen<Unicode.Scalar>') may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value> {
| `- note: consider making generic struct 'Gen' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: (inout AnyRandomNumberGenerator) -> Value
:
525 |
526 | /// A generator of Latin-1 characters.
527 | public static let latin1 = Gen<UInt32>.int(in: 0...255)
| |- warning: static property 'latin1' is not concurrency-safe because non-'Sendable' type 'Gen<UnicodeScalar>' (aka 'Gen<Unicode.Scalar>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latin1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
528 | .map { UnicodeScalar($0)! }
529 |
[5/9] Compiling Gen AnyRandomNumberGenerator.swift
[6/9] Compiling Gen Gen.swift
/host/spi-builder-workspace/Sources/Gen/Gen.swift:308:21: warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'Gen<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value> {
| `- note: consider making generic struct 'Gen' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: (inout AnyRandomNumberGenerator) -> Value
:
306 | extension Gen where Value == Bool {
307 | /// A generator of random boolean values.
308 | public static let bool = Gen { rng in Bool.random(using: &rng) }
| |- warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'Gen<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
309 | }
310 |
/host/spi-builder-workspace/Sources/Gen/Gen.swift:502:21: warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value> {
| `- note: consider making generic struct 'Gen' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: (inout AnyRandomNumberGenerator) -> Value
:
500 |
501 | /// A generator of random numeric digits.
502 | public static let number = Gen.character(in: "0"..."9")
| |- warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'number' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
503 |
504 | /// A generator of uppercase letters.
/host/spi-builder-workspace/Sources/Gen/Gen.swift:505:21: warning: static property 'uppercaseLetter' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value> {
| `- note: consider making generic struct 'Gen' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: (inout AnyRandomNumberGenerator) -> Value
:
503 |
504 | /// A generator of uppercase letters.
505 | public static let uppercaseLetter = Gen.character(in: "A"..."Z")
| |- warning: static property 'uppercaseLetter' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uppercaseLetter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
506 |
507 | /// A generator of lowercase letters.
/host/spi-builder-workspace/Sources/Gen/Gen.swift:508:21: warning: static property 'lowercaseLetter' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value> {
| `- note: consider making generic struct 'Gen' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: (inout AnyRandomNumberGenerator) -> Value
:
506 |
507 | /// A generator of lowercase letters.
508 | public static let lowercaseLetter = Gen.character(in: "a"..."z")
| |- warning: static property 'lowercaseLetter' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowercaseLetter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
509 |
510 | /// A generator of uppercase and lowercase letters.
/host/spi-builder-workspace/Sources/Gen/Gen.swift:511:21: warning: static property 'letter' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value> {
| `- note: consider making generic struct 'Gen' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: (inout AnyRandomNumberGenerator) -> Value
:
509 |
510 | /// A generator of uppercase and lowercase letters.
511 | public static let letter = Gen<Character?>
| |- warning: static property 'letter' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
512 | .element(of: Array("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ") as [Character])
513 | .map { $0! }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:516:21: warning: static property 'letterOrNumber' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value> {
| `- note: consider making generic struct 'Gen' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: (inout AnyRandomNumberGenerator) -> Value
:
514 |
515 | /// A generator of letters and numbers.
516 | public static let letterOrNumber = Gen<Character?>
| |- warning: static property 'letterOrNumber' is not concurrency-safe because non-'Sendable' type 'Gen<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letterOrNumber' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
517 | .element(
518 | of: Array("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789") as [Character]
/host/spi-builder-workspace/Sources/Gen/Gen.swift:523:21: warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'Gen<UnicodeScalar>' (aka 'Gen<Unicode.Scalar>') may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value> {
| `- note: consider making generic struct 'Gen' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: (inout AnyRandomNumberGenerator) -> Value
:
521 |
522 | /// A generator of ASCII characters.
523 | public static let ascii = Gen<UInt32>.int(in: 0...127)
| |- warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'Gen<UnicodeScalar>' (aka 'Gen<Unicode.Scalar>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ascii' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
524 | .map { UnicodeScalar($0)! }
525 |
/host/spi-builder-workspace/Sources/Gen/Gen.swift:527:21: warning: static property 'latin1' is not concurrency-safe because non-'Sendable' type 'Gen<UnicodeScalar>' (aka 'Gen<Unicode.Scalar>') may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value> {
| `- note: consider making generic struct 'Gen' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: (inout AnyRandomNumberGenerator) -> Value
:
525 |
526 | /// A generator of Latin-1 characters.
527 | public static let latin1 = Gen<UInt32>.int(in: 0...255)
| |- warning: static property 'latin1' is not concurrency-safe because non-'Sendable' type 'Gen<UnicodeScalar>' (aka 'Gen<Unicode.Scalar>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latin1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
528 | .map { UnicodeScalar($0)! }
529 |
[7/9] Compiling Gen Zip.swift
[8/9] Compiling Gen LCRNG.swift
[9/9] Compiling Gen UIKit.swift
Build complete! (6.26s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-gen",
"name" : "swift-gen",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Gen",
"targets" : [
"Gen"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GenTests",
"module_type" : "SwiftTarget",
"name" : "GenTests",
"path" : "Tests/GenTests",
"sources" : [
"GenTests.swift"
],
"target_dependencies" : [
"Gen"
],
"type" : "test"
},
{
"c99name" : "Gen",
"module_type" : "SwiftTarget",
"name" : "Gen",
"path" : "Sources/Gen",
"product_memberships" : [
"Gen"
],
"sources" : [
"AnyRandomNumberGenerator.swift",
"Gen.swift",
"LCRNG.swift",
"UIKit.swift",
"Xoshiro.swift",
"Zip.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.