Build Information
Successful build of SwiftRLP with Swift 6.0 for Linux.
Swift 6 data race errors: 2
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/shamatar/SwiftRLP.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/attaswift/SipHash
Fetching https://github.com/attaswift/BigInt.git
[1/440] Fetching siphash
[441/3537] Fetching siphash, bigint
[1177/3097] Fetching bigint
Fetched https://github.com/attaswift/SipHash from cache (0.22s)
Fetched https://github.com/attaswift/BigInt.git from cache (0.34s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 3.1.0 (1.04s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (0.91s)
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: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/BigInt/BigInt.modulemap
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/BigInt/BigInt-umbrella.h
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/SipHash/SipHash-umbrella.h
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/SipHash/SipHash.modulemap
Building for debugging...
[0/7] Write sources
[3/7] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling SipHash SipHasher.swift
[6/12] Compiling SipHash SipHashable.swift
[7/12] Compiling SipHash Primitive Types.swift
[8/12] Emitting module SipHash
[9/12] Compiling SipHash RandomUInt64.swift
[10/13] Wrapping AST for SipHash for debugging
[11/13] Write Objects.LinkFileList
[12/13] Linking libSipHash.so
[14/34] Emitting module BigInt
[15/36] Compiling BigInt Addition.swift
[16/36] Compiling BigInt BigInt.swift
[17/36] Compiling BigInt BigUInt.swift
[18/36] Compiling BigInt Subtraction.swift
[19/36] Compiling BigInt Words and Bits.swift
[20/36] Compiling BigInt Bitwise Ops.swift
[21/36] Compiling BigInt Codable.swift
[22/36] Compiling BigInt Comparable.swift
[23/36] Compiling BigInt Floating Point Conversion.swift
[24/36] Compiling BigInt GCD.swift
[25/36] Compiling BigInt Hashable.swift
[26/36] Compiling BigInt Random.swift
[27/36] Compiling BigInt Shifts.swift
[28/36] Compiling BigInt Square Root.swift
[29/36] Compiling BigInt Integer Conversion.swift
[30/36] Compiling BigInt Multiplication.swift
[31/36] Compiling BigInt Prime Test.swift
[32/36] Compiling BigInt Strideable.swift
[33/36] Compiling BigInt String Conversion.swift
[34/36] Compiling BigInt Data Conversion.swift
[35/36] Compiling BigInt Division.swift
[36/36] Compiling BigInt Exponentiation.swift
[38/39] Emitting module SwiftRLP
/host/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 |
/host/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? {
[39/39] Compiling SwiftRLP RLP.swift
/host/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 |
/host/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? {
/host/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 | }
/host/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! (17.16s)
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" : "/host/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 /host/spi-builder-workspace/Pods/Headers/Public/BigInt/BigInt.modulemap
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/BigInt/BigInt-umbrella.h
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/SipHash/SipHash-umbrella.h
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/SipHash/SipHash.modulemap
Done.