The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwCrypt, reference 5.1.4 (d18cf9), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 04:02:46 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/soyersoyer/SwCrypt.git
Reference: 5.1.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/soyersoyer/SwCrypt
 * tag               5.1.4      -> FETCH_HEAD
HEAD is now at d18cf90 Added SPM Support (#60)
Cloned https://github.com/soyersoyer/SwCrypt.git
Revision (git rev-parse @):
d18cf90973a32dc0d28f94eec91faf14ae8b4443
SUCCESS checkout https://github.com/soyersoyer/SwCrypt.git at 5.1.4
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/soyersoyer/SwCrypt.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/4] Emitting module SwCrypt
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:1476:59: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1474 | 			getFunc(dl!, f: "CCRSACryptorEncrypt")
1475 |
1476 | 		fileprivate typealias CCRSACryptorDecryptT = @convention (c) (
     |                                                           `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1477 | 			_ privateKey: CCRSACryptorRef,
1478 | 			_ padding: CCAsymmetricPadding,
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:2081:45: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer [#TemporaryPointers]
2079 |
2080 | 		fileprivate static let rfc3394IVData: [UInt8] = [0xA6, 0xA6, 0xA6, 0xA6, 0xA6, 0xA6, 0xA6, 0xA6]
2081 | 		public static let rfc3394IV = Data(bytes: UnsafePointer<UInt8>(rfc3394IVData), count:rfc3394IVData.count)
     |                                             |                    |- note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
     |                                             |                    `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
     |                                             `- warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer [#TemporaryPointers]
2082 |
2083 | 		public static func SymmetricKeyWrap(_ iv: Data,
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[4/4] Compiling SwCrypt SwCrypt.swift
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:1476:59: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1474 | 			getFunc(dl!, f: "CCRSACryptorEncrypt")
1475 |
1476 | 		fileprivate typealias CCRSACryptorDecryptT = @convention (c) (
     |                                                           `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1477 | 			_ privateKey: CCRSACryptorRef,
1478 | 			_ padding: CCAsymmetricPadding,
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:2081:45: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer [#TemporaryPointers]
2079 |
2080 | 		fileprivate static let rfc3394IVData: [UInt8] = [0xA6, 0xA6, 0xA6, 0xA6, 0xA6, 0xA6, 0xA6, 0xA6]
2081 | 		public static let rfc3394IV = Data(bytes: UnsafePointer<UInt8>(rfc3394IVData), count:rfc3394IVData.count)
     |                                             |                    |- note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
     |                                             |                    `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
     |                                             `- warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer [#TemporaryPointers]
2082 |
2083 | 		public static func SymmetricKeyWrap(_ iv: Data,
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
Build complete! (4.14s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwCrypt",
  "name" : "SwCrypt",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwCrypt",
      "targets" : [
        "SwCrypt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwCryptTests",
      "module_type" : "SwiftTarget",
      "name" : "SwCryptTests",
      "path" : "SwCryptTests",
      "sources" : [
        "SwCryptTests.swift"
      ],
      "target_dependencies" : [
        "SwCrypt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwCrypt",
      "module_type" : "SwiftTarget",
      "name" : "SwCrypt",
      "path" : "SwCrypt",
      "product_memberships" : [
        "SwCrypt"
      ],
      "sources" : [
        "SwCrypt.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
Done.