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 CryptoKitten, reference 0.2.4-swift5 (04c357), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 09:51:16 UTC.

Swift 6 data race errors: 0

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/openkitten/cryptokitten.git
Reference: 0.2.4-swift5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/openkitten/cryptokitten
 * tag               0.2.4-swift5 -> FETCH_HEAD
HEAD is now at 04c357f Swift 5 support
Cloned https://github.com/openkitten/cryptokitten.git
Revision (git rev-parse @):
04c357f2b6780ae966cdd7b339d08a7f63ade384
SUCCESS checkout https://github.com/openkitten/cryptokitten.git at 0.2.4-swift5
========================================
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": "cryptokitten",
      "name": "CryptoKitten",
      "url": "https://github.com/openkitten/cryptokitten.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/cryptokitten",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/openkitten/cryptokitten.git
[1/627] Fetching cryptokitten
Fetched https://github.com/openkitten/cryptokitten.git from cache (0.81s)
Creating working copy for https://github.com/openkitten/cryptokitten.git
Working copy of https://github.com/openkitten/cryptokitten.git resolved at 0.2.4-swift5 (04c357f)
warning: '.resolve-product-dependencies': dependency 'cryptokitten' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/openkitten/cryptokitten.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/12] Compiling CryptoKitten SHA2_32Implementations.swift
/Users/admin/builder/spi-builder-workspace/Sources/CryptoKitten/SHA2_32Implementations.swift:11:24: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
  9 |
 10 |     deinit {
 11 |         self.remainder.deallocate(capacity: 63)
    |                        `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
 12 |     }
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/CryptoKitten/SHA2_32Implementations.swift:82:24: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
 80 |
 81 |     deinit {
 82 |         self.remainder.deallocate(capacity: 63)
    |                        `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
 83 |     }
 84 |
[4/12] Compiling CryptoKitten SHA1.swift
/Users/admin/builder/spi-builder-workspace/Sources/CryptoKitten/SHA1.swift:35:24: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
 33 |
 34 |     deinit {
 35 |         self.remainder.deallocate(capacity: 63)
    |                        `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
 36 |     }
 37 |
[5/12] Compiling CryptoKitten SHA2_64Base.swift
[6/13] Compiling CryptoKitten SHA2_32Base.swift
[7/13] Compiling CryptoKitten SHA2_64Implementations.swift
/Users/admin/builder/spi-builder-workspace/Sources/CryptoKitten/SHA2_64Implementations.swift:11:24: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
  9 |
 10 |     deinit {
 11 |         self.remainder.deallocate(capacity: 127)
    |                        `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
 12 |     }
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/CryptoKitten/SHA2_64Implementations.swift:87:24: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
 85 |
 86 |     deinit {
 87 |         self.remainder.deallocate(capacity: 127)
    |                        `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
 88 |     }
 89 |
[8/13] Compiling CryptoKitten PBKDF2_HMAC.swift
[9/13] Compiling CryptoKitten MD5.swift
/Users/admin/builder/spi-builder-workspace/Sources/CryptoKitten/MD5.swift:60:24: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
 58 |
 59 |     deinit {
 60 |         self.remainder.deallocate(capacity: 63)
    |                        `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
 61 |     }
 62 |
/Users/admin/builder/spi-builder-workspace/Sources/CryptoKitten/MD5.swift:71:19: warning: 'initialize(to:count:)' is deprecated: renamed to 'initialize(repeating:count:)'
 69 |
 70 |     public init() {
 71 |         remainder.initialize(to: 0, count: 64)
    |                   |- warning: 'initialize(to:count:)' is deprecated: renamed to 'initialize(repeating:count:)'
    |                   `- note: use 'initialize(repeating:count:)' instead
 72 |     }
 73 |
[10/13] Compiling CryptoKitten Hash.swift
[11/13] Compiling CryptoKitten HMAC.swift
[12/13] Compiling CryptoKitten Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/CryptoKitten/Helpers.swift:3:61: warning: 'IndexDistance' is deprecated: all index distances are now of type Int
 1 | import Foundation
 2 |
 3 | extension Swift.Collection where Iterator.Element == UInt8, IndexDistance == Int {
   |                                                             `- warning: 'IndexDistance' is deprecated: all index distances are now of type Int
 4 |     /// The 12 bytes represented as 24-character hex-string
 5 |     public var hexString: String {
[13/13] Emitting module CryptoKitten
/Users/admin/builder/spi-builder-workspace/Sources/CryptoKitten/Helpers.swift:3:61: warning: 'IndexDistance' is deprecated: all index distances are now of type Int
 1 | import Foundation
 2 |
 3 | extension Swift.Collection where Iterator.Element == UInt8, IndexDistance == Int {
   |                                                             `- warning: 'IndexDistance' is deprecated: all index distances are now of type Int
 4 |     /// The 12 bytes represented as 24-character hex-string
 5 |     public var hexString: String {
Build complete! (10.77s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CryptoKitten",
  "name" : "CryptoKitten",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CryptoKitten",
      "targets" : [
        "CryptoKitten"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CryptoKitten",
      "module_type" : "SwiftTarget",
      "name" : "CryptoKitten",
      "path" : "Sources/CryptoKitten",
      "product_memberships" : [
        "CryptoKitten"
      ],
      "sources" : [
        "HMAC.swift",
        "Hash.swift",
        "Helpers.swift",
        "MD5.swift",
        "PBKDF2_HMAC.swift",
        "SHA1.swift",
        "SHA2_32Base.swift",
        "SHA2_32Implementations.swift",
        "SHA2_64Base.swift",
        "SHA2_64Implementations.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.