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 with Swift 6.0 for Linux.

Swift 6 data race errors: 0

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/attaswift/SipHash.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling SipHash SipHashable.swift
[4/10] Compiling SipHash SipHasher.swift
[5/10] Emitting module SipHash
[6/10] Compiling SipHash Primitive Types.swift
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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 |
/host/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 |
/host/spi-builder-workspace/SipHash/Primitive Types.swift:136:22: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer
134 |         var data = value.isZero ? 0.0 : value
135 |         // Float80 is 16 bytes wide but the last 6 are uninitialized.
136 |         let buffer = UnsafeRawBufferPointer(start: &data, count: 10)
    |                      |                             |- note: implicit argument conversion from 'Float80' 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
137 |         append(buffer)
138 |     }
[7/10] Compiling SipHash RandomUInt64.swift
[8/11] Wrapping AST for SipHash for debugging
[9/11] Write Objects.LinkFileList
[10/11] Linking libSipHash.so
Build complete! (9.00s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SipHash",
  "name" : "SipHash",
  "path" : "/host/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.