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 Phantomlike, reference 1.0.0 (f77d3b), with Swift 6.1 for Wasm on 27 May 2025 06:59:58 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adamnemecek/phantomlike.git
Reference: 1.0.0
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/adamnemecek/phantomlike
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at f77d3bb * constructors
Cloned https://github.com/adamnemecek/phantomlike.git
Revision (git rev-parse @):
f77d3bbe3dea1c75985976e8b5349eff75365f1e
SUCCESS checkout https://github.com/adamnemecek/phantomlike.git at 1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/adamnemecek/phantomlike.git
https://github.com/adamnemecek/phantomlike.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Phantomlike",
  "name" : "Phantomlike",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Phantomlike",
      "targets" : [
        "Phantomlike"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PhantomlikeTests",
      "module_type" : "SwiftTarget",
      "name" : "PhantomlikeTests",
      "path" : "Tests/PhantomlikeTests",
      "sources" : [
        "PhantomlikeTests.swift"
      ],
      "target_dependencies" : [
        "Phantomlike"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Phantomlike",
      "module_type" : "SwiftTarget",
      "name" : "Phantomlike",
      "path" : "Sources/Phantomlike",
      "product_memberships" : [
        "Phantomlike"
      ],
      "sources" : [
        "FloatingValue.swift",
        "SignedValue.swift",
        "UnsignedValue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module Phantomlike
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:68:26: error: 'Float80' is unavailable: Float80 is not available on target platform.
 66 |     }
 67 |
 68 |     public init(_ value: Float80) {
    |                          `- error: 'Float80' is unavailable: Float80 is not available on target platform.
 69 |         content = .init(value)
 70 |     }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
  |                       `- note: 'Float80' has been explicitly marked unavailable here
3 |     public init()
4 | }
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:279:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'FloatingValue' to 'Hashable' by implementing 'hash(into:)' instead
277 |     }
278 |
279 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'FloatingValue' to 'Hashable' by implementing 'hash(into:)' instead
280 |         return content.hashValue
281 |     }
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:8:15: error: type 'FloatingValue<Storage, Unit>' does not conform to protocol 'FloatingPoint'
  6 | ////  Copyright © 2017 Adam Nemecek. All rights reserved.
  7 | ////
  8 | public struct FloatingValue<Storage: BinaryFloatingPoint, Unit> : BinaryFloatingPoint {
    |               `- error: type 'FloatingValue<Storage, Unit>' does not conform to protocol 'FloatingPoint'
  9 |     public typealias IntegerLiteralType = Storage.IntegerLiteralType
 10 |     public typealias Exponent = Storage.Exponent
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:8:15: error: 'FloatingPoint' requires the types 'FloatingValue<Storage, Unit>' and 'FloatingValue<Storage, Unit>.Magnitude' (aka 'Storage') be equivalent
  6 | ////  Copyright © 2017 Adam Nemecek. All rights reserved.
  7 | ////
  8 | public struct FloatingValue<Storage: BinaryFloatingPoint, Unit> : BinaryFloatingPoint {
    |               |- error: 'FloatingPoint' requires the types 'FloatingValue<Storage, Unit>' and 'FloatingValue<Storage, Unit>.Magnitude' (aka 'Storage') be equivalent
    |               `- note: requirement specified as 'Self' == 'Self.Magnitude' [with Self = FloatingValue<Storage, Unit>]
  9 |     public typealias IntegerLiteralType = Storage.IntegerLiteralType
 10 |     public typealias Exponent = Storage.Exponent
/host/spi-builder-workspace/Sources/Phantomlike/SignedValue.swift:131:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SignedValue' to 'Hashable' by implementing 'hash(into:)' instead
129 |     }
130 |
131 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SignedValue' to 'Hashable' by implementing 'hash(into:)' instead
132 |         return content.hashValue
133 |     }
/host/spi-builder-workspace/Sources/Phantomlike/SignedValue.swift:10:15: error: type 'SignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
  8 |
  9 |
 10 | public struct SignedValue<Storage: SignedInteger & FixedWidthInteger, Unit> : SignedInteger, FixedWidthInteger {
    |               |- error: type 'SignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
    |               `- note: add stubs for conformance
 11 |
 12 |     public typealias Words = Storage.Words
Swift.SIMD.&=:2:20: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func &= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.&=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func &= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.SIMD.|=:2:20: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func |= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.|=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func |= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.SIMD.^=:2:20: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func ^= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.^=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func ^= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.BinaryInteger.&=:2:13: note: protocol requires function '&=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func &= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '&=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
3 |
Swift.BinaryInteger.|=:2:13: note: protocol requires function '|=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func |= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '|=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
3 |
Swift.BinaryInteger.^=:2:13: note: protocol requires function '^=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func ^= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '^=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
3 |
/host/spi-builder-workspace/Sources/Phantomlike/UnsignedValue.swift:130:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'UnsignedValue' to 'Hashable' by implementing 'hash(into:)' instead
128 |     }
129 |
130 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'UnsignedValue' to 'Hashable' by implementing 'hash(into:)' instead
131 |         return content.hashValue
132 |     }
/host/spi-builder-workspace/Sources/Phantomlike/UnsignedValue.swift:9:15: error: type 'UnsignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
  7 | //
  8 |
  9 | public struct UnsignedValue<Storage: UnsignedInteger & FixedWidthInteger, Unit> : UnsignedInteger, FixedWidthInteger {
    |               |- error: type 'UnsignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
    |               `- note: add stubs for conformance
 10 |
 11 |     public typealias Words = Storage.Words
Swift.SIMD.&=:2:20: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func &= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.&=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func &= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.SIMD.|=:2:20: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func |= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.|=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func |= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.SIMD.^=:2:20: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func ^= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.^=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func ^= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.BinaryInteger.&=:2:13: note: protocol requires function '&=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func &= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '&=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
3 |
Swift.BinaryInteger.|=:2:13: note: protocol requires function '|=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func |= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '|=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
3 |
Swift.BinaryInteger.^=:2:13: note: protocol requires function '^=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func ^= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '^=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
3 |
[4/6] Compiling Phantomlike UnsignedValue.swift
/host/spi-builder-workspace/Sources/Phantomlike/UnsignedValue.swift:130:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'UnsignedValue' to 'Hashable' by implementing 'hash(into:)' instead
128 |     }
129 |
130 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'UnsignedValue' to 'Hashable' by implementing 'hash(into:)' instead
131 |         return content.hashValue
132 |     }
/host/spi-builder-workspace/Sources/Phantomlike/UnsignedValue.swift:9:15: error: type 'UnsignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
  7 | //
  8 |
  9 | public struct UnsignedValue<Storage: UnsignedInteger & FixedWidthInteger, Unit> : UnsignedInteger, FixedWidthInteger {
    |               |- error: type 'UnsignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
    |               `- note: add stubs for conformance
 10 |
 11 |     public typealias Words = Storage.Words
Swift.SIMD.&=:2:20: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func &= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.&=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func &= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.SIMD.|=:2:20: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func |= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.|=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func |= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.SIMD.^=:2:20: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func ^= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.^=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func ^= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.BinaryInteger.&=:2:13: note: protocol requires function '&=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func &= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '&=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
3 |
Swift.BinaryInteger.|=:2:13: note: protocol requires function '|=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func |= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '|=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
3 |
Swift.BinaryInteger.^=:2:13: note: protocol requires function '^=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func ^= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '^=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
3 |
[5/6] Compiling Phantomlike FloatingValue.swift
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:68:26: error: 'Float80' is unavailable: Float80 is not available on target platform.
 66 |     }
 67 |
 68 |     public init(_ value: Float80) {
    |                          `- error: 'Float80' is unavailable: Float80 is not available on target platform.
 69 |         content = .init(value)
 70 |     }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
  |                       `- note: 'Float80' has been explicitly marked unavailable here
3 |     public init()
4 | }
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:279:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'FloatingValue' to 'Hashable' by implementing 'hash(into:)' instead
277 |     }
278 |
279 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'FloatingValue' to 'Hashable' by implementing 'hash(into:)' instead
280 |         return content.hashValue
281 |     }
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:8:15: error: type 'FloatingValue<Storage, Unit>' does not conform to protocol 'FloatingPoint'
  6 | ////  Copyright © 2017 Adam Nemecek. All rights reserved.
  7 | ////
  8 | public struct FloatingValue<Storage: BinaryFloatingPoint, Unit> : BinaryFloatingPoint {
    |               `- error: type 'FloatingValue<Storage, Unit>' does not conform to protocol 'FloatingPoint'
  9 |     public typealias IntegerLiteralType = Storage.IntegerLiteralType
 10 |     public typealias Exponent = Storage.Exponent
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:8:15: error: 'FloatingPoint' requires the types 'FloatingValue<Storage, Unit>' and 'FloatingValue<Storage, Unit>.Magnitude' (aka 'Storage') be equivalent
  6 | ////  Copyright © 2017 Adam Nemecek. All rights reserved.
  7 | ////
  8 | public struct FloatingValue<Storage: BinaryFloatingPoint, Unit> : BinaryFloatingPoint {
    |               |- error: 'FloatingPoint' requires the types 'FloatingValue<Storage, Unit>' and 'FloatingValue<Storage, Unit>.Magnitude' (aka 'Storage') be equivalent
    |               `- note: requirement specified as 'Self' == 'Self.Magnitude' [with Self = FloatingValue<Storage, Unit>]
  9 |     public typealias IntegerLiteralType = Storage.IntegerLiteralType
 10 |     public typealias Exponent = Storage.Exponent
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:69:20: error: no exact matches in call to initializer
 67 |
 68 |     public init(_ value: Float80) {
 69 |         content = .init(value)
    |                    `- error: no exact matches in call to initializer
 70 |     }
 71 |
