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

Failed to build Phantomlike, reference 1.0.0 (f77d3b), with Swift 6.0 for Linux on 29 Nov 2024 20:41:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/adamnemecek/phantomlike.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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 -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/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'
 10 |
 11 |     public typealias Words = Storage.Words
Swift.SIMD:22:24: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
20 |     public static func / (a: Self, b: Self.Scalar) -> Self
21 |     public static func % (a: Self, b: Self.Scalar) -> Self
22 |     public static func &= (a: inout Self, b: Self)
   |                        `- note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
23 |     public static func ^= (a: inout Self, b: Self)
   |                        `- note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
24 |     public static func |= (a: inout Self, b: Self)
   |                        `- note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
25 |     public static func &<<= (a: inout Self, b: Self)
26 |     public static func &>>= (a: inout Self, b: Self)
   :
30 |     public static func /= (a: inout Self, b: Self)
31 |     public static func %= (a: inout Self, b: Self)
32 |     public static func &= (a: inout Self, b: Self.Scalar)
   |                        `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
33 |     public static func ^= (a: inout Self, b: Self.Scalar)
   |                        `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
34 |     public static func |= (a: inout Self, b: Self.Scalar)
   |                        `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
35 |     public static func &<<= (a: inout Self, b: Self.Scalar)
36 |     public static func &>>= (a: inout Self, b: Self.Scalar)
Swift.BinaryInteger:26:17: note: protocol requires function '&=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
24 |     prefix static func ~ (x: Self) -> Self
25 |     static func & (lhs: Self, rhs: Self) -> Self
26 |     static func &= (lhs: inout Self, rhs: Self)
   |                 `- note: protocol requires function '&=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
27 |     static func | (lhs: Self, rhs: Self) -> Self
28 |     static func |= (lhs: inout Self, rhs: Self)
   |                 `- note: protocol requires function '|=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
29 |     static func ^ (lhs: Self, rhs: Self) -> Self
30 |     static func ^= (lhs: inout Self, rhs: Self)
   |                 `- note: protocol requires function '^=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
31 |     static func >> <RHS>(lhs: Self, rhs: RHS) -> Self where RHS : BinaryInteger
32 |     static func >>= <RHS>(lhs: inout Self, rhs: RHS) where RHS : BinaryInteger
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module Phantomlike
/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'
 11 |
 12 |     public typealias Words = Storage.Words
Swift.SIMD:22:24: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
20 |     public static func / (a: Self, b: Self.Scalar) -> Self
21 |     public static func % (a: Self, b: Self.Scalar) -> Self
22 |     public static func &= (a: inout Self, b: Self)
   |                        `- note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
23 |     public static func ^= (a: inout Self, b: Self)
   |                        `- note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
24 |     public static func |= (a: inout Self, b: Self)
   |                        `- note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
25 |     public static func &<<= (a: inout Self, b: Self)
26 |     public static func &>>= (a: inout Self, b: Self)
   :
30 |     public static func /= (a: inout Self, b: Self)
31 |     public static func %= (a: inout Self, b: Self)
32 |     public static func &= (a: inout Self, b: Self.Scalar)
   |                        `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
33 |     public static func ^= (a: inout Self, b: Self.Scalar)
   |                        `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
34 |     public static func |= (a: inout Self, b: Self.Scalar)
   |                        `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
35 |     public static func &<<= (a: inout Self, b: Self.Scalar)
36 |     public static func &>>= (a: inout Self, b: Self.Scalar)
Swift.BinaryInteger:26:17: note: protocol requires function '&=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
24 |     prefix static func ~ (x: Self) -> Self
25 |     static func & (lhs: Self, rhs: Self) -> Self
26 |     static func &= (lhs: inout Self, rhs: Self)
   |                 `- note: protocol requires function '&=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
27 |     static func | (lhs: Self, rhs: Self) -> Self
28 |     static func |= (lhs: inout Self, rhs: Self)
   |                 `- note: protocol requires function '|=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
29 |     static func ^ (lhs: Self, rhs: Self) -> Self
30 |     static func ^= (lhs: inout Self, rhs: Self)
   |                 `- note: protocol requires function '^=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
31 |     static func >> <RHS>(lhs: Self, rhs: RHS) -> Self where RHS : BinaryInteger
32 |     static func >>= <RHS>(lhs: inout Self, rhs: RHS) where RHS : BinaryInteger
/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'
 10 |
 11 |     public typealias Words = Storage.Words
