The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Phantomlike with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adamnemecek/phantomlike.git
Reference: 1.0.0
Cloned https://github.com/adamnemecek/phantomlike.git into spi-builder-workspace
SUCCESS checkout https://github.com/adamnemecek/phantomlike.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/4] Compiling Phantomlike SignedValue.swift
/host/spi-builder-workspace/Sources/Phantomlike/SignedValue.swift:10:15: error: type 'SignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
public struct SignedValue<Storage: SignedInteger & FixedWidthInteger, Unit> : SignedInteger, FixedWidthInteger {
              ^
Swift.SIMD:22:24: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
    public static func &= (a: inout Self, b: Self)
                       ^
Swift.SIMD:32:24: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
    public static func &= (a: inout Self, b: Self.Scalar)
                       ^
Swift.SIMD:24:24: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
    public static func |= (a: inout Self, b: Self)
                       ^
Swift.SIMD:34:24: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
    public static func |= (a: inout Self, b: Self.Scalar)
                       ^
Swift.SIMD:23:24: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
    public static func ^= (a: inout Self, b: Self)
                       ^
Swift.SIMD:33:24: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
    public static func ^= (a: inout Self, b: Self.Scalar)
                       ^
/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
    public var hashValue: Int {
               ^
Swift.BinaryInteger:26:17: note: protocol requires function '&=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
    static func &= (lhs: inout Self, rhs: Self)
                ^
Swift.BinaryInteger:28:17: note: protocol requires function '|=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
    static func |= (lhs: inout Self, rhs: Self)
                ^
Swift.BinaryInteger:30:17: note: protocol requires function '^=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
    static func ^= (lhs: inout Self, rhs: Self)
                ^
[2/4] Compiling Phantomlike UnsignedValue.swift
/host/spi-builder-workspace/Sources/Phantomlike/UnsignedValue.swift:9:15: error: type 'UnsignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
public struct UnsignedValue<Storage: UnsignedInteger & FixedWidthInteger, Unit> : UnsignedInteger, FixedWidthInteger {
              ^
Swift.SIMD:22:24: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
    public static func &= (a: inout Self, b: Self)
                       ^
Swift.SIMD:32:24: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
    public static func &= (a: inout Self, b: Self.Scalar)
                       ^
Swift.SIMD:24:24: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
    public static func |= (a: inout Self, b: Self)
                       ^
Swift.SIMD:34:24: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
    public static func |= (a: inout Self, b: Self.Scalar)
                       ^
Swift.SIMD:23:24: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
    public static func ^= (a: inout Self, b: Self)
                       ^
Swift.SIMD:33:24: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
    public static func ^= (a: inout Self, b: Self.Scalar)
                       ^
/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
    public var hashValue: Int {
               ^
Swift.BinaryInteger:26:17: note: protocol requires function '&=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
    static func &= (lhs: inout Self, rhs: Self)
                ^
Swift.BinaryInteger:28:17: note: protocol requires function '|=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
    static func |= (lhs: inout Self, rhs: Self)
                ^
Swift.BinaryInteger:30:17: note: protocol requires function '^=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
    static func ^= (lhs: inout Self, rhs: Self)
                ^
[3/4] Compiling Phantomlike FloatingValue.swift
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:8:15: error: type 'FloatingValue<Storage, Unit>' does not conform to protocol 'FloatingPoint'
public struct FloatingValue<Storage: BinaryFloatingPoint, Unit> : BinaryFloatingPoint {
              ^
/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
public struct FloatingValue<Storage: BinaryFloatingPoint, Unit> : BinaryFloatingPoint {
              ^
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:8:15: note: requirement specified as 'Self' == 'Self.Magnitude' [with Self = FloatingValue<Storage, Unit>]
public struct FloatingValue<Storage: BinaryFloatingPoint, Unit> : BinaryFloatingPoint {
              ^
/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
    public var hashValue: Int {
               ^
[4/4] Emitting module Phantomlike
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:8:15: error: type 'FloatingValue<Storage, Unit>' does not conform to protocol 'FloatingPoint'
public struct FloatingValue<Storage: BinaryFloatingPoint, Unit> : BinaryFloatingPoint {
              ^
/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
public struct FloatingValue<Storage: BinaryFloatingPoint, Unit> : BinaryFloatingPoint {
              ^
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:8:15: note: requirement specified as 'Self' == 'Self.Magnitude' [with Self = FloatingValue<Storage, Unit>]
public struct FloatingValue<Storage: BinaryFloatingPoint, Unit> : BinaryFloatingPoint {
              ^
/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
    public var hashValue: Int {
               ^
/host/spi-builder-workspace/Sources/Phantomlike/SignedValue.swift:10:15: error: type 'SignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
public struct SignedValue<Storage: SignedInteger & FixedWidthInteger, Unit> : SignedInteger, FixedWidthInteger {
              ^
Swift.SIMD:22:24: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
    public static func &= (a: inout Self, b: Self)
                       ^
Swift.SIMD:32:24: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
    public static func &= (a: inout Self, b: Self.Scalar)
                       ^
Swift.SIMD:24:24: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
    public static func |= (a: inout Self, b: Self)
                       ^
Swift.SIMD:34:24: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
    public static func |= (a: inout Self, b: Self.Scalar)
                       ^
Swift.SIMD:23:24: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
    public static func ^= (a: inout Self, b: Self)
                       ^
Swift.SIMD:33:24: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
    public static func ^= (a: inout Self, b: Self.Scalar)
                       ^
/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
    public var hashValue: Int {
               ^
Swift.BinaryInteger:26:17: note: protocol requires function '&=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
    static func &= (lhs: inout Self, rhs: Self)
                ^
Swift.BinaryInteger:28:17: note: protocol requires function '|=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
    static func |= (lhs: inout Self, rhs: Self)
                ^
Swift.BinaryInteger:30:17: note: protocol requires function '^=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
    static func ^= (lhs: inout Self, rhs: Self)
                ^
/host/spi-builder-workspace/Sources/Phantomlike/UnsignedValue.swift:9:15: error: type 'UnsignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
public struct UnsignedValue<Storage: UnsignedInteger & FixedWidthInteger, Unit> : UnsignedInteger, FixedWidthInteger {
              ^
Swift.SIMD:22:24: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
    public static func &= (a: inout Self, b: Self)
                       ^
Swift.SIMD:32:24: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
    public static func &= (a: inout Self, b: Self.Scalar)
                       ^
Swift.SIMD:24:24: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
    public static func |= (a: inout Self, b: Self)
                       ^
Swift.SIMD:34:24: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
    public static func |= (a: inout Self, b: Self.Scalar)
                       ^
Swift.SIMD:23:24: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
    public static func ^= (a: inout Self, b: Self)
                       ^
Swift.SIMD:33:24: note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
    public static func ^= (a: inout Self, b: Self.Scalar)
                       ^
/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
    public var hashValue: Int {
               ^
Swift.BinaryInteger:26:17: note: protocol requires function '&=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
    static func &= (lhs: inout Self, rhs: Self)
                ^
Swift.BinaryInteger:28:17: note: protocol requires function '|=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
    static func |= (lhs: inout Self, rhs: Self)
                ^
Swift.BinaryInteger:30:17: note: protocol requires function '^=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
    static func ^= (lhs: inout Self, rhs: Self)
                ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 1