Build Information
Successful build of HashGenerator with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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: $workDir/.spi.yml
SUCCESS checkout https://github.com/jordanbaird/HashGenerator.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/jordanbaird/HashGenerator.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/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 |
[4/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 |
Build complete! (17.29s)
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.