Build Information
Successful build of SwiftRLP with Swift 6.0 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/shamatar/SwiftRLP.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shamatar/SwiftRLP
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at f102950 Update swift version and SPM
Cloned https://github.com/shamatar/SwiftRLP.git
Revision (git rev-parse @):
f102950aec7499e8d87c96710ddbf91be6949899
SUCCESS checkout https://github.com/shamatar/SwiftRLP.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/shamatar/SwiftRLP.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
[3/6] Write swift-version-6F35C1178C84523A.txt
[5/11] Compiling SipHash SipHasher.swift
[6/11] Compiling SipHash SipHashable.swift
[7/11] Compiling SipHash RandomUInt64.swift
[8/11] Emitting module SipHash
[9/11] Compiling SipHash Primitive Types.swift
[9/11] Write Objects.LinkFileList
[10/11] Linking libSipHash.dylib
[12/32] Emitting module BigInt
[13/34] Compiling BigInt Addition.swift
[14/34] Compiling BigInt BigInt.swift
[15/34] Compiling BigInt BigUInt.swift
[16/34] Compiling BigInt Subtraction.swift
[17/34] Compiling BigInt Words and Bits.swift
[18/34] Compiling BigInt Prime Test.swift
[19/34] Compiling BigInt Random.swift
[20/34] Compiling BigInt Integer Conversion.swift
[21/34] Compiling BigInt Multiplication.swift
[22/34] Compiling BigInt Shifts.swift
[23/34] Compiling BigInt Square Root.swift
[24/34] Compiling BigInt GCD.swift
[25/34] Compiling BigInt Hashable.swift
[26/34] Compiling BigInt Exponentiation.swift
[27/34] Compiling BigInt Floating Point Conversion.swift
[28/34] Compiling BigInt Data Conversion.swift
[29/34] Compiling BigInt Division.swift
[30/34] Compiling BigInt Strideable.swift
[31/34] Compiling BigInt String Conversion.swift
[32/34] Compiling BigInt Bitwise Ops.swift
[33/34] Compiling BigInt Codable.swift
[34/34] Compiling BigInt Comparable.swift
[35/36] Emitting module SwiftRLP
/Users/admin/builder/spi-builder-workspace/Classes/RLP.swift:21:16: warning: static property 'length56' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | static var length56 = BigUInt(UInt(56))
| |- warning: static property 'length56' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'length56' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'length56' 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
22 | static var lengthMax = (BigUInt(UInt(1)) << 256)
23 |
/Users/admin/builder/spi-builder-workspace/Classes/RLP.swift:22:16: warning: static property 'lengthMax' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | static var length56 = BigUInt(UInt(56))
22 | static var lengthMax = (BigUInt(UInt(1)) << 256)
| |- warning: static property 'lengthMax' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lengthMax' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lengthMax' 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
23 |
24 | internal static func encode(_ element: AnyObject) -> Data? {
[36/36] Compiling SwiftRLP RLP.swift
/Users/admin/builder/spi-builder-workspace/Classes/RLP.swift:21:16: warning: static property 'length56' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | static var length56 = BigUInt(UInt(56))
| |- warning: static property 'length56' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'length56' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'length56' 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
22 | static var lengthMax = (BigUInt(UInt(1)) << 256)
23 |
/Users/admin/builder/spi-builder-workspace/Classes/RLP.swift:22:16: warning: static property 'lengthMax' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | static var length56 = BigUInt(UInt(56))
22 | static var lengthMax = (BigUInt(UInt(1)) << 256)
| |- warning: static property 'lengthMax' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lengthMax' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lengthMax' 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
23 |
24 | internal static func encode(_ element: AnyObject) -> Data? {
/Users/admin/builder/spi-builder-workspace/Classes/RLP.swift:197:24: warning: enum case 'list' has 3 associated values; matching them as a tuple is deprecated
184 | case noItem
185 | case data(Data)
186 | indirect case list([RLPItem], Int, Data)
| `- note: 'list' declared here
187 | }
188 |
:
195 | case .data(_):
196 | return true
197 | case .list(_):
| `- warning: enum case 'list' has 3 associated values; matching them as a tuple is deprecated
198 | return false
199 | }
/Users/admin/builder/spi-builder-workspace/Classes/RLP.swift:208:24: warning: enum case 'list' has 3 associated values; matching them as a tuple is deprecated
184 | case noItem
185 | case data(Data)
186 | indirect case list([RLPItem], Int, Data)
| `- note: 'list' declared here
187 | }
188 |
:
206 | case .data(_):
207 | return false
208 | case .list(_):
| `- warning: enum case 'list' has 3 associated values; matching them as a tuple is deprecated
209 | return true
210 | }
Build complete! (31.85s)
Fetching https://github.com/attaswift/SipHash
Fetching https://github.com/attaswift/BigInt.git
[1/440] Fetching siphash
[116/3537] Fetching siphash, bigint
Fetched https://github.com/attaswift/BigInt.git from cache (1.27s)
Computing version for https://github.com/attaswift/BigInt.git
Fetched https://github.com/attaswift/SipHash from cache (1.27s)
Computed https://github.com/attaswift/BigInt.git at 3.1.0 (2.28s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (0.73s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 3.1.0
Creating working copy for https://github.com/attaswift/SipHash
Working copy of https://github.com/attaswift/SipHash resolved at 1.2.2
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Pods/Headers/Public/SipHash/SipHash.modulemap
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Pods/Headers/Public/SipHash/SipHash-umbrella.h
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Pods/Headers/Public/BigInt/BigInt-umbrella.h
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Pods/Headers/Public/BigInt/BigInt.modulemap
Build complete.
{
"dependencies" : [
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "3.1.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/BigInt.git"
}
],
"manifest_display_name" : "SwiftRLP",
"name" : "SwiftRLP",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftRLP",
"targets" : [
"SwiftRLP"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4",
"4.2"
],
"targets" : [
{
"c99name" : "SwiftRLP",
"module_type" : "SwiftTarget",
"name" : "SwiftRLP",
"path" : ".",
"product_dependencies" : [
"BigInt"
],
"product_memberships" : [
"SwiftRLP"
],
"sources" : [
"Classes/RLP.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Pods/Headers/Public/SipHash/SipHash.modulemap
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Pods/Headers/Public/SipHash/SipHash-umbrella.h
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Pods/Headers/Public/BigInt/BigInt-umbrella.h
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Pods/Headers/Public/BigInt/BigInt.modulemap
Done.