Build Information
Successful build of Arweave, reference master (14c34c
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 00:53:47 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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lukereichold/arweave-swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lukereichold/arweave-swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 14c34c1 Update README.md
Cloned https://github.com/lukereichold/arweave-swift.git
Revision (git rev-parse @):
14c34c101f3a6215303ba581d345c7a8997f6b7d
SUCCESS checkout https://github.com/lukereichold/arweave-swift.git at master
Fetching https://github.com/lukereichold/JOSESwift.git
[1/2266] Fetching joseswift
Fetched https://github.com/lukereichold/JOSESwift.git from cache (1.11s)
Computing version for https://github.com/lukereichold/JOSESwift.git
Computed https://github.com/lukereichold/JOSESwift.git at 2.2.4 (0.66s)
Creating working copy for https://github.com/lukereichold/JOSESwift.git
Working copy of https://github.com/lukereichold/JOSESwift.git resolved at 2.2.4
========================================
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": "arweave-swift",
"name": "Arweave",
"url": "https://github.com/lukereichold/arweave-swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/arweave-swift",
"dependencies": [
{
"identity": "joseswift",
"name": "JOSESwift",
"url": "https://github.com/lukereichold/JOSESwift.git",
"version": "2.2.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JOSESwift",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/lukereichold/arweave-swift.git
[1/650] Fetching arweave-swift
Fetched https://github.com/lukereichold/arweave-swift.git from cache (1.56s)
Fetching https://github.com/lukereichold/JOSESwift.git from cache
Fetched https://github.com/lukereichold/JOSESwift.git from cache (0.50s)
Computing version for https://github.com/lukereichold/JOSESwift.git
Computed https://github.com/lukereichold/JOSESwift.git at 2.2.4 (0.03s)
Creating working copy for https://github.com/lukereichold/arweave-swift.git
Working copy of https://github.com/lukereichold/arweave-swift.git resolved at master (14c34c1)
Creating working copy for https://github.com/lukereichold/JOSESwift.git
Working copy of https://github.com/lukereichold/JOSESwift.git resolved at 2.2.4
warning: '.resolve-product-dependencies': dependency 'arweave-swift' is not used by any target
Found 1 product dependencies
- JOSESwift
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/lukereichold/arweave-swift.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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/56] Compiling JOSESwift SecKeyECPrivateKey.swift
[5/56] Compiling JOSESwift SecKeyECPublicKey.swift
[6/56] Compiling JOSESwift SecKeyRSAPrivateKey.swift
[7/56] Compiling JOSESwift SecKeyRSAPublicKey.swift
[8/56] Compiling JOSESwift SecureRandom.swift
[9/56] Compiling JOSESwift Thumbprint.swift
[10/61] Compiling JOSESwift JWKSetCodable.swift
[11/61] Compiling JOSESwift JWS.swift
[12/61] Compiling JOSESwift JWSHeader.swift
[13/61] Compiling JOSESwift KeyManagementMode.swift
[14/61] Compiling JOSESwift Payload.swift
[15/61] Compiling JOSESwift RSAKeyCodable.swift
[16/61] Compiling JOSESwift RSAKeyEncryptionMode.swift
[17/61] Compiling JOSESwift RSAKeys.swift
[18/61] Compiling JOSESwift RSASigner.swift
[19/61] Compiling JOSESwift RSAVerifier.swift
[20/61] Compiling JOSESwift JWE.swift
[21/61] Compiling JOSESwift JWEHeader.swift
[22/61] Compiling JOSESwift JWK.swift
[23/61] Compiling JOSESwift JWKExtensions.swift
[24/61] Compiling JOSESwift JWKParameters.swift
[25/61] Compiling JOSESwift JWKSet.swift
[26/61] Compiling JOSESwift DataConvertible.swift
[27/61] Compiling JOSESwift DataExtensions.swift
[28/61] Compiling JOSESwift Decrypter.swift
[29/61] Compiling JOSESwift Deserializer.swift
[30/61] Compiling JOSESwift DirectEncryptionMode.swift
[31/61] Compiling JOSESwift ECKeyCodable.swift
[32/61] Emitting module JOSESwift
[33/61] Compiling JOSESwift DeflateWrapper.swift
[34/61] Compiling JOSESwift Compressor.swift
[35/61] Compiling JOSESwift ContentEncryption.swift
[36/61] Compiling JOSESwift AES.swift
[37/61] Compiling JOSESwift DataECPrivateKey.swift
[38/61] Compiling JOSESwift DataECPublicKey.swift
[39/61] Compiling JOSESwift ECKeys.swift
[40/61] Compiling JOSESwift ECSigner.swift
[41/61] Compiling JOSESwift ECVerifier.swift
[42/61] Compiling JOSESwift Encrypter.swift
[43/61] Compiling JOSESwift JOSEHeader.swift
[44/61] Compiling JOSESwift JOSESwiftError.swift
[45/61] Compiling JOSESwift DataRSAPrivateKey.swift
[46/61] Compiling JOSESwift DataRSAPublicKey.swift
[47/61] Compiling JOSESwift DataSymmetricKey.swift
[48/61] Compiling JOSESwift EC.swift
[49/61] Compiling JOSESwift HMAC.swift
[50/61] Compiling JOSESwift RSA.swift
[51/61] Compiling JOSESwift AESCBCEncryption.swift
[52/61] Compiling JOSESwift AESKeyWrappingMode.swift
[53/61] Compiling JOSESwift ASN1DEREncoding.swift
[54/61] Compiling JOSESwift ASN1DERParsing.swift
[55/61] Compiling JOSESwift AlgorithmExtensions.swift
[56/61] Compiling JOSESwift Algorithms.swift
[57/61] Compiling JOSESwift Serializer.swift
[58/61] Compiling JOSESwift Signer.swift
[59/61] Compiling JOSESwift SymmetricKeyCodable.swift
[60/61] Compiling JOSESwift SymmetricKeys.swift
[61/61] Compiling JOSESwift Verifier.swift
[62/70] Compiling Arweave Amount.swift
[63/70] Compiling Arweave Arweave.swift
/Users/admin/builder/spi-builder-workspace/Sources/API/Arweave.swift:4:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Arweave' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Arweave {
| `- note: consider making struct 'Arweave' conform to the 'Sendable' protocol
4 | static let shared = Arweave()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Arweave' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
5 | private init() {}
6 | public static var baseUrl = URL(string: "https://arweave.net")!
/Users/admin/builder/spi-builder-workspace/Sources/API/Arweave.swift:6:23: warning: static property 'baseUrl' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | static let shared = Arweave()
5 | private init() {}
6 | public static var baseUrl = URL(string: "https://arweave.net")!
| |- warning: static property 'baseUrl' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'baseUrl' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'baseUrl' 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
7 |
8 | func request(for route: Route) -> Request {
[64/70] Emitting module Arweave
/Users/admin/builder/spi-builder-workspace/Sources/API/Arweave.swift:4:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Arweave' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Arweave {
| `- note: consider making struct 'Arweave' conform to the 'Sendable' protocol
4 | static let shared = Arweave()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Arweave' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
5 | private init() {}
6 | public static var baseUrl = URL(string: "https://arweave.net")!
/Users/admin/builder/spi-builder-workspace/Sources/API/Arweave.swift:6:23: warning: static property 'baseUrl' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | static let shared = Arweave()
5 | private init() {}
6 | public static var baseUrl = URL(string: "https://arweave.net")!
| |- warning: static property 'baseUrl' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'baseUrl' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'baseUrl' 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
7 |
8 | func request(for route: Route) -> Request {
/Users/admin/builder/spi-builder-workspace/Sources/API/HttpClient.swift:3:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | import Foundation
2 |
3 | extension String: Error { }
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 |
5 | struct HttpResponse {
[65/70] Compiling Arweave Helpers.swift
[66/70] Compiling Arweave HttpClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/API/HttpClient.swift:3:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | import Foundation
2 |
3 | extension String: Error { }
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 |
5 | struct HttpResponse {
[67/70] Compiling Arweave Status.swift
[68/70] Compiling Arweave Wallet.swift
/Users/admin/builder/spi-builder-workspace/Sources/API/Arweave.swift:4:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Arweave' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Arweave {
| `- note: consider making struct 'Arweave' conform to the 'Sendable' protocol
4 | static let shared = Arweave()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Arweave' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
5 | private init() {}
6 | public static var baseUrl = URL(string: "https://arweave.net")!
[69/70] Compiling Arweave KeyUtilities.swift
[70/70] Compiling Arweave Transaction.swift
/Users/admin/builder/spi-builder-workspace/Sources/API/Arweave.swift:4:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Arweave' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Arweave {
| `- note: consider making struct 'Arweave' conform to the 'Sendable' protocol
4 | static let shared = Arweave()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Arweave' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
5 | private init() {}
6 | public static var baseUrl = URL(string: "https://arweave.net")!
Build complete! (18.83s)
Build complete.
{
"dependencies" : [
{
"identity" : "joseswift",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.4",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/lukereichold/JOSESwift.git"
}
],
"manifest_display_name" : "Arweave",
"name" : "Arweave",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "Arweave",
"targets" : [
"Arweave"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ArweaveTests",
"module_type" : "SwiftTarget",
"name" : "ArweaveTests",
"path" : "Tests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/test-key.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"TransactionTests.swift",
"WalletTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Arweave"
],
"type" : "test"
},
{
"c99name" : "Arweave",
"module_type" : "SwiftTarget",
"name" : "Arweave",
"path" : "Sources",
"product_dependencies" : [
"JOSESwift"
],
"product_memberships" : [
"Arweave"
],
"sources" : [
"API/Arweave.swift",
"API/HttpClient.swift",
"Amount.swift",
"Helpers.swift",
"KeyUtilities.swift",
"Status.swift",
"Transaction.swift",
"Wallet.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.