The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SipHash, reference v1.2.2 (e32508), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 16:59:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/attaswift/SipHash.git
Reference: v1.2.2
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
 * 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
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/attaswift/SipHash.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling SipHash SipHashable.swift
[4/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 [#TemporaryPointers]
 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 [#TemporaryPointers]
 27 |     }
 28 |
/host/spi-builder-workspace/SipHash/Primitive Types.swift:34:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer [#TemporaryPointers]
 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 [#TemporaryPointers]
 35 |     }
 36 |
/host/spi-builder-workspace/SipHash/Primitive Types.swift:42:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer [#TemporaryPointers]
 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 [#TemporaryPointers]
 43 |     }
 44 |
/host/spi-builder-workspace/SipHash/Primitive Types.swift:50:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer [#TemporaryPointers]
 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 [#TemporaryPointers]
 51 |     }
 52 |
/host/spi-builder-workspace/SipHash/Primitive Types.swift:58:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer [#TemporaryPointers]
 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 [#TemporaryPointers]
 59 |     }
 60 |
/host/spi-builder-workspace/SipHash/Primitive Types.swift:66:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer [#TemporaryPointers]
 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 [#TemporaryPointers]
 67 |     }
 68 |
/host/spi-builder-workspace/SipHash/Primitive Types.swift:74:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer [#TemporaryPointers]
 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 [#TemporaryPointers]
 75 |     }
 76 |
/host/spi-builder-workspace/SipHash/Primitive Types.swift:82:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer [#TemporaryPointers]
 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 [#TemporaryPointers]
 83 |     }
 84 |
/host/spi-builder-workspace/SipHash/Primitive Types.swift:90:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer [#TemporaryPointers]
 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 [#TemporaryPointers]
 91 |     }
 92 |
/host/spi-builder-workspace/SipHash/Primitive Types.swift:98:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer [#TemporaryPointers]
 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 [#TemporaryPointers]
 99 |     }
100 |
/host/spi-builder-workspace/SipHash/Primitive Types.swift:106:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer [#TemporaryPointers]
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 [#TemporaryPointers]
107 |     }
108 | }
/host/spi-builder-workspace/SipHash/Primitive Types.swift:118:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer [#TemporaryPointers]
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 [#TemporaryPointers]
119 |     }
120 |
/host/spi-builder-workspace/SipHash/Primitive Types.swift:126:16: warning: initialization of 'UnsafeRawBufferPointer' results in a dangling buffer pointer [#TemporaryPointers]
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 [#TemporaryPointers]
127 |     }
128 |
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[5/10] Compiling SipHash RandomUInt64.swift
[6/10] Emitting module SipHash
[7/10] Compiling SipHash SipHasher.swift
[8/11] Wrapping AST for SipHash for debugging
[9/11] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[10/11] Linking libSipHash.wasm
BUILD FAILURE 6.2 wasm