Build Information
Successful build of SwiftRLP, reference master (f10295
), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 13:04:29 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 -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.58.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
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/attaswift/SipHash
[1/440] Fetching siphash
[19/5211] Fetching siphash, bigint
Fetched https://github.com/attaswift/SipHash from cache (1.37s)
Fetched https://github.com/attaswift/BigInt.git from cache (1.37s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 3.1.0 (2.45s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (0.56s)
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
========================================
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": "swiftrlp",
"name": "SwiftRLP",
"url": "https://github.com/shamatar/SwiftRLP.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftRLP",
"dependencies": [
{
"identity": "bigint",
"name": "BigInt",
"url": "https://github.com/attaswift/BigInt.git",
"version": "3.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BigInt",
"dependencies": [
{
"identity": "siphash",
"name": "SipHash",
"url": "https://github.com/attaswift/SipHash",
"version": "1.2.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SipHash",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/shamatar/SwiftRLP.git
[1/123] Fetching swiftrlp
Fetched https://github.com/shamatar/SwiftRLP.git from cache (0.77s)
Fetching https://github.com/attaswift/BigInt.git from cache
Fetched https://github.com/attaswift/BigInt.git from cache (0.47s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 3.1.0 (0.03s)
Fetching https://github.com/attaswift/SipHash from cache
Fetched https://github.com/attaswift/SipHash from cache (0.50s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (0.02s)
Creating working copy for https://github.com/shamatar/SwiftRLP.git
Working copy of https://github.com/shamatar/SwiftRLP.git resolved at master (f102950)
Creating working copy for https://github.com/attaswift/SipHash
Working copy of https://github.com/attaswift/SipHash resolved at 1.2.2
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 3.1.0
warning: 'swiftrlp': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftRLP/Pods/Headers/Public/SipHash/SipHash.modulemap
warning: 'swiftrlp': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftRLP/Pods/Headers/Public/SipHash/SipHash-umbrella.h
warning: 'swiftrlp': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftRLP/Pods/Headers/Public/BigInt/BigInt-umbrella.h
warning: 'swiftrlp': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftRLP/Pods/Headers/Public/BigInt/BigInt.modulemap
warning: '.resolve-product-dependencies': dependency 'swiftrlp' is not used by any target
Found 1 product dependencies
- BigInt
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/shamatar/SwiftRLP.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/6] Write sources
[3/6] Write swift-version--7754E27361AE5C74.txt
[5/11] Compiling SipHash SipHashable.swift
[6/11] Compiling SipHash SipHasher.swift
[7/11] Compiling SipHash RandomUInt64.swift
[8/11] Compiling SipHash Primitive Types.swift
[9/11] Emitting module SipHash
[9/11] Write Objects.LinkFileList
[10/11] Linking libSipHash.dylib
[12/32] Emitting module BigInt
[13/34] Compiling BigInt Strideable.swift
[14/34] Compiling BigInt String Conversion.swift
[15/34] Compiling BigInt Integer Conversion.swift
[16/34] Compiling BigInt Multiplication.swift
[17/34] Compiling BigInt Subtraction.swift
[18/34] Compiling BigInt Words and Bits.swift
[19/34] Compiling BigInt Shifts.swift
[20/34] Compiling BigInt Square Root.swift
[21/34] Compiling BigInt GCD.swift
[22/34] Compiling BigInt Hashable.swift
[23/34] Compiling BigInt Exponentiation.swift
[24/34] Compiling BigInt Floating Point Conversion.swift
[25/34] Compiling BigInt Prime Test.swift
[26/34] Compiling BigInt Random.swift
[27/34] Compiling BigInt Addition.swift
[28/34] Compiling BigInt BigInt.swift
[29/34] Compiling BigInt BigUInt.swift
[30/34] Compiling BigInt Bitwise Ops.swift
[31/34] Compiling BigInt Codable.swift
[32/34] Compiling BigInt Comparable.swift
[33/34] Compiling BigInt Data Conversion.swift
[34/34] Compiling BigInt Division.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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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! (12.75s)
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.