Build Information
Successful build of c, reference 4.0.0 (876899
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 00:46:25 UTC.
Swift 6 data race errors: 4
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/0xOpenBytes/c.git
Reference: 4.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xOpenBytes/c
* tag 4.0.0 -> FETCH_HEAD
HEAD is now at 876899c Add Value get and resolve
Cloned https://github.com/0xOpenBytes/c.git
Revision (git rev-parse @):
876899c63377f407a27316ce24eb7bc37653cb13
SUCCESS checkout https://github.com/0xOpenBytes/c.git at 4.0.0
Fetching https://github.com/0xOpenBytes/t
[1/368] Fetching t
Fetched https://github.com/0xOpenBytes/t from cache (0.94s)
Computing version for https://github.com/0xOpenBytes/t
Computed https://github.com/0xOpenBytes/t at 1.0.4 (0.64s)
Creating working copy for https://github.com/0xOpenBytes/t
Working copy of https://github.com/0xOpenBytes/t resolved at 1.0.4
========================================
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": "c",
"name": "c",
"url": "https://github.com/0xOpenBytes/c.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/c",
"dependencies": [
{
"identity": "t",
"name": "t",
"url": "https://github.com/0xOpenBytes/t",
"version": "1.0.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/t",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/0xOpenBytes/c.git
[1/237] Fetching c
Fetched https://github.com/0xOpenBytes/c.git from cache (0.77s)
Fetching https://github.com/0xOpenBytes/t from cache
Fetched https://github.com/0xOpenBytes/t from cache (0.48s)
Computing version for https://github.com/0xOpenBytes/t
Computed https://github.com/0xOpenBytes/t at 1.0.4 (0.02s)
Creating working copy for https://github.com/0xOpenBytes/t
Working copy of https://github.com/0xOpenBytes/t resolved at 1.0.4
Creating working copy for https://github.com/0xOpenBytes/c.git
Working copy of https://github.com/0xOpenBytes/c.git resolved at 4.0.0 (876899c)
warning: '.resolve-product-dependencies': dependency 'c' is not used by any target
Found 1 product dependencies
- t
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/0xOpenBytes/c.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/9] Compiling t t.swift
[5/9] Compiling t t+Structure.swift
[6/9] Compiling t t+Factories.swift
[7/9] Emitting module t
[8/9] Compiling t t+Logging.swift
[9/9] Compiling t t+Assertion.swift
[10/11] Emitting module c
/Users/admin/builder/spi-builder-workspace/Sources/c/c.swift:50:20: warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
46 | public enum c {
47 | /// `Error` that reports the missing keys
48 | public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
49 | /// Required keys
50 | public let keys: Set<Key>
| `- warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
51 |
52 | /// init for `MissingRequiredKeysError<Key>`
/Users/admin/builder/spi-builder-workspace/Sources/c/c.swift:69:20: warning: stored property 'actualValue' of 'Sendable'-conforming generic struct 'InvalidTypeError' has non-sendable type 'Any?'; this is an error in the Swift 6 language mode
67 |
68 | // Actual Value
69 | public let actualValue: Any?
| `- warning: stored property 'actualValue' of 'Sendable'-conforming generic struct 'InvalidTypeError' has non-sendable type 'Any?'; this is an error in the Swift 6 language mode
70 |
71 | /// init for `InvalidTypeError<Key>`
/Users/admin/builder/spi-builder-workspace/Sources/c/c.swift:373:24: warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
371 |
372 | public extension c {
373 | private static var lock = NSLock()
| |- warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lock' 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
374 | private static var caches: [AnyHashable: AnyCacheable] = [:]
375 |
/Users/admin/builder/spi-builder-workspace/Sources/c/c.swift:374:24: warning: static property 'caches' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
372 | public extension c {
373 | private static var lock = NSLock()
374 | private static var caches: [AnyHashable: AnyCacheable] = [:]
| |- warning: static property 'caches' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'caches' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'caches' 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
375 |
376 | /// Checks if the given `key` has a Cache or not
[11/11] Compiling c c.swift
/Users/admin/builder/spi-builder-workspace/Sources/c/c.swift:50:20: warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
46 | public enum c {
47 | /// `Error` that reports the missing keys
48 | public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
49 | /// Required keys
50 | public let keys: Set<Key>
| `- warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
51 |
52 | /// init for `MissingRequiredKeysError<Key>`
/Users/admin/builder/spi-builder-workspace/Sources/c/c.swift:69:20: warning: stored property 'actualValue' of 'Sendable'-conforming generic struct 'InvalidTypeError' has non-sendable type 'Any?'; this is an error in the Swift 6 language mode
67 |
68 | // Actual Value
69 | public let actualValue: Any?
| `- warning: stored property 'actualValue' of 'Sendable'-conforming generic struct 'InvalidTypeError' has non-sendable type 'Any?'; this is an error in the Swift 6 language mode
70 |
71 | /// init for `InvalidTypeError<Key>`
/Users/admin/builder/spi-builder-workspace/Sources/c/c.swift:373:24: warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
371 |
372 | public extension c {
373 | private static var lock = NSLock()
| |- warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lock' 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
374 | private static var caches: [AnyHashable: AnyCacheable] = [:]
375 |
/Users/admin/builder/spi-builder-workspace/Sources/c/c.swift:374:24: warning: static property 'caches' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
372 | public extension c {
373 | private static var lock = NSLock()
374 | private static var caches: [AnyHashable: AnyCacheable] = [:]
| |- warning: static property 'caches' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'caches' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'caches' 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
375 |
376 | /// Checks if the given `key` has a Cache or not
Build complete! (7.55s)
Build complete.
{
"dependencies" : [
{
"identity" : "t",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/0xOpenBytes/t"
}
],
"manifest_display_name" : "c",
"name" : "c",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "c",
"targets" : [
"c"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "cTests",
"module_type" : "SwiftTarget",
"name" : "cTests",
"path" : "Tests/cTests",
"sources" : [
"cTests.swift"
],
"target_dependencies" : [
"c"
],
"type" : "test"
},
{
"c99name" : "c",
"module_type" : "SwiftTarget",
"name" : "c",
"path" : "Sources/c",
"product_dependencies" : [
"t"
],
"product_memberships" : [
"c"
],
"sources" : [
"c.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.