Build Information
Successful build of ruminant with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jdevuyst/ruminant.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jdevuyst/ruminant
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 7ca8661 Add hash value tests
Cloned https://github.com/jdevuyst/ruminant.git
Revision (git rev-parse @):
7ca86610b5051906fb6732b017d022a99c7360c4
SUCCESS checkout https://github.com/jdevuyst/ruminant.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/jdevuyst/ruminant.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/8] Compiling ruminant vector.swift
/Users/admin/builder/spi-builder-workspace/Sources/vector.swift:285:13: warning: var 'transientVectorCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
283 | //
284 |
285 | private var transientVectorCounter = 0
| |- warning: var 'transientVectorCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transientVectorCounter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transientVectorCounter' 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
286 |
287 | public struct TransientVector<T: Hashable> {
[5/8] Compiling ruminant chunkediterator.swift
[6/8] Compiling ruminant util.swift
[7/8] Emitting module ruminant
/Users/admin/builder/spi-builder-workspace/Sources/vector.swift:285:13: warning: var 'transientVectorCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
283 | //
284 |
285 | private var transientVectorCounter = 0
| |- warning: var 'transientVectorCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transientVectorCounter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transientVectorCounter' 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
286 |
287 | public struct TransientVector<T: Hashable> {
[8/8] Compiling ruminant tree.swift
Build complete! (17.47s)
Fetching https://github.com/typelift/SwiftCheck.git
[1/4870] Fetching swiftcheck
Fetched https://github.com/typelift/SwiftCheck.git from cache (1.23s)
Computing version for https://github.com/typelift/SwiftCheck.git
Computed https://github.com/typelift/SwiftCheck.git at 0.12.0 (0.69s)
Fetching https://github.com/llvm-swift/FileCheck.git
[1/479] Fetching filecheck
Fetched https://github.com/llvm-swift/FileCheck.git from cache (0.81s)
Computing version for https://github.com/llvm-swift/FileCheck.git
Computed https://github.com/llvm-swift/FileCheck.git at 0.2.6 (0.66s)
Fetching https://github.com/mxcl/Chalk.git
Fetching https://github.com/apple/swift-argument-parser
[1/81] Fetching chalk
[60/11760] Fetching chalk, swift-argument-parser
Fetched https://github.com/mxcl/Chalk.git from cache (1.57s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.57s)
Computing version for https://github.com/mxcl/Chalk.git
Computed https://github.com/mxcl/Chalk.git at 0.5.0 (0.66s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.4.0 (0.54s)
Creating working copy for https://github.com/mxcl/Chalk.git
Working copy of https://github.com/mxcl/Chalk.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.4.0
Creating working copy for https://github.com/llvm-swift/FileCheck.git
Working copy of https://github.com/llvm-swift/FileCheck.git resolved at 0.2.6
Creating working copy for https://github.com/typelift/SwiftCheck.git
Working copy of https://github.com/typelift/SwiftCheck.git resolved at 0.12.0
Build complete.
{
"dependencies" : [
{
"identity" : "swiftcheck",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/typelift/SwiftCheck.git"
}
],
"manifest_display_name" : "ruminant",
"name" : "ruminant",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ruminant",
"targets" : [
"ruminant"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ruminantTests",
"module_type" : "SwiftTarget",
"name" : "ruminantTests",
"path" : "Tests",
"product_dependencies" : [
"SwiftCheck"
],
"sources" : [
"ruminantTests/chunkediteratorTest.swift",
"ruminantTests/exampleTests.swift",
"ruminantTests/quickCheckTests.swift",
"ruminantTests/utilTest.swift",
"ruminantTests/vectorTest.swift"
],
"target_dependencies" : [
"ruminant"
],
"type" : "test"
},
{
"c99name" : "ruminant",
"module_type" : "SwiftTarget",
"name" : "ruminant",
"path" : ".",
"product_memberships" : [
"ruminant"
],
"sources" : [
"Sources/chunkediterator.swift",
"Sources/tree.swift",
"Sources/util.swift",
"Sources/vector.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.