Build Information
Successful build of SwiftCheck, reference master (748359
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 02:57:25 UTC.
Swift 6 data race errors: 1
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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bow-swift/SwiftCheck.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bow-swift/SwiftCheck
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 748359f Update Package.swift
Submodule path 'Carthage/Checkouts/FileCheck': checked out 'bd9cb30ceee1f21c02f51a7168f58471449807d8'
Submodule 'Carthage/Checkouts/FileCheck' (https://github.com/trill-lang/FileCheck.git) registered for path 'Carthage/Checkouts/FileCheck'
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/FileCheck'...
Cloned https://github.com/bow-swift/SwiftCheck.git
Revision (git rev-parse @):
748359f9a95edf94d0c4664102f104f56b1ff1fb
SUCCESS checkout https://github.com/bow-swift/SwiftCheck.git at master
========================================
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": "swiftcheck",
"name": "SwiftCheck",
"url": "https://github.com/bow-swift/SwiftCheck.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftCheck",
"dependencies": [
]
}
]
}
Fetching https://github.com/bow-swift/SwiftCheck.git
[1/4531] Fetching swiftcheck
Fetched https://github.com/bow-swift/SwiftCheck.git from cache (4.57s)
Creating working copy for https://github.com/bow-swift/SwiftCheck.git
Working copy of https://github.com/bow-swift/SwiftCheck.git resolved at master (748359f)
warning: '.resolve-product-dependencies': dependency 'swiftcheck' 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/bow-swift/SwiftCheck.git
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/17] Compiling SwiftCheck Testable.swift
[4/17] Compiling SwiftCheck Test.swift
[5/18] Compiling SwiftCheck WitnessedArbitrary.swift
[6/18] Compiling SwiftCheck Compose.swift
[7/18] Compiling SwiftCheck Gen.swift
[8/18] Compiling SwiftCheck State.swift
[9/18] Compiling SwiftCheck Lattice.swift
[10/18] Compiling SwiftCheck Modifiers.swift
[11/18] Compiling SwiftCheck Check.swift
[12/18] Compiling SwiftCheck CoArbitrary.swift
[13/18] Compiling SwiftCheck Rose.swift
[14/18] Compiling SwiftCheck Property.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCheck/Random.swift:103:13: warning: var 'theStdGen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 |
103 | private var theStdGen : StdGen = mkStdRNG(0)
| |- warning: var 'theStdGen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'theStdGen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'theStdGen' 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
104 |
105 | /// A library-provided standard random number generator.
[15/18] Compiling SwiftCheck Random.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCheck/Random.swift:103:13: warning: var 'theStdGen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 |
103 | private var theStdGen : StdGen = mkStdRNG(0)
| |- warning: var 'theStdGen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'theStdGen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'theStdGen' 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
104 |
105 | /// A library-provided standard random number generator.
[16/18] Compiling SwiftCheck Arbitrary.swift
[17/18] Compiling SwiftCheck Cartesian.swift
[18/18] Emitting module SwiftCheck
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCheck/Random.swift:103:13: warning: var 'theStdGen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 |
103 | private var theStdGen : StdGen = mkStdRNG(0)
| |- warning: var 'theStdGen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'theStdGen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'theStdGen' 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
104 |
105 | /// A library-provided standard random number generator.
Build complete! (15.09s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftCheck",
"name" : "SwiftCheck",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftCheck",
"targets" : [
"SwiftCheck"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftCheck",
"module_type" : "SwiftTarget",
"name" : "SwiftCheck",
"path" : "Sources/SwiftCheck",
"product_memberships" : [
"SwiftCheck"
],
"sources" : [
"Arbitrary.swift",
"Cartesian.swift",
"Check.swift",
"CoArbitrary.swift",
"Compose.swift",
"Gen.swift",
"Lattice.swift",
"Modifiers.swift",
"Property.swift",
"Random.swift",
"Rose.swift",
"State.swift",
"Test.swift",
"Testable.swift",
"WitnessedArbitrary.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.