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 GoldenKey with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

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/RedMadRobot/golden-key.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RedMadRobot/golden-key
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7fe1faa Merge pull request #8 from subdan/hash_readme
Cloned https://github.com/RedMadRobot/golden-key.git
Revision (git rev-parse @):
7fe1faa3a284bfee389be3f43ad12a6074dc1af4
SUCCESS checkout https://github.com/RedMadRobot/golden-key.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/RedMadRobot/golden-key.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/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/12] Compiling GoldenKey RandomBytes.swift
[4/12] Compiling GoldenKey HMAC.swift
[5/12] Compiling GoldenKey SecurityError.swift
/Users/admin/builder/spi-builder-workspace/GoldenKey/CommonCrypto/SecurityError.swift:47:23: warning: static property 'errorDomain' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 |     /// The domain of the error.
47 |     public static var errorDomain = NSOSStatusErrorDomain
   |                       |- warning: static property 'errorDomain' 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 'errorDomain' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'errorDomain' 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
48 |
49 |     /// The error code within the given domain.
[6/12] Compiling GoldenKey CryptorError.swift
[7/12] Compiling GoldenKey PBKDF2.swift
[8/12] Compiling GoldenKey Digest.swift
[9/12] Compiling GoldenKey CryptorAlgorithm.swift
[10/12] Compiling GoldenKey Cryptor.swift
/Users/admin/builder/spi-builder-workspace/GoldenKey/CommonCrypto/Cryptor.swift:157:46: warning: forming 'UnsafeRawPointer' to a variable of type 'Optional<Data>'; this is likely incorrect because 'Optional<Data>' may contain an object reference.
155 |     public func reset(iv: Data? = nil) throws {
156 |         var vector = iv
157 |         let status = CCCryptorReset(cryptor, &vector)
    |                                              `- warning: forming 'UnsafeRawPointer' to a variable of type 'Optional<Data>'; this is likely incorrect because 'Optional<Data>' may contain an object reference.
158 |         try CryptorError.verify(status)
159 |     }
[11/12] Emitting module GoldenKey
/Users/admin/builder/spi-builder-workspace/GoldenKey/CommonCrypto/SecurityError.swift:47:23: warning: static property 'errorDomain' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 |     /// The domain of the error.
47 |     public static var errorDomain = NSOSStatusErrorDomain
   |                       |- warning: static property 'errorDomain' 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 'errorDomain' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'errorDomain' 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
48 |
49 |     /// The error code within the given domain.
[12/12] Compiling GoldenKey CryptorOptions.swift
Build complete! (22.82s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GoldenKey",
  "name" : "GoldenKey",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "GoldenKey",
      "targets" : [
        "GoldenKey"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "GoldenKeyTests",
      "module_type" : "SwiftTarget",
      "name" : "GoldenKeyTests",
      "path" : "GoldenKeyTests",
      "sources" : [
        "CommonCrypto/CryptorTests.swift",
        "CommonCrypto/DigestTests.swift",
        "CommonCrypto/GoldenKeyTests.swift",
        "CommonCrypto/HMACTests.swift",
        "CommonCrypto/PBKDF2Tests.swift",
        "CommonCrypto/RandomBytesTests.swift"
      ],
      "target_dependencies" : [
        "GoldenKey"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GoldenKey",
      "module_type" : "SwiftTarget",
      "name" : "GoldenKey",
      "path" : "GoldenKey",
      "product_memberships" : [
        "GoldenKey"
      ],
      "sources" : [
        "CommonCrypto/Cryptor.swift",
        "CommonCrypto/CryptorAlgorithm.swift",
        "CommonCrypto/CryptorError.swift",
        "CommonCrypto/CryptorOptions.swift",
        "CommonCrypto/Digest.swift",
        "CommonCrypto/HMAC.swift",
        "CommonCrypto/PBKDF2.swift",
        "CommonCrypto/RandomBytes.swift",
        "CommonCrypto/SecurityError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.