Build Information
Successful build of swift-nuid, reference v0.3.0 (d9072d), with Swift 6.1 for macOS (SPM) on 23 Jul 2025 13:38:42 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Jarema/swift-nuid.git
Reference: v0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Jarema/swift-nuid
* tag v0.3.0 -> FETCH_HEAD
HEAD is now at d9072de Enable building on Linux
Cloned https://github.com/Jarema/swift-nuid.git
Revision (git rev-parse @):
d9072de7548b934d198ec40a89adae4f2fbd8c48
SUCCESS checkout https://github.com/Jarema/swift-nuid.git at v0.3.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-nuid",
"name": "swift-nuid",
"url": "https://github.com/Jarema/swift-nuid.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nuid",
"dependencies": [
]
}
]
}
Fetching https://github.com/Jarema/swift-nuid.git
[1/126] Fetching swift-nuid
Fetched https://github.com/Jarema/swift-nuid.git from cache (0.69s)
Creating working copy for https://github.com/Jarema/swift-nuid.git
Working copy of https://github.com/Jarema/swift-nuid.git resolved at v0.3.0 (d9072de)
warning: '.resolve-product-dependencies': dependency 'swift-nuid' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Jarema/swift-nuid.git
https://github.com/Jarema/swift-nuid.git
{
"dependencies" : [
],
"manifest_display_name" : "swift-nuid",
"name" : "swift-nuid",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Nuid",
"targets" : [
"Nuid"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NuidTests",
"module_type" : "SwiftTarget",
"name" : "NuidTests",
"path" : "Tests/NuidTests",
"sources" : [
"NuidTests.swift"
],
"target_dependencies" : [
"Nuid"
],
"type" : "test"
},
{
"c99name" : "Nuid",
"module_type" : "SwiftTarget",
"name" : "Nuid",
"path" : "Sources/Nuid",
"product_memberships" : [
"Nuid"
],
"sources" : [
"Nuid.swift",
"RandomBytes.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[3/5] Compiling Nuid RandomBytes.swift
[4/5] Emitting module Nuid
/Users/admin/builder/spi-builder-workspace/Sources/Nuid/Nuid.swift:77:5: warning: var 'globalNUID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | // Global NUID
77 | var globalNUID = LockedNuid()
| |- warning: var 'globalNUID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNUID' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'globalNUID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | // Generate the next NUID string from the global locked NUID instance.
[5/5] Compiling Nuid Nuid.swift
/Users/admin/builder/spi-builder-workspace/Sources/Nuid/Nuid.swift:77:5: warning: var 'globalNUID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | // Global NUID
77 | var globalNUID = LockedNuid()
| |- warning: var 'globalNUID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNUID' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'globalNUID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | // Generate the next NUID string from the global locked NUID instance.
Build complete! (3.70s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-nuid",
"name" : "swift-nuid",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Nuid",
"targets" : [
"Nuid"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NuidTests",
"module_type" : "SwiftTarget",
"name" : "NuidTests",
"path" : "Tests/NuidTests",
"sources" : [
"NuidTests.swift"
],
"target_dependencies" : [
"Nuid"
],
"type" : "test"
},
{
"c99name" : "Nuid",
"module_type" : "SwiftTarget",
"name" : "Nuid",
"path" : "Sources/Nuid",
"product_memberships" : [
"Nuid"
],
"sources" : [
"Nuid.swift",
"RandomBytes.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.