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 1.0.7 (00ab5b), with Swift 6.0 for macOS (SPM) on 15 Dec 2024 04:20:46 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: 1.0.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DrDijkstra/WhiteboxCryptography
 * tag               1.0.7      -> FETCH_HEAD
HEAD is now at 00ab5b7 yml updated
Cloned https://github.com/DrDijkstra/WhiteboxCryptography.git
Revision (git rev-parse @):
00ab5b7f2c081056de9e926e39e224cf9ba218b0
SUCCESS checkout https://github.com/DrDijkstra/WhiteboxCryptography.git at 1.0.7
========================================
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
[1/703] Fetching whiteboxcryptography
Fetched https://github.com/DrDijkstra/WhiteboxCryptography.git from cache (0.84s)
Creating working copy for https://github.com/DrDijkstra/WhiteboxCryptography.git
Working copy of https://github.com/DrDijkstra/WhiteboxCryptography.git resolved at 1.0.7 (00ab5b7)
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 MemoryScrambler.swift
[5/19] Compiling WhiteboxCryptography WhiteboxCryptographySDK.swift
[6/19] Compiling WhiteboxCryptography CryptoKeySize.swift
[7/19] Compiling WhiteboxCryptography CryptographicError.swift
[8/19] Compiling WhiteboxCryptography AESServiceImpl.swift
[9/19] Compiling WhiteboxCryptography CryptographicService.swift
[10/19] Compiling WhiteboxCryptography Array+Extension.swift
[11/19] Compiling WhiteboxCryptography Data+Extension.swift
[12/19] Compiling WhiteboxCryptography AESMode.swift
[13/19] Compiling WhiteboxCryptography CryptoAlgorithm.swift
[14/19] 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 |             }
[15/20] Emitting module WhiteboxCryptography
[16/20] Compiling WhiteboxCryptography AESCore.swift
[17/20] Compiling WhiteboxCryptography AESService.swift
[18/20] Compiling WhiteboxCryptography CryptographicServiceImpl.swift
[19/20] Compiling WhiteboxCryptography AESKeySize.swift
[20/20] Compiling WhiteboxCryptography resource_bundle_accessor.swift
Build complete! (15.23s)
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.