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 master (648b9b), with Swift 6.0 for Linux on 26 Nov 2024 09:56:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adamnemecek/phantomlike.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/adamnemecek/phantomlike
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 648b9b5 Update README.md
Cloned https://github.com/adamnemecek/phantomlike.git
Revision (git rev-parse @):
648b9b54b7adfadf74f4402e9ab1f2c756021329
SUCCESS checkout https://github.com/adamnemecek/phantomlike.git at master
========================================
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-2":/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:73:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'UnsignedValue' to 'Hashable' by implementing 'hash(into:)' instead
 71 |     }
 72 |
 73 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'UnsignedValue' to 'Hashable' by implementing 'hash(into:)' instead
 74 |         return content.hashValue
 75 |     }
/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
[4/6] Compiling Phantomlike SignedValue.swift
/host/spi-builder-workspace/Sources/Phantomlike/SignedValue.swift:73:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SignedValue' to 'Hashable' by implementing 'hash(into:)' instead
 71 |     }
 72 |
 73 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SignedValue' to 'Hashable' by implementing 'hash(into:)' instead
 74 |         return content.hashValue
 75 |     }
/host/spi-builder-workspace/Sources/Phantomlike/SignedValue.swift:9:15: error: type 'SignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
  7 | //
  8 |
  9 | public struct SignedValue<Storage: SignedInteger & FixedWidthInteger, Unit> : SignedInteger, FixedWidthInteger {
    |               `- error: type 'SignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
 10 |
 11 |     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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module Phantomlike
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:284:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'FloatingValue' to 'Hashable' by implementing 'hash(into:)' instead
282 |     }
283 |
284 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'FloatingValue' to 'Hashable' by implementing 'hash(into:)' instead
285 |         return content.hashValue
286 |     }
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:9:15: error: type 'FloatingValue<Storage, Unit>' does not conform to protocol 'FloatingPoint'
  7 | //
  8 |
  9 | public struct FloatingValue<Storage: BinaryFloatingPoint, Unit> : BinaryFloatingPoint, CustomStringConvertible {
    |               `- error: type 'FloatingValue<Storage, Unit>' does not conform to protocol 'FloatingPoint'
 10 |     public typealias IntegerLiteralType = Storage.IntegerLiteralType
 11 |     public typealias Exponent = Storage.Exponent
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:9:15: error: 'FloatingPoint' requires the types 'FloatingValue<Storage, Unit>' and 'FloatingValue<Storage, Unit>.Magnitude' (aka 'Storage') be equivalent
  7 | //
  8 |
  9 | public struct FloatingValue<Storage: BinaryFloatingPoint, Unit> : BinaryFloatingPoint, CustomStringConvertible {
    |               |- 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>]
 10 |     public typealias IntegerLiteralType = Storage.IntegerLiteralType
 11 |     public typealias Exponent = Storage.Exponent
/host/spi-builder-workspace/Sources/Phantomlike/SignedValue.swift:73:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SignedValue' to 'Hashable' by implementing 'hash(into:)' instead
 71 |     }
 72 |
 73 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SignedValue' to 'Hashable' by implementing 'hash(into:)' instead
 74 |         return content.hashValue
 75 |     }
/host/spi-builder-workspace/Sources/Phantomlike/SignedValue.swift:9:15: error: type 'SignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
  7 | //
  8 |
  9 | public struct SignedValue<Storage: SignedInteger & FixedWidthInteger, Unit> : SignedInteger, FixedWidthInteger {
    |               `- error: type 'SignedValue<Storage, Unit>' does not conform to protocol 'BinaryInteger'
 10 |
 11 |     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:73:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'UnsignedValue' to 'Hashable' by implementing 'hash(into:)' instead
 71 |     }
 72 |
 73 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'UnsignedValue' to 'Hashable' by implementing 'hash(into:)' instead
 74 |         return content.hashValue
 75 |     }
/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
[6/6] Compiling Phantomlike FloatingValue.swift
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:284:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'FloatingValue' to 'Hashable' by implementing 'hash(into:)' instead
282 |     }
283 |
284 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'FloatingValue' to 'Hashable' by implementing 'hash(into:)' instead
285 |         return content.hashValue
286 |     }
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:9:15: error: type 'FloatingValue<Storage, Unit>' does not conform to protocol 'FloatingPoint'
  7 | //
  8 |
  9 | public struct FloatingValue<Storage: BinaryFloatingPoint, Unit> : BinaryFloatingPoint, CustomStringConvertible {
    |               `- error: type 'FloatingValue<Storage, Unit>' does not conform to protocol 'FloatingPoint'
 10 |     public typealias IntegerLiteralType = Storage.IntegerLiteralType
 11 |     public typealias Exponent = Storage.Exponent
/host/spi-builder-workspace/Sources/Phantomlike/FloatingValue.swift:9:15: error: 'FloatingPoint' requires the types 'FloatingValue<Storage, Unit>' and 'FloatingValue<Storage, Unit>.Magnitude' (aka 'Storage') be equivalent
  7 | //
  8 |
  9 | public struct FloatingValue<Storage: BinaryFloatingPoint, Unit> : BinaryFloatingPoint, CustomStringConvertible {
    |               |- 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>]
 10 |     public typealias IntegerLiteralType = Storage.IntegerLiteralType
 11 |     public typealias Exponent = Storage.Exponent
BUILD FAILURE 6.0 linux