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 WhiteboxCryptography, reference develop (63f1c5), with Swift 6.0 for macOS (SPM) on 17 Dec 2024 01:41:59 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.59.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DrDijkstra/WhiteboxCryptography.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DrDijkstra/WhiteboxCryptography
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 63f1c55 wallet app updated
Cloned https://github.com/DrDijkstra/WhiteboxCryptography.git
Revision (git rev-parse @):
63f1c5539efba9c2aea3d0e437ab3f99a5c704d9
SUCCESS checkout https://github.com/DrDijkstra/WhiteboxCryptography.git at develop
========================================
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": "whiteboxcryptography",
      "name": "WhiteboxCryptography",
      "url": "https://github.com/DrDijkstra/WhiteboxCryptography.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WhiteboxCryptography",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/DrDijkstra/WhiteboxCryptography.git
[8/717] Fetching whiteboxcryptography
Fetched https://github.com/DrDijkstra/WhiteboxCryptography.git from cache (0.90s)
Creating working copy for https://github.com/DrDijkstra/WhiteboxCryptography.git
Working copy of https://github.com/DrDijkstra/WhiteboxCryptography.git resolved at develop (63f1c55)
warning: '.resolve-product-dependencies': dependency 'whiteboxcryptography' 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/DrDijkstra/WhiteboxCryptography.git
https://github.com/DrDijkstra/WhiteboxCryptography.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WhiteboxCryptography",
  "name" : "WhiteboxCryptography",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "WhiteboxCryptography",
      "targets" : [
        "WhiteboxCryptography"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WhiteboxCryptographyTests",
      "module_type" : "SwiftTarget",
      "name" : "WhiteboxCryptographyTests",
      "path" : "Tests/WhiteboxCryptographyTests",
      "sources" : [
        "AESCoreTests.swift",
        "AESServiceTests.swift",
        "CryptoGraphicServiceTest.swift",
        "MemoryScramblerTest.swift",
        "WhiteboxCryptographySDKTests.swift"
      ],
      "target_dependencies" : [
        "WhiteboxCryptography"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WhiteboxCryptography",
      "module_type" : "SwiftTarget",
      "name" : "WhiteboxCryptography",
      "path" : "Sources/WhiteboxCryptography",
      "product_memberships" : [
        "WhiteboxCryptography"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/WhiteboxCryptography/Resources/Sbox_InvSbox_Rcon.txt",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AES/AESCore.swift",
        "AES/AESService.swift",
        "AES/AESServiceImpl.swift",
        "Crypt/CryptographicService.swift",
        "Crypt/CryptographicServiceImpl.swift",
        "Enum/AESKeySize.swift",
        "Enum/AESMode.swift",
        "Enum/CryptoAlgorithm.swift",
        "Enum/CryptoKeySize.swift",
        "Error/CryptographicError.swift",
        "Ext/Array+Extension.swift",
        "Ext/Data+Extension.swift",
        "Scrumbler/MemoryScrambler.swift",
        "Scrumbler/MemoryScramblerImpl.swift",
        "WhiteboxCryptographySDK.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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/3] Write sources
[1/3] Copying Sbox_InvSbox_Rcon.txt
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/19] Compiling WhiteboxCryptography WhiteboxCryptographySDK.swift
[5/19] Compiling WhiteboxCryptography MemoryScrambler.swift
[6/20] Compiling WhiteboxCryptography Array+Extension.swift
[7/20] Compiling WhiteboxCryptography Data+Extension.swift
[8/20] Compiling WhiteboxCryptography CryptoKeySize.swift
[9/20] Compiling WhiteboxCryptography CryptographicError.swift
[10/20] Compiling WhiteboxCryptography AESMode.swift
[11/20] Compiling WhiteboxCryptography CryptoAlgorithm.swift
[12/20] Compiling WhiteboxCryptography CryptographicServiceImpl.swift
[13/20] Compiling WhiteboxCryptography AESKeySize.swift
[14/20] Compiling WhiteboxCryptography AESCore.swift
[15/20] Compiling WhiteboxCryptography AESService.swift
[16/20] Emitting module WhiteboxCryptography
[17/20] Compiling WhiteboxCryptography AESServiceImpl.swift
[18/20] Compiling WhiteboxCryptography CryptographicService.swift
[19/20] Compiling WhiteboxCryptography MemoryScramblerImpl.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhiteboxCryptography/Scrumbler/MemoryScramblerImpl.swift:143:21: warning: mutation of captured var 'scrambledData' in concurrently-executing code
141 |                 for i in startIndex..<endIndex {
142 |                     let keyIndex = i % keyCount
143 |                     scrambledData[i] = data[i] ^ key[keyIndex]
    |                     `- warning: mutation of captured var 'scrambledData' in concurrently-executing code
144 |                 }
145 |             }
[20/20] Compiling WhiteboxCryptography resource_bundle_accessor.swift
Build complete! (14.93s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WhiteboxCryptography",
  "name" : "WhiteboxCryptography",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "WhiteboxCryptography",
      "targets" : [
        "WhiteboxCryptography"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WhiteboxCryptographyTests",
      "module_type" : "SwiftTarget",
      "name" : "WhiteboxCryptographyTests",
      "path" : "Tests/WhiteboxCryptographyTests",
      "sources" : [
        "AESCoreTests.swift",
        "AESServiceTests.swift",
        "CryptoGraphicServiceTest.swift",
        "MemoryScramblerTest.swift",
        "WhiteboxCryptographySDKTests.swift"
      ],
      "target_dependencies" : [
        "WhiteboxCryptography"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WhiteboxCryptography",
      "module_type" : "SwiftTarget",
      "name" : "WhiteboxCryptography",
      "path" : "Sources/WhiteboxCryptography",
      "product_memberships" : [
        "WhiteboxCryptography"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/WhiteboxCryptography/Resources/Sbox_InvSbox_Rcon.txt",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AES/AESCore.swift",
        "AES/AESService.swift",
        "AES/AESServiceImpl.swift",
        "Crypt/CryptographicService.swift",
        "Crypt/CryptographicServiceImpl.swift",
        "Enum/AESKeySize.swift",
        "Enum/AESMode.swift",
        "Enum/CryptoAlgorithm.swift",
        "Enum/CryptoKeySize.swift",
        "Error/CryptographicError.swift",
        "Ext/Array+Extension.swift",
        "Ext/Data+Extension.swift",
        "Scrumbler/MemoryScrambler.swift",
        "Scrumbler/MemoryScramblerImpl.swift",
        "WhiteboxCryptographySDK.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.