Build Information
Successful build of swift-gen, reference 0.4.0 (5bd20f
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 22:57:20 UTC.
Swift 6 data race errors: 8
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pointfreeco/swift-gen.git
Reference: 0.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-gen",
"name": "swift-gen",
"url": "https://github.com/pointfreeco/swift-gen.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-gen",
"dependencies": [
]
}
]
}
Fetching https://github.com/pointfreeco/swift-gen.git
[1/696] Fetching swift-gen
Fetched https://github.com/pointfreeco/swift-gen.git from cache (0.92s)
Creating working copy for https://github.com/pointfreeco/swift-gen.git
Working copy of https://github.com/pointfreeco/swift-gen.git resolved at 0.4.0 (5bd20fb)
warning: '.resolve-product-dependencies': dependency 'swift-gen' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/pointfreeco/swift-gen.git
{
"dependencies" : [
],
"manifest_display_name" : "swift-gen",
"name" : "swift-gen",
"path" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/9] Compiling Gen AnyRandomNumberGenerator.swift
[4/9] Compiling Gen Zip.swift
[5/9] Compiling Gen UIKit.swift
[6/9] Compiling Gen Xoshiro.swift
[7/9] Compiling Gen LCRNG.swift
[8/9] Emitting module Gen
/Users/admin/builder/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: annotate 'bool' 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
309 | }
310 |
/Users/admin/builder/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: annotate 'number' 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
503 |
504 | /// A generator of uppercase letters.
/Users/admin/builder/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: annotate 'uppercaseLetter' 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
506 |
507 | /// A generator of lowercase letters.
/Users/admin/builder/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: annotate 'lowercaseLetter' 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
509 |
510 | /// A generator of uppercase and lowercase letters.
/Users/admin/builder/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: annotate 'letter' 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
512 | .element(of: Array("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ") as [Character])
513 | .map { $0! }
/Users/admin/builder/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: annotate 'letterOrNumber' 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
517 | .element(
518 | of: Array("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789") as [Character]
/Users/admin/builder/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: annotate 'ascii' 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
524 | .map { UnicodeScalar($0)! }
525 |
/Users/admin/builder/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: annotate 'latin1' 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
528 | .map { UnicodeScalar($0)! }
529 |
[9/9] Compiling Gen Gen.swift
/Users/admin/builder/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: annotate 'bool' 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
309 | }
310 |
/Users/admin/builder/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: annotate 'number' 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
503 |
504 | /// A generator of uppercase letters.
/Users/admin/builder/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: annotate 'uppercaseLetter' 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
506 |
507 | /// A generator of lowercase letters.
/Users/admin/builder/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: annotate 'lowercaseLetter' 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
509 |
510 | /// A generator of uppercase and lowercase letters.
/Users/admin/builder/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: annotate 'letter' 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
512 | .element(of: Array("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ") as [Character])
513 | .map { $0! }
/Users/admin/builder/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: annotate 'letterOrNumber' 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
517 | .element(
518 | of: Array("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789") as [Character]
/Users/admin/builder/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: annotate 'ascii' 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
524 | .map { UnicodeScalar($0)! }
525 |
/Users/admin/builder/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: annotate 'latin1' 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
528 | .map { UnicodeScalar($0)! }
529 |
Build complete! (4.90s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-gen",
"name" : "swift-gen",
"path" : "/Users/admin/builder/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"
}
Done.