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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/soyersoyer/SwCrypt.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/soyersoyer/SwCrypt
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 50e5267 fix Swift 5 deprecations and update dummy project (#51)
Cloned https://github.com/soyersoyer/SwCrypt.git
Revision (git rev-parse @):
50e5267524f6e379318e6df4cdd1617ae379dc47
SUCCESS checkout https://github.com/soyersoyer/SwCrypt.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swcrypt",
      "name": "SwCrypt",
      "url": "https://github.com/soyersoyer/SwCrypt.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwCrypt",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/soyersoyer/SwCrypt.git
[1/584] Fetching swcrypt
Fetched https://github.com/soyersoyer/SwCrypt.git (0.28s)
Creating working copy for https://github.com/soyersoyer/SwCrypt.git
Working copy of https://github.com/soyersoyer/SwCrypt.git resolved at master
warning: '.resolve-product-dependencies': dependency 'swcrypt' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/2] Compiling SwCrypt SwCrypt.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:2082:45: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
                public static let rfc3394IV = Data(bytes: UnsafePointer<UInt8>(rfc3394IVData), count:rfc3394IVData.count)
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:2082:66: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
                public static let rfc3394IV = Data(bytes: UnsafePointer<UInt8>(rfc3394IVData), count:rfc3394IVData.count)
                                                                               ^~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:2082:66: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                public static let rfc3394IV = Data(bytes: UnsafePointer<UInt8>(rfc3394IVData), count:rfc3394IVData.count)
                                                                               ^
[2/2] Emitting module SwCrypt
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:2082:45: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
                public static let rfc3394IV = Data(bytes: UnsafePointer<UInt8>(rfc3394IVData), count:rfc3394IVData.count)
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:2082:66: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
                public static let rfc3394IV = Data(bytes: UnsafePointer<UInt8>(rfc3394IVData), count:rfc3394IVData.count)
                                                                               ^~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:2082:66: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                public static let rfc3394IV = Data(bytes: UnsafePointer<UInt8>(rfc3394IVData), count:rfc3394IVData.count)
                                                                               ^
Build complete! (10.74s)
Build complete.
Done.