Swift.SIMD:22:24: note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
20 |     public static func / (a: Self, b: Self.Scalar) -> Self
21 |     public static func % (a: Self, b: Self.Scalar) -> Self
22 |     public static func &= (a: inout Self, b: Self)
   |                        `- note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
23 |     public static func ^= (a: inout Self, b: Self)
   |                        `- note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
24 |     public static func |= (a: inout Self, b: Self)
   |                        `- note: candidate would match if 'UnsignedValue<Storage, Unit>' conformed to 'SIMD'
25 |     public static func &<<= (a: inout Self, b: Self)
26 |     public static func &>>= (a: inout Self, b: Self)
   :
30 |     public static func /= (a: inout Self, b: Self)
31 |     public static func %= (a: inout Self, b: Self)
32 |     public static func &= (a: inout Self, b: Self.Scalar)
   |                        `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
33 |     public static func ^= (a: inout Self, b: Self.Scalar)
   |                        `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
34 |     public static func |= (a: inout Self, b: Self.Scalar)
   |                        `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
35 |     public static func &<<= (a: inout Self, b: Self.Scalar)
36 |     public static func &>>= (a: inout Self, b: Self.Scalar)
Swift.BinaryInteger:26:17: note: protocol requires function '&=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
24 |     prefix static func ~ (x: Self) -> Self
25 |     static func & (lhs: Self, rhs: Self) -> Self
26 |     static func &= (lhs: inout Self, rhs: Self)
   |                 `- note: protocol requires function '&=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
27 |     static func | (lhs: Self, rhs: Self) -> Self
28 |     static func |= (lhs: inout Self, rhs: Self)
   |                 `- note: protocol requires function '|=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
29 |     static func ^ (lhs: Self, rhs: Self) -> Self
30 |     static func ^= (lhs: inout Self, rhs: Self)
   |                 `- note: protocol requires function '^=' with type '(inout UnsignedValue<Storage, Unit>, UnsignedValue<Storage, Unit>) -> ()'
31 |     static func >> <RHS>(lhs: Self, rhs: RHS) -> Self where RHS : BinaryInteger
32 |     static func >>= <RHS>(lhs: inout Self, rhs: RHS) where RHS : BinaryInteger
[5/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'
 11 |
 12 |     public typealias Words = Storage.Words
Swift.SIMD:22:24: note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
20 |     public static func / (a: Self, b: Self.Scalar) -> Self
21 |     public static func % (a: Self, b: Self.Scalar) -> Self
22 |     public static func &= (a: inout Self, b: Self)
   |                        `- note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
23 |     public static func ^= (a: inout Self, b: Self)
   |                        `- note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
24 |     public static func |= (a: inout Self, b: Self)
   |                        `- note: candidate would match if 'SignedValue<Storage, Unit>' conformed to 'SIMD'
25 |     public static func &<<= (a: inout Self, b: Self)
26 |     public static func &>>= (a: inout Self, b: Self)
   :
30 |     public static func /= (a: inout Self, b: Self)
31 |     public static func %= (a: inout Self, b: Self)
32 |     public static func &= (a: inout Self, b: Self.Scalar)
   |                        `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
33 |     public static func ^= (a: inout Self, b: Self.Scalar)
   |                        `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
34 |     public static func |= (a: inout Self, b: Self.Scalar)
   |                        `- note: candidate has non-matching type '<Self> (inout Self, Self.Scalar) -> ()'
35 |     public static func &<<= (a: inout Self, b: Self.Scalar)
36 |     public static func &>>= (a: inout Self, b: Self.Scalar)
Swift.BinaryInteger:26:17: note: protocol requires function '&=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
24 |     prefix static func ~ (x: Self) -> Self
25 |     static func & (lhs: Self, rhs: Self) -> Self
26 |     static func &= (lhs: inout Self, rhs: Self)
   |                 `- note: protocol requires function '&=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
27 |     static func | (lhs: Self, rhs: Self) -> Self
28 |     static func |= (lhs: inout Self, rhs: Self)
   |                 `- note: protocol requires function '|=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
29 |     static func ^ (lhs: Self, rhs: Self) -> Self
30 |     static func ^= (lhs: inout Self, rhs: Self)
   |                 `- note: protocol requires function '^=' with type '(inout SignedValue<Storage, Unit>, SignedValue<Storage, Unit>) -> ()'
31 |     static func >> <RHS>(lhs: Self, rhs: RHS) -> Self where RHS : BinaryInteger
32 |     static func >>= <RHS>(lhs: inout Self, rhs: RHS) where RHS : BinaryInteger
[6/6] Compiling Phantomlike FloatingValue.swift
/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
BUILD FAILURE 6.0 linux