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 HashGenerator, reference main (4a904b), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 18:30:11 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/jordanbaird/HashGenerator.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jordanbaird/HashGenerator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4a904b3 Update README.md
Cloned https://github.com/jordanbaird/HashGenerator.git
Revision (git rev-parse @):
4a904b341271457fab7b1cafa4376f85b3df19cd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jordanbaird/HashGenerator.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jordanbaird/HashGenerator.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] Compiling HashGenerator HashGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/HashGenerator/HashGenerator.swift:245:33: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
243 |     public func hash<T>(_ value: T) -> Digest {
244 |         var value = value
245 |         return hash(Data(bytes: &value, count: MemoryLayout<T>.size))
    |                                 `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
246 |     }
247 |
[4/4] Emitting module HashGenerator
/Users/admin/builder/spi-builder-workspace/Sources/HashGenerator/HashGenerator.swift:245:33: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
243 |     public func hash<T>(_ value: T) -> Digest {
244 |         var value = value
245 |         return hash(Data(bytes: &value, count: MemoryLayout<T>.size))
    |                                 `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
246 |     }
247 |
Build complete! (3.42s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HashGenerator",
  "name" : "HashGenerator",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "HashGenerator",
      "targets" : [
        "HashGenerator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HashGeneratorTests",
      "module_type" : "SwiftTarget",
      "name" : "HashGeneratorTests",
      "path" : "Tests/HashGeneratorTests",
      "sources" : [
        "HashGeneratorTests.swift"
      ],
      "target_dependencies" : [
        "HashGenerator"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HashGenerator",
      "module_type" : "SwiftTarget",
      "name" : "HashGenerator",
      "path" : "Sources/HashGenerator",
      "product_memberships" : [
        "HashGenerator"
      ],
      "sources" : [
        "HashGenerator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.