Build Information
Successful build of CBORCoding, reference 1.4.0 (6fbd64
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 21:04:24 UTC.
Swift 6 data race errors: 2
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/SomeRandomiOSDev/CBORCoding.git
Reference: 1.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SomeRandomiOSDev/CBORCoding
* tag 1.4.0 -> FETCH_HEAD
HEAD is now at 6fbd643 Merge pull request #30 from SomeRandomiOSDev/bulk-updates
Submodule path 'Half': checked out 'bb32fc7a5d5cfcee01e5442b1381450b1fcd4803'
Submodule 'Half' (https://github.com/SomeRandomiOSDev/Half) registered for path 'Half'
Cloning into '/Users/admin/builder/spi-builder-workspace/Half'...
Cloned https://github.com/SomeRandomiOSDev/CBORCoding.git
Revision (git rev-parse @):
6fbd643c64cf6ef7a98391820c372d05fa9ed9ab
SUCCESS checkout https://github.com/SomeRandomiOSDev/CBORCoding.git at 1.4.0
Fetching https://github.com/SomeRandomiOSDev/Half
[1/630] Fetching half
Fetched https://github.com/SomeRandomiOSDev/Half from cache (0.90s)
Computing version for https://github.com/SomeRandomiOSDev/Half
Computed https://github.com/SomeRandomiOSDev/Half at 1.4.1 (0.64s)
Creating working copy for https://github.com/SomeRandomiOSDev/Half
Working copy of https://github.com/SomeRandomiOSDev/Half resolved at 1.4.1
========================================
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": "cborcoding",
"name": "CBORCoding",
"url": "https://github.com/SomeRandomiOSDev/CBORCoding.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CBORCoding",
"dependencies": [
{
"identity": "half",
"name": "Half",
"url": "https://github.com/SomeRandomiOSDev/Half",
"version": "1.4.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Half",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/SomeRandomiOSDev/CBORCoding.git
[1/1447] Fetching cborcoding
Fetched https://github.com/SomeRandomiOSDev/CBORCoding.git from cache (0.94s)
Fetching https://github.com/SomeRandomiOSDev/Half from cache
Fetched https://github.com/SomeRandomiOSDev/Half from cache (0.50s)
Computing version for https://github.com/SomeRandomiOSDev/Half
Computed https://github.com/SomeRandomiOSDev/Half at 1.4.2 (0.46s)
Creating working copy for https://github.com/SomeRandomiOSDev/Half
Working copy of https://github.com/SomeRandomiOSDev/Half resolved at 1.4.2
Creating working copy for https://github.com/SomeRandomiOSDev/CBORCoding.git
Working copy of https://github.com/SomeRandomiOSDev/CBORCoding.git resolved at 1.4.0 (6fbd643)
warning: '.resolve-product-dependencies': dependency 'cborcoding' is not used by any target
Found 1 product dependencies
- Half
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/SomeRandomiOSDev/CBORCoding.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/6] Write sources
[2/6] Compiling fp_trunc.cpp
[3/6] Compiling fp_extend.cpp
[4/6] Write swift-version--7754E27361AE5C74.txt
[5/6] Compiling half.c
[7/10] Compiling Half Half+Coding.swift
[8/10] Emitting module Half
[9/10] Compiling Half Functions.swift
[10/10] Compiling Half Half.swift
[11/18] Compiling CBORCoding CBOREncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/CBORCoding/CBOREncoder.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'CBORCoding' may lead to instability during execution
7 |
8 | import Foundation
9 | @_implementationOnly import Half
| `- warning: using '@_implementationOnly' without enabling library evolution for 'CBORCoding' may lead to instability during execution
10 |
11 | #if canImport(Combine)
[12/18] Emitting module CBORCoding
/Users/admin/builder/spi-builder-workspace/Sources/CBORCoding/CBORDecoder.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'CBORCoding' may lead to instability during execution
7 |
8 | import Foundation
9 | @_implementationOnly import Half
| `- warning: using '@_implementationOnly' without enabling library evolution for 'CBORCoding' may lead to instability during execution
10 |
11 | #if canImport(Combine)
/Users/admin/builder/spi-builder-workspace/Sources/CBORCoding/CBOREncoder.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'CBORCoding' may lead to instability during execution
7 |
8 | import Foundation
9 | @_implementationOnly import Half
| `- warning: using '@_implementationOnly' without enabling library evolution for 'CBORCoding' may lead to instability during execution
10 |
11 | #if canImport(Combine)
/Users/admin/builder/spi-builder-workspace/Sources/CBORCoding/CBORParser.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'CBORCoding' may lead to instability during execution
7 |
8 | import Foundation
9 | @_implementationOnly import Half
| `- warning: using '@_implementationOnly' without enabling library evolution for 'CBORCoding' may lead to instability during execution
10 |
11 | // MARK: - CBORParser Definition
/Users/admin/builder/spi-builder-workspace/Sources/CBORCoding/CBOR.swift:43:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'CBOR.NegativeUInt64' may have shared mutable state; this is an error in the Swift 6 language mode
36 | ```
37 | */
38 | public struct NegativeUInt64: RawRepresentable {
| `- note: consider making struct 'NegativeUInt64' conform to the 'Sendable' protocol
39 |
40 | // MARK: Public Constants
41 |
42 | /// The maximum value this type can represent: `-1`
43 | public static let max = NegativeUInt64(rawValue: 0)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'CBOR.NegativeUInt64' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' 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
44 |
45 | /// The minimum value this type can represent: `-18446744073709551616`
/Users/admin/builder/spi-builder-workspace/Sources/CBORCoding/CBOR.swift:46:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'CBOR.NegativeUInt64' may have shared mutable state; this is an error in the Swift 6 language mode
36 | ```
37 | */
38 | public struct NegativeUInt64: RawRepresentable {
| `- note: consider making struct 'NegativeUInt64' conform to the 'Sendable' protocol
39 |
40 | // MARK: Public Constants
:
44 |
45 | /// The minimum value this type can represent: `-18446744073709551616`
46 | public static let min = NegativeUInt64(rawValue: .max)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'CBOR.NegativeUInt64' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' 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
47 |
48 | // MARK: RawRepresentable Protocol Requirements
[13/18] Compiling CBORCoding CBOR+Codable.swift
[14/18] Compiling CBORCoding CBOR+Equatable.swift
[15/18] Compiling CBORCoding Containers.swift
[16/18] Compiling CBORCoding CBORDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/CBORCoding/CBORDecoder.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'CBORCoding' may lead to instability during execution
7 |
8 | import Foundation
9 | @_implementationOnly import Half
| `- warning: using '@_implementationOnly' without enabling library evolution for 'CBORCoding' may lead to instability during execution
10 |
11 | #if canImport(Combine)
[17/18] Compiling CBORCoding CBOR.swift
/Users/admin/builder/spi-builder-workspace/Sources/CBORCoding/CBOR.swift:43:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'CBOR.NegativeUInt64' may have shared mutable state; this is an error in the Swift 6 language mode
36 | ```
37 | */
38 | public struct NegativeUInt64: RawRepresentable {
| `- note: consider making struct 'NegativeUInt64' conform to the 'Sendable' protocol
39 |
40 | // MARK: Public Constants
41 |
42 | /// The maximum value this type can represent: `-1`
43 | public static let max = NegativeUInt64(rawValue: 0)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'CBOR.NegativeUInt64' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' 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
44 |
45 | /// The minimum value this type can represent: `-18446744073709551616`
/Users/admin/builder/spi-builder-workspace/Sources/CBORCoding/CBOR.swift:46:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'CBOR.NegativeUInt64' may have shared mutable state; this is an error in the Swift 6 language mode
36 | ```
37 | */
38 | public struct NegativeUInt64: RawRepresentable {
| `- note: consider making struct 'NegativeUInt64' conform to the 'Sendable' protocol
39 |
40 | // MARK: Public Constants
:
44 |
45 | /// The minimum value this type can represent: `-18446744073709551616`
46 | public static let min = NegativeUInt64(rawValue: .max)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'CBOR.NegativeUInt64' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' 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
47 |
48 | // MARK: RawRepresentable Protocol Requirements
[18/18] Compiling CBORCoding CBORParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/CBORCoding/CBORParser.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'CBORCoding' may lead to instability during execution
7 |
8 | import Foundation
9 | @_implementationOnly import Half
| `- warning: using '@_implementationOnly' without enabling library evolution for 'CBORCoding' may lead to instability during execution
10 |
11 | // MARK: - CBORParser Definition
Build complete! (9.83s)
Build complete.
{
"dependencies" : [
{
"identity" : "half",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SomeRandomiOSDev/Half"
}
],
"manifest_display_name" : "CBORCoding",
"name" : "CBORCoding",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "CBORCoding",
"targets" : [
"CBORCoding"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CBORCodingTests",
"module_type" : "SwiftTarget",
"name" : "CBORCodingTests",
"path" : "Tests/CBORCodingTests",
"product_dependencies" : [
"Half"
],
"sources" : [
"CBORDecoderTests.swift",
"CBOREncoderTests.swift",
"CBORParserTests.swift",
"CBORTests.swift",
"ContainersTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"CBORCoding"
],
"type" : "test"
},
{
"c99name" : "CBORCoding",
"module_type" : "SwiftTarget",
"name" : "CBORCoding",
"path" : "Sources/CBORCoding",
"product_dependencies" : [
"Half"
],
"product_memberships" : [
"CBORCoding"
],
"sources" : [
"CBOR+Codable.swift",
"CBOR+Equatable.swift",
"CBOR.swift",
"CBORDecoder.swift",
"CBOREncoder.swift",
"CBORParser.swift",
"Containers.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.