Swift.BinaryFloatingPoint.init:2:1: note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Float)}
  | `- note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
3 |
Swift.BinaryFloatingPoint.init:2:1: note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Double)}
  | `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
3 |
Swift.FloatingPoint.init:2:1: note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
1 | protocol FloatingPoint {
2 | init(_ value: Int)}
  | `- note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
3 |
[6/6] Compiling Phantomlike SignedValue.swift
/host/spi-builder-workspace/Sources/Phantomlike/SignedValue.swift:131:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SignedValue' to 'Hashable' by implementing 'hash(into:)' instead
129 |     }
130 |
131 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SignedValue' to 'Hashable' by implementing 'hash(into:)' instead
132 |         return content.hashValue
133 |     }
/host/spi-builder-workspace/Sources/Phantomlike/SignedValue.swift:10:15: error: type 'SignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
  8 |
  9 |
 10 | public struct SignedValue<Storage: SignedInteger & FixedWidthInteger, Unit> : SignedInteger, FixedWidthInteger {
    |               |- error: type 'SignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
    |               `- note: add stubs for conformance
 11 |
 12 |     public typealias Words = Storage.Words
Swift.SIMD.&=:2:20: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func &= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.&=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func &= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.SIMD.|=:2:20: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func |= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.|=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func |= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.SIMD.^=:2:20: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func ^= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.^=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func ^= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.BinaryInteger.&=:2:13: note: protocol requires function '&=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func &= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '&=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
3 |
Swift.BinaryInteger.|=:2:13: note: protocol requires function '|=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func |= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '|=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
3 |
Swift.BinaryInteger.^=:2:13: note: protocol requires function '^=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func ^= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '^=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module Phantomlike
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:68:26: error: 'Float80' is unavailable: Float80 is not available on target platform.
 66 |     }
 67 |
 68 |     public init(_ value: Float80) {
    |                          `- error: 'Float80' is unavailable: Float80 is not available on target platform.
 69 |         content = .init(value)
 70 |     }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
  |                       `- note: 'Float80' has been explicitly marked unavailable here
3 |     public init()
4 | }
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:279:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'FloatingValue' to 'Hashable' by implementing 'hash(into:)' instead
277 |     }
278 |
279 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'FloatingValue' to 'Hashable' by implementing 'hash(into:)' instead
280 |         return content.hashValue
281 |     }
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:8:15: error: type 'FloatingValue<Storage, Unit>' does not conform to protocol 'FloatingPoint'
  6 | ////  Copyright © 2017 Adam Nemecek. All rights reserved.
  7 | ////
  8 | public struct FloatingValue<Storage: BinaryFloatingPoint, Unit> : BinaryFloatingPoint {
    |               `- error: type 'FloatingValue<Storage, Unit>' does not conform to protocol 'FloatingPoint'
  9 |     public typealias IntegerLiteralType = Storage.IntegerLiteralType
 10 |     public typealias Exponent = Storage.Exponent
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:8:15: error: 'FloatingPoint' requires the types 'FloatingValue<Storage, Unit>' and 'FloatingValue<Storage, Unit>.Magnitude' (aka 'Storage') be equivalent
  6 | ////  Copyright © 2017 Adam Nemecek. All rights reserved.
  7 | ////
  8 | public struct FloatingValue<Storage: BinaryFloatingPoint, Unit> : BinaryFloatingPoint {
    |               |- error: 'FloatingPoint' requires the types 'FloatingValue<Storage, Unit>' and 'FloatingValue<Storage, Unit>.Magnitude' (aka 'Storage') be equivalent
    |               `- note: requirement specified as 'Self' == 'Self.Magnitude' [with Self = FloatingValue<Storage, Unit>]
  9 |     public typealias IntegerLiteralType = Storage.IntegerLiteralType
 10 |     public typealias Exponent = Storage.Exponent
/host/spi-builder-workspace/Sources/Phantomlike/SignedValue.swift:131:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SignedValue' to 'Hashable' by implementing 'hash(into:)' instead
129 |     }
130 |
131 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SignedValue' to 'Hashable' by implementing 'hash(into:)' instead
132 |         return content.hashValue
133 |     }
/host/spi-builder-workspace/Sources/Phantomlike/SignedValue.swift:10:15: error: type 'SignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
  8 |
  9 |
 10 | public struct SignedValue<Storage: SignedInteger & FixedWidthInteger, Unit> : SignedInteger, FixedWidthInteger {
    |               |- error: type 'SignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
    |               `- note: add stubs for conformance
 11 |
 12 |     public typealias Words = Storage.Words
Swift.SIMD.&=:2:20: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func &= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.&=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func &= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.SIMD.|=:2:20: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func |= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.|=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func |= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.SIMD.^=:2:20: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func ^= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.^=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func ^= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.BinaryInteger.&=:2:13: note: protocol requires function '&=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func &= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '&=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
3 |
Swift.BinaryInteger.|=:2:13: note: protocol requires function '|=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func |= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '|=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
3 |
Swift.BinaryInteger.^=:2:13: note: protocol requires function '^=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func ^= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '^=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
3 |
/host/spi-builder-workspace/Sources/Phantomlike/UnsignedValue.swift:130:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'UnsignedValue' to 'Hashable' by implementing 'hash(into:)' instead
128 |     }
129 |
130 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'UnsignedValue' to 'Hashable' by implementing 'hash(into:)' instead
131 |         return content.hashValue
132 |     }
/host/spi-builder-workspace/Sources/Phantomlike/UnsignedValue.swift:9:15: error: type 'UnsignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
  7 | //
  8 |
  9 | public struct UnsignedValue<Storage: UnsignedInteger & FixedWidthInteger, Unit> : UnsignedInteger, FixedWidthInteger {
    |               |- error: type 'UnsignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
    |               `- note: add stubs for conformance
 10 |
 11 |     public typealias Words = Storage.Words
Swift.SIMD.&=:2:20: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func &= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.&=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func &= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.SIMD.|=:2:20: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func |= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.|=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func |= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.SIMD.^=:2:20: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func ^= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.^=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func ^= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.BinaryInteger.&=:2:13: note: protocol requires function '&=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func &= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '&=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
3 |
Swift.BinaryInteger.|=:2:13: note: protocol requires function '|=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func |= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '|=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
3 |
Swift.BinaryInteger.^=:2:13: note: protocol requires function '^=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func ^= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '^=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
3 |
[3/5] Compiling Phantomlike SignedValue.swift
/host/spi-builder-workspace/Sources/Phantomlike/SignedValue.swift:131:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SignedValue' to 'Hashable' by implementing 'hash(into:)' instead
129 |     }
130 |
131 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SignedValue' to 'Hashable' by implementing 'hash(into:)' instead
132 |         return content.hashValue
133 |     }
/host/spi-builder-workspace/Sources/Phantomlike/SignedValue.swift:10:15: error: type 'SignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
  8 |
  9 |
 10 | public struct SignedValue<Storage: SignedInteger & FixedWidthInteger, Unit> : SignedInteger, FixedWidthInteger {
    |               |- error: type 'SignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
    |               `- note: add stubs for conformance
 11 |
 12 |     public typealias Words = Storage.Words
Swift.SIMD.&=:2:20: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func &= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.&=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func &= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.SIMD.|=:2:20: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func |= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.|=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func |= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.SIMD.^=:2:20: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func ^= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.^=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func ^= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.BinaryInteger.&=:2:13: note: protocol requires function '&=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func &= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '&=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
3 |
Swift.BinaryInteger.|=:2:13: note: protocol requires function '|=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func |= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '|=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
3 |
Swift.BinaryInteger.^=:2:13: note: protocol requires function '^=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func ^= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '^=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
3 |
[4/5] Compiling Phantomlike FloatingValue.swift
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:68:26: error: 'Float80' is unavailable: Float80 is not available on target platform.
 66 |     }
 67 |
 68 |     public init(_ value: Float80) {
    |                          `- error: 'Float80' is unavailable: Float80 is not available on target platform.
 69 |         content = .init(value)
 70 |     }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
  |                       `- note: 'Float80' has been explicitly marked unavailable here
3 |     public init()
4 | }
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:279:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'FloatingValue' to 'Hashable' by implementing 'hash(into:)' instead
277 |     }
278 |
279 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'FloatingValue' to 'Hashable' by implementing 'hash(into:)' instead
280 |         return content.hashValue
281 |     }
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:8:15: error: type 'FloatingValue<Storage, Unit>' does not conform to protocol 'FloatingPoint'
  6 | ////  Copyright © 2017 Adam Nemecek. All rights reserved.
  7 | ////
  8 | public struct FloatingValue<Storage: BinaryFloatingPoint, Unit> : BinaryFloatingPoint {
    |               `- error: type 'FloatingValue<Storage, Unit>' does not conform to protocol 'FloatingPoint'
  9 |     public typealias IntegerLiteralType = Storage.IntegerLiteralType
 10 |     public typealias Exponent = Storage.Exponent
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:8:15: error: 'FloatingPoint' requires the types 'FloatingValue<Storage, Unit>' and 'FloatingValue<Storage, Unit>.Magnitude' (aka 'Storage') be equivalent
  6 | ////  Copyright © 2017 Adam Nemecek. All rights reserved.
  7 | ////
  8 | public struct FloatingValue<Storage: BinaryFloatingPoint, Unit> : BinaryFloatingPoint {
    |               |- error: 'FloatingPoint' requires the types 'FloatingValue<Storage, Unit>' and 'FloatingValue<Storage, Unit>.Magnitude' (aka 'Storage') be equivalent
    |               `- note: requirement specified as 'Self' == 'Self.Magnitude' [with Self = FloatingValue<Storage, Unit>]
  9 |     public typealias IntegerLiteralType = Storage.IntegerLiteralType
 10 |     public typealias Exponent = Storage.Exponent
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:69:20: error: no exact matches in call to initializer
 67 |
 68 |     public init(_ value: Float80) {
 69 |         content = .init(value)
    |                    `- error: no exact matches in call to initializer
 70 |     }
 71 |
