This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Arweave 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/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/lukereichold/arweave-swift.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/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/56] Emitting module JOSESwift
[5/61] Compiling JOSESwift JWKSetCodable.swift
[6/61] Compiling JOSESwift JWS.swift
[7/61] Compiling JOSESwift JWSHeader.swift
[8/61] Compiling JOSESwift KeyManagementMode.swift
[9/61] Compiling JOSESwift Payload.swift
[10/61] Compiling JOSESwift Serializer.swift
[11/61] Compiling JOSESwift Signer.swift
[12/61] Compiling JOSESwift SymmetricKeyCodable.swift
[13/61] Compiling JOSESwift SymmetricKeys.swift
[14/61] Compiling JOSESwift Verifier.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 AESCBCEncryption.swift
[21/61] Compiling JOSESwift AESKeyWrappingMode.swift
[22/61] Compiling JOSESwift ASN1DEREncoding.swift
[23/61] Compiling JOSESwift ASN1DERParsing.swift
[24/61] Compiling JOSESwift AlgorithmExtensions.swift
[25/61] Compiling JOSESwift Algorithms.swift
[26/61] Compiling JOSESwift JWE.swift
[27/61] Compiling JOSESwift JWEHeader.swift
[28/61] Compiling JOSESwift JWK.swift
[29/61] Compiling JOSESwift JWKExtensions.swift
[30/61] Compiling JOSESwift JWKParameters.swift
[31/61] Compiling JOSESwift JWKSet.swift
[32/61] Compiling JOSESwift DataConvertible.swift
[33/61] Compiling JOSESwift DataExtensions.swift
[34/61] Compiling JOSESwift Decrypter.swift
[35/61] Compiling JOSESwift Deserializer.swift
[36/61] Compiling JOSESwift DirectEncryptionMode.swift
[37/61] Compiling JOSESwift ECKeyCodable.swift
[38/61] Compiling JOSESwift DeflateWrapper.swift
[39/61] Compiling JOSESwift Compressor.swift
[40/61] Compiling JOSESwift ContentEncryption.swift
[41/61] Compiling JOSESwift AES.swift
[42/61] Compiling JOSESwift DataECPrivateKey.swift
[43/61] Compiling JOSESwift DataECPublicKey.swift
[44/61] Compiling JOSESwift DataRSAPrivateKey.swift
[45/61] Compiling JOSESwift DataRSAPublicKey.swift
[46/61] Compiling JOSESwift DataSymmetricKey.swift
[47/61] Compiling JOSESwift EC.swift
[48/61] Compiling JOSESwift HMAC.swift
[49/61] Compiling JOSESwift RSA.swift
[50/61] Compiling JOSESwift SecKeyECPrivateKey.swift
[51/61] Compiling JOSESwift SecKeyECPublicKey.swift
[52/61] Compiling JOSESwift SecKeyRSAPrivateKey.swift
[53/61] Compiling JOSESwift SecKeyRSAPublicKey.swift
[54/61] Compiling JOSESwift SecureRandom.swift
[55/61] Compiling JOSESwift Thumbprint.swift
[56/61] Compiling JOSESwift ECKeys.swift
[57/61] Compiling JOSESwift ECSigner.swift
[58/61] Compiling JOSESwift ECVerifier.swift
[59/61] Compiling JOSESwift Encrypter.swift
[60/61] Compiling JOSESwift JOSEHeader.swift
[61/61] Compiling JOSESwift JOSESwiftError.swift
[62/70] Compiling Arweave KeyUtilities.swift
[63/70] Compiling Arweave Helpers.swift
[64/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")!
[65/70] Compiling Arweave Status.swift
[66/70] Compiling Arweave Amount.swift
[67/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 {
[68/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")!
[69/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 non-isolated 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 non-isolated 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 {
[70/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 non-isolated 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 non-isolated 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 {
Build complete! (30.35s)
Fetching https://github.com/lukereichold/JOSESwift.git
[1/2266] Fetching joseswift
Fetched https://github.com/lukereichold/JOSESwift.git from cache (1.14s)
Computing version for https://github.com/lukereichold/JOSESwift.git
Computed https://github.com/lukereichold/JOSESwift.git at 2.2.4 (0.67s)
Creating working copy for https://github.com/lukereichold/JOSESwift.git
Working copy of https://github.com/lukereichold/JOSESwift.git resolved at 2.2.4
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.