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 HashGenerator, reference 0.0.2 (5281d9), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 17:33:53 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jordanbaird/HashGenerator.git
Reference: 0.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jordanbaird/HashGenerator
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at 5281d9d Update README.md
Cloned https://github.com/jordanbaird/HashGenerator.git
Revision (git rev-parse @):
5281d9d846ab555e8a064c9af8ca2785239c4e5a
SUCCESS checkout https://github.com/jordanbaird/HashGenerator.git at 0.0.2
Fetching https://github.com/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.25s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.67s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.0.0
========================================
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": "hashgenerator",
      "name": "HashGenerator",
      "url": "https://github.com/jordanbaird/HashGenerator.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/HashGenerator",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jordanbaird/HashGenerator.git
[1/276] Fetching hashgenerator
Fetched https://github.com/jordanbaird/HashGenerator.git from cache (0.96s)
Creating working copy for https://github.com/jordanbaird/HashGenerator.git
Working copy of https://github.com/jordanbaird/HashGenerator.git resolved at 0.0.2 (5281d9d)
warning: '.resolve-product-dependencies': dependency 'hashgenerator' 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/jordanbaird/HashGenerator.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/6] Emitting module HashGenerator
/Users/admin/builder/spi-builder-workspace/Sources/HashGenerator/HashGenerator.swift:259:29: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
257 |   public func hash<T>(_ value: T) -> Digest {
258 |     var value = value
259 |     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.
260 |   }
261 |
[6/6] Compiling HashGenerator HashGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/HashGenerator/HashGenerator.swift:259:29: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
257 |   public func hash<T>(_ value: T) -> Digest {
258 |     var value = value
259 |     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.
260 |   }
261 |
Build complete! (16.44s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "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.