Swift.BinaryFloatingPoint.init:2:1: note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Float)}
  | `- note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
3 |
Swift.BinaryFloatingPoint.init:2:1: note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Double)}
  | `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
3 |
Swift.FloatingPoint.init:2:1: note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
1 | protocol FloatingPoint {
2 | init(_ value: Int)}
  | `- note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
3 |
[5/5] Compiling Phantomlike UnsignedValue.swift
/host/spi-builder-workspace/Sources/Phantomlike/UnsignedValue.swift:130:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'UnsignedValue' to 'Hashable' by implementing 'hash(into:)' instead
128 |     }
129 |
130 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'UnsignedValue' to 'Hashable' by implementing 'hash(into:)' instead
131 |         return content.hashValue
132 |     }
/host/spi-builder-workspace/Sources/Phantomlike/UnsignedValue.swift:9:15: error: type 'UnsignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
  7 | //
  8 |
  9 | public struct UnsignedValue<Storage: UnsignedInteger & FixedWidthInteger, Unit> : UnsignedInteger, FixedWidthInteger {
    |               |- error: type 'UnsignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
    |               `- note: add stubs for conformance
 10 |
 11 |     public typealias Words = Storage.Words
Swift.SIMD.&=:2:20: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func &= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.&=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func &= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.SIMD.|=:2:20: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func |= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.|=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func |= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.SIMD.^=:2:20: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func ^= (a: inout Self, b: Self)}
  |                    `- note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
3 |
Swift.SIMD.^=:2:20: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
1 | protocol SIMD {
2 | public static func ^= (a: inout Self, b: Self.Scalar)}
  |                    `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
3 |
Swift.BinaryInteger.&=:2:13: note: protocol requires function '&=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func &= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '&=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
3 |
Swift.BinaryInteger.|=:2:13: note: protocol requires function '|=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func |= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '|=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
3 |
Swift.BinaryInteger.^=:2:13: note: protocol requires function '^=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
1 | protocol BinaryInteger {
2 | static func ^= (lhs: inout Self, rhs: Self)}
  |             `- note: protocol requires function '^=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
3 |
BUILD FAILURE 6.1 wasm