Build Information
Successful build of SipHash 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/attaswift/SipHash.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/attaswift/SipHash
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 527b277 Update README, explicitly marking this package as obsolete
Cloned https://github.com/attaswift/SipHash.git
Revision (git rev-parse @):
527b2773671280f6051fc5059804b37e93b825a2
SUCCESS checkout https://github.com/attaswift/SipHash.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/attaswift/SipHash.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/4] Write sources
[1/4] Write swift-version-6F35C1178C84523A.txt
[3/9] Compiling SipHash SipHasher.swift
[4/9] Compiling SipHash RandomUInt64.swift
[5/9] Compiling SipHash SipHashable.swift
[6/9] Compiling SipHash Primitive Types.swift
/Users/admin/builder/spi-builder-workspace/SipHash/Primitive Types.swift:26:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
24 | public mutating func append(_ value: Bool) {
25 | var data = value
26 | append(UnsafeRawBufferPointer(start: &data, count: MemoryLayout<Bool>.size))
| | |- note: implicit argument conversion from 'Bool' to 'UnsafeRawPointer?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafeBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/SipHash/Primitive Types.swift:34:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
32 | public mutating func append(_ value: Int) {
33 | var data = value
34 | append(UnsafeRawBufferPointer(start: &data, count: MemoryLayout<Int>.size))
| | |- note: implicit argument conversion from 'Int' to 'UnsafeRawPointer?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafeBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/SipHash/Primitive Types.swift:42:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
40 | public mutating func append(_ value: UInt) {
41 | var data = value
42 | append(UnsafeRawBufferPointer(start: &data, count: MemoryLayout<UInt>.size))
| | |- note: implicit argument conversion from 'UInt' to 'UnsafeRawPointer?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafeBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/SipHash/Primitive Types.swift:50:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
48 | public mutating func append(_ value: Int64) {
49 | var data = value
50 | append(UnsafeRawBufferPointer(start: &data, count: MemoryLayout<Int64>.size))
| | |- note: implicit argument conversion from 'Int64' to 'UnsafeRawPointer?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafeBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/SipHash/Primitive Types.swift:58:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
56 | public mutating func append(_ value: UInt64) {
57 | var data = value
58 | append(UnsafeRawBufferPointer(start: &data, count: MemoryLayout<UInt64>.size))
| | |- note: implicit argument conversion from 'UInt64' to 'UnsafeRawPointer?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafeBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/SipHash/Primitive Types.swift:66:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
64 | public mutating func append(_ value: Int32) {
65 | var data = value
66 | append(UnsafeRawBufferPointer(start: &data, count: MemoryLayout<Int32>.size))
| | |- note: implicit argument conversion from 'Int32' to 'UnsafeRawPointer?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafeBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/SipHash/Primitive Types.swift:74:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
72 | public mutating func append(_ value: UInt32) {
73 | var data = value
74 | append(UnsafeRawBufferPointer(start: &data, count: MemoryLayout<UInt32>.size))
| | |- note: implicit argument conversion from 'UInt32' to 'UnsafeRawPointer?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafeBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/SipHash/Primitive Types.swift:82:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
80 | public mutating func append(_ value: Int16) {
81 | var data = value
82 | append(UnsafeRawBufferPointer(start: &data, count: MemoryLayout<Int16>.size))
| | |- note: implicit argument conversion from 'Int16' to 'UnsafeRawPointer?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafeBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/SipHash/Primitive Types.swift:90:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
88 | public mutating func append(_ value: UInt16) {
89 | var data = value
90 | append(UnsafeRawBufferPointer(start: &data, count: MemoryLayout<UInt16>.size))
| | |- note: implicit argument conversion from 'UInt16' to 'UnsafeRawPointer?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafeBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/SipHash/Primitive Types.swift:98:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
96 | public mutating func append(_ value: Int8) {
97 | var data = value
98 | append(UnsafeRawBufferPointer(start: &data, count: MemoryLayout<Int8>.size))
| | |- note: implicit argument conversion from 'Int8' to 'UnsafeRawPointer?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafeBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/SipHash/Primitive Types.swift:106:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
104 | public mutating func append(_ value: UInt8) {
105 | var data = value
106 | append(UnsafeRawBufferPointer(start: &data, count: MemoryLayout<UInt8>.size))
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafeRawPointer?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafeBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
107 | }
108 | }
/Users/admin/builder/spi-builder-workspace/SipHash/Primitive Types.swift:118:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
116 | public mutating func append(_ value: Float) {
117 | var data = value.isZero ? 0.0 : value
118 | append(UnsafeRawBufferPointer(start: &data, count: MemoryLayout<Float>.size))
| | |- note: implicit argument conversion from 'Float' to 'UnsafeRawPointer?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafeBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
119 | }
120 |
/Users/admin/builder/spi-builder-workspace/SipHash/Primitive Types.swift:126:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
124 | public mutating func append(_ value: Double) {
125 | var data = value.isZero ? 0.0 : value
126 | append(UnsafeRawBufferPointer(start: &data, count: MemoryLayout<Double>.size))
| | |- note: implicit argument conversion from 'Double' to 'UnsafeRawPointer?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafeBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/SipHash/Primitive Types.swift:151:20: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
149 | public mutating func append(_ value: CGFloat) {
150 | var data = value.isZero ? 0.0 : value
151 | append(UnsafeRawBufferPointer(start: &data, count: MemoryLayout<CGFloat>.size))
| | |- note: implicit argument conversion from 'CGFloat' to 'UnsafeRawPointer?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafeBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
152 | }
153 | }
[7/9] Emitting module SipHash
[7/9] Write Objects.LinkFileList
[8/9] Linking libSipHash.dylib
Build complete! (10.55s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SipHash",
"name" : "SipHash",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SipHash",
"targets" : [
"SipHash"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"swift_languages_versions" : [
"4"
],
"targets" : [
{
"c99name" : "SipHashTests",
"module_type" : "SwiftTarget",
"name" : "SipHashTests",
"path" : "SipHashTests",
"sources" : [
"PrimitiveTypeTests.swift",
"SipHashTests.swift",
"SipHashableTests.swift"
],
"target_dependencies" : [
"SipHash"
],
"type" : "test"
},
{
"c99name" : "SipHash",
"module_type" : "SwiftTarget",
"name" : "SipHash",
"path" : "SipHash",
"product_memberships" : [
"SipHash"
],
"sources" : [
"Primitive Types.swift",
"RandomUInt64.swift",
"SipHashable.swift",
"SipHasher.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.