Build Information
Successful build of swift-cbor, reference main (7452e1
), with Swift 6.1 for macOS (SPM) on 6 Jul 2025 03:08:56 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 InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MasterJ93/swift-cbor.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MasterJ93/swift-cbor
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7452e1d Add support for decoding multiple DAG-CBOR objects
Cloned https://github.com/MasterJ93/swift-cbor.git
Revision (git rev-parse @):
7452e1d1dbfb99fa0baca7732cf199be1bfc7e7c
SUCCESS checkout https://github.com/MasterJ93/swift-cbor.git at main
Fetching https://github.com/nicklockwood/SwiftFormat
[1/49534] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (14.43s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.53.8
========================================
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-cbor",
"name": "swift-cbor",
"url": "https://github.com/MasterJ93/swift-cbor.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-cbor",
"dependencies": [
]
}
]
}
Fetching https://github.com/MasterJ93/swift-cbor.git
[3/127] Fetching swift-cbor
Fetched https://github.com/MasterJ93/swift-cbor.git from cache (0.60s)
Creating working copy for https://github.com/MasterJ93/swift-cbor.git
Working copy of https://github.com/MasterJ93/swift-cbor.git resolved at main (7452e1d)
warning: '.resolve-product-dependencies': dependency 'swift-cbor' 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/MasterJ93/swift-cbor.git
https://github.com/MasterJ93/swift-cbor.git
{
"dependencies" : [
{
"identity" : "swiftformat",
"requirement" : {
"exact" : [
"0.53.8"
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "swift-cbor",
"name" : "swift-cbor",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "SwiftCbor",
"targets" : [
"SwiftCbor"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "example",
"targets" : [
"example"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "example",
"module_type" : "SwiftTarget",
"name" : "example",
"path" : "Example",
"product_memberships" : [
"example"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftCbor"
],
"type" : "executable"
},
{
"c99name" : "SwiftCborTests",
"module_type" : "SwiftTarget",
"name" : "SwiftCborTests",
"path" : "Tests/SwiftCborTests",
"sources" : [
"DecodeTests.swift",
"EncodeTests.swift"
],
"target_dependencies" : [
"SwiftCbor"
],
"type" : "test"
},
{
"c99name" : "SwiftCbor",
"module_type" : "SwiftTarget",
"name" : "SwiftCbor",
"path" : "Sources/SwiftCbor",
"product_memberships" : [
"SwiftCbor",
"example"
],
"sources" : [
"CborCodable.swift",
"CborDecoder.swift",
"CborEncoder.swift",
"CborScanner.swift",
"CborValue.swift",
"DataNumber.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
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
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/8] Write sources
[1/8] Write example-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/15] Compiling SwiftCbor CborValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCbor/CborValue.swift:91:16: warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'CborValue' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public indirect enum CborValue {
| `- note: consider making enum 'CborValue' conform to the 'Sendable' protocol
85 | case none
86 | case literal(CborValueLiteralType)
:
89 | case tagged(tag: CborValueLiteralType, value: CborValue)
90 |
91 | static let `break`: CborValue = .literal(.break)
| |- warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'CborValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'break' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | }
93 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCbor/CborValue.swift:159:30: warning: immutable value 'tag' was never used; consider replacing with '_' or removing it
157 | case .map(let m):
158 | return .map(m.map { $0.toEncodedValue() })
159 | case .tagged(let tag, let inner):
| `- warning: immutable value 'tag' was never used; consider replacing with '_' or removing it
160 | return .tagged(tag: .literal([]), value: inner.toEncodedValue())
161 | }
[7/15] Compiling SwiftCbor CborScanner.swift
[8/15] Compiling SwiftCbor DataNumber.swift
[9/15] Compiling SwiftCbor CborEncoder.swift
[10/15] Emitting module SwiftCbor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCbor/CborValue.swift:91:16: warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'CborValue' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public indirect enum CborValue {
| `- note: consider making enum 'CborValue' conform to the 'Sendable' protocol
85 | case none
86 | case literal(CborValueLiteralType)
:
89 | case tagged(tag: CborValueLiteralType, value: CborValue)
90 |
91 | static let `break`: CborValue = .literal(.break)
| |- warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'CborValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'break' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | }
93 |
[11/15] Compiling SwiftCbor CborDecoder.swift
[12/15] Compiling SwiftCbor CborCodable.swift
[13/17] Compiling example main.swift
[14/17] Emitting module example
[14/17] Write Objects.LinkFileList
[15/17] Linking example
[16/17] Applying example
Build complete! (6.46s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftformat",
"requirement" : {
"exact" : [
"0.53.8"
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "swift-cbor",
"name" : "swift-cbor",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "SwiftCbor",
"targets" : [
"SwiftCbor"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "example",
"targets" : [
"example"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "example",
"module_type" : "SwiftTarget",
"name" : "example",
"path" : "Example",
"product_memberships" : [
"example"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftCbor"
],
"type" : "executable"
},
{
"c99name" : "SwiftCborTests",
"module_type" : "SwiftTarget",
"name" : "SwiftCborTests",
"path" : "Tests/SwiftCborTests",
"sources" : [
"DecodeTests.swift",
"EncodeTests.swift"
],
"target_dependencies" : [
"SwiftCbor"
],
"type" : "test"
},
{
"c99name" : "SwiftCbor",
"module_type" : "SwiftTarget",
"name" : "SwiftCbor",
"path" : "Sources/SwiftCbor",
"product_memberships" : [
"SwiftCbor",
"example"
],
"sources" : [
"CborCodable.swift",
"CborDecoder.swift",
"CborEncoder.swift",
"CborScanner.swift",
"CborValue.swift",
"DataNumber.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.