Build Information
Successful build of CBORCoding with Swift 6.0 (beta) for macOS (SPM).
Swift 6 data race errors: 2
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/SomeRandomiOSDev/CBORCoding.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SomeRandomiOSDev/CBORCoding
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/SomeRandomiOSDev/CBORCoding.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
Building for debugging...
[0/6] Write sources
[2/6] Compiling fp_extend.cpp
[3/6] Compiling fp_trunc.cpp
[4/6] Write swift-version-6F35C1178C84523A.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] 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
[13/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
[14/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)
[15/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
[16/18] Compiling CBORCoding Containers.swift
[17/18] Compiling CBORCoding CBOR+Codable.swift
[18/18] Compiling CBORCoding CBOR+Equatable.swift
Build complete! (23.26s)
Fetching https://github.com/SomeRandomiOSDev/Half
[1/630] Fetching half
Fetched https://github.com/SomeRandomiOSDev/Half from cache (0.98s)
Computing version for https://github.com/SomeRandomiOSDev/Half
Computed https://github.com/SomeRandomiOSDev/Half at 1.4.1 (0.72s)
Creating working copy for https://github.com/SomeRandomiOSDev/Half
Working copy of https://github.com/SomeRandomiOSDev/Half resolved at 1.4.1
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.