This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 SipHash, reference v1.2.2 (e32508), with Swift 6.0 for macOS (SPM) on 18 Oct 2024 21:41:47 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.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.55.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/attaswift/SipHash.git
Reference: v1.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/attaswift/SipHash
 * tag               v1.2.2     -> FETCH_HEAD
HEAD is now at e325083 Bump to version 1.2.2
Cloned https://github.com/attaswift/SipHash.git
Revision (git rev-parse @):
e325083424688055363bbfcb7f1a440d7d7a1bae
SUCCESS checkout https://github.com/attaswift/SipHash.git at v1.2.2
========================================
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": "siphash",
      "name": "SipHash",
      "url": "https://github.com/attaswift/SipHash.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SipHash",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/attaswift/SipHash.git
[1/440] Fetching siphash
Fetched https://github.com/attaswift/SipHash.git from cache (1.03s)
Creating working copy for https://github.com/attaswift/SipHash.git
Working copy of https://github.com/attaswift/SipHash.git resolved at v1.2.2 (e325083)
warning: '.resolve-product-dependencies': dependency 'siphash' 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/attaswift/SipHash.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun 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--4A847ED0836F2485.txt
[3/9] Compiling SipHash SipHashable.swift
[4/9] Compiling SipHash SipHasher.swift
[5/9] Compiling SipHash RandomUInt64.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! (4.51s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.