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 Entwine, reference master (72a739), with Swift 6.0 for Linux on 1 Nov 2024 01:14:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tcldr/Entwine.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/tcldr/Entwine
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 72a7395 relax deployment target
Cloned https://github.com/tcldr/Entwine.git
Revision (git rev-parse @):
72a73955f03b5888199aeccc58067dc365381244
SUCCESS checkout https://github.com/tcldr/Entwine.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/tcldr/Entwine.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 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/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/19] Compiling Entwine Factory.swift
[5/19] Compiling Entwine TrampolineScheduler.swift
[6/21] Compiling Entwine Signal.swift
[7/21] Compiling Entwine DeallocToken.swift
[8/21] Compiling Entwine Signpost.swift
/host/spi-builder-workspace/Sources/Entwine/Operators/WithLatestFrom.swift:143:9: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
141 |
142 |         private let publisher: AnyPublisher<P.Output, P.Failure>
143 |         private (set) var lastInput: Input?
    |         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
144 |         private var subscription: Subscription?
145 |
[9/21] Compiling Entwine WithLatestFrom.swift
/host/spi-builder-workspace/Sources/Entwine/Operators/WithLatestFrom.swift:143:9: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
141 |
142 |         private let publisher: AnyPublisher<P.Output, P.Failure>
143 |         private (set) var lastInput: Input?
    |         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
144 |         private var subscription: Subscription?
145 |
[10/21] Compiling Entwine Deprecations.swift
[11/21] Compiling Entwine Dematerialize.swift
[12/21] Emitting module Entwine
/host/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 34 |     private var regular = Subnode.empty
 35 |     private var inverse = Subnode.empty
 36 |     private (set) var count = 0
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 37 |
 38 |     /// O(n) where n is the length of the sequence
/host/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListStack.swift:32:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 30 |     typealias Node = LinkedList<Element>
 31 |
 32 |     private (set) var node = Node.empty
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 33 |
 34 |     init<C: Collection>(_ elements: C) where C.Element == Element {
[13/21] Compiling Entwine Materialize.swift
[14/21] Compiling Entwine ReferenceCounted.swift
[15/21] Compiling Entwine SinkQueue.swift
[16/21] Compiling Entwine CancellableBag.swift
[17/21] Compiling Entwine LinkedListQueue.swift
/host/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 34 |     private var regular = Subnode.empty
 35 |     private var inverse = Subnode.empty
 36 |     private (set) var count = 0
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 37 |
 38 |     /// O(n) where n is the length of the sequence
/host/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListStack.swift:32:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 30 |     typealias Node = LinkedList<Element>
 31 |
 32 |     private (set) var node = Node.empty
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 33 |
 34 |     init<C: Collection>(_ elements: C) where C.Element == Element {
[18/21] Compiling Entwine LinkedListStack.swift
/host/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 34 |     private var regular = Subnode.empty
 35 |     private var inverse = Subnode.empty
 36 |     private (set) var count = 0
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 37 |
 38 |     /// O(n) where n is the length of the sequence
/host/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListStack.swift:32:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 30 |     typealias Node = LinkedList<Element>
 31 |
 32 |     private (set) var node = Node.empty
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 33 |
 34 |     init<C: Collection>(_ elements: C) where C.Element == Element {
[19/21] Compiling Entwine PriorityQueue.swift
/host/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 34 |     private var regular = Subnode.empty
 35 |     private var inverse = Subnode.empty
 36 |     private (set) var count = 0
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 37 |
 38 |     /// O(n) where n is the length of the sequence
/host/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListStack.swift:32:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 30 |     typealias Node = LinkedList<Element>
 31 |
 32 |     private (set) var node = Node.empty
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 33 |
 34 |     init<C: Collection>(_ elements: C) where C.Element == Element {
[20/21] Compiling Entwine ReplaySubject.swift
/host/spi-builder-workspace/Sources/Entwine/Operators/ReplaySubject.swift:150:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
148 |
149 |     let maxBufferSize: Int
150 |     private (set) var buffer = LinkedListQueue<Value>()
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
151 |
152 |     init(maxBufferSize: Int) {
[21/21] Compiling Entwine ShareReplay.swift
/host/spi-builder-workspace/Sources/Entwine/Operators/ReplaySubject.swift:150:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
148 |
149 |     let maxBufferSize: Int
150 |     private (set) var buffer = LinkedListQueue<Value>()
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
151 |
152 |     init(maxBufferSize: Int) {
[23/36] Compiling EntwineTest DemandLedger.swift
[24/36] Compiling EntwineTest TestSequence.swift
[25/36] Compiling EntwineTest TestablePublisher.swift
[26/37] Compiling EntwineTest Deprecations.swift
[27/37] Compiling EntwineTest Signal+CustomDebugStringConvertible.swift
[28/37] Compiling EntwineTest TestableSubscriber.swift
[29/37] Compiling EntwineTest TestEvent.swift
[30/37] Compiling EntwineTest TestScheduler.swift
[31/37] Compiling EntwineTest VirtualTime.swift
/host/spi-builder-workspace/Sources/EntwineTest/TestScheduler/VirtualTime.swift:80:31: error: cannot find type 'VirtualTimeInterval' in scope
 78 | extension VirtualTime: Strideable {
 79 |
 80 |     public typealias Stride = VirtualTimeInterval
    |                               `- error: cannot find type 'VirtualTimeInterval' in scope
 81 |
 82 |     public func distance(to other: VirtualTime) -> VirtualTimeInterval {
/host/spi-builder-workspace/Sources/EntwineTest/TestScheduler/VirtualTime.swift:82:52: error: cannot find type 'VirtualTimeInterval' in scope
 80 |     public typealias Stride = VirtualTimeInterval
 81 |
 82 |     public func distance(to other: VirtualTime) -> VirtualTimeInterval {
    |                                                    `- error: cannot find type 'VirtualTimeInterval' in scope
 83 |         .init(other._time - _time)
 84 |     }
/host/spi-builder-workspace/Sources/EntwineTest/TestScheduler/VirtualTime.swift:86:32: error: cannot find type 'VirtualTimeInterval' in scope
 84 |     }
 85 |
 86 |     public func advanced(by n: VirtualTimeInterval) -> VirtualTime {
    |                                `- error: cannot find type 'VirtualTimeInterval' in scope
 87 |         .init(_time + n._duration)
 88 |     }
/host/spi-builder-workspace/Sources/EntwineTest/TestScheduler/VirtualTime.swift:78:1: error: type 'VirtualTime' does not conform to protocol 'Strideable'
 76 | // MARK: - Strideable conformance
 77 |
 78 | extension VirtualTime: Strideable {
    | `- error: type 'VirtualTime' does not conform to protocol 'Strideable'
 79 |
 80 |     public typealias Stride = VirtualTimeInterval
Swift.Strideable:2:20: note: protocol requires nested type 'Stride'; add nested type 'Stride' for conformance
1 | public protocol Strideable<Stride> : Comparable {
2 |     associatedtype Stride : Comparable, SignedNumeric
  |                    `- note: protocol requires nested type 'Stride'; add nested type 'Stride' for conformance
3 |     func distance(to other: Self) -> Self.Stride
4 |     func advanced(by n: Self.Stride) -> Self
[32/37] Compiling EntwineTest VirtualTimeInterval.swift
/host/spi-builder-workspace/Sources/EntwineTest/TestScheduler/VirtualTime.swift:80:31: error: cannot find type 'VirtualTimeInterval' in scope
 78 | extension VirtualTime: Strideable {
 79 |
 80 |     public typealias Stride = VirtualTimeInterval
    |                               `- error: cannot find type 'VirtualTimeInterval' in scope
 81 |
 82 |     public func distance(to other: VirtualTime) -> VirtualTimeInterval {
/host/spi-builder-workspace/Sources/EntwineTest/TestScheduler/VirtualTime.swift:82:52: error: cannot find type 'VirtualTimeInterval' in scope
 80 |     public typealias Stride = VirtualTimeInterval
 81 |
 82 |     public func distance(to other: VirtualTime) -> VirtualTimeInterval {
    |                                                    `- error: cannot find type 'VirtualTimeInterval' in scope
 83 |         .init(other._time - _time)
 84 |     }
/host/spi-builder-workspace/Sources/EntwineTest/TestScheduler/VirtualTime.swift:86:32: error: cannot find type 'VirtualTimeInterval' in scope
 84 |     }
 85 |
 86 |     public func advanced(by n: VirtualTimeInterval) -> VirtualTime {
    |                                `- error: cannot find type 'VirtualTimeInterval' in scope
 87 |         .init(_time + n._duration)
 88 |     }
/host/spi-builder-workspace/Sources/EntwineTest/TestScheduler/VirtualTime.swift:78:1: error: type 'VirtualTime' does not conform to protocol 'Strideable'
 76 | // MARK: - Strideable conformance
 77 |
 78 | extension VirtualTime: Strideable {
    | `- error: type 'VirtualTime' does not conform to protocol 'Strideable'
 79 |
 80 |     public typealias Stride = VirtualTimeInterval
Swift.Strideable:2:20: note: protocol requires nested type 'Stride'; add nested type 'Stride' for conformance
1 | public protocol Strideable<Stride> : Comparable {
2 |     associatedtype Stride : Comparable, SignedNumeric
  |                    `- note: protocol requires nested type 'Stride'; add nested type 'Stride' for conformance
3 |     func distance(to other: Self) -> Self.Stride
4 |     func advanced(by n: Self.Stride) -> Self
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/37] Compiling EntwineTest LinkedListQueue.swift
/host/spi-builder-workspace/Sources/EntwineTest/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 34 |     private var regular = Subnode.empty
 35 |     private var inverse = Subnode.empty
 36 |     private (set) var count = 0
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 37 |
 38 |     /// O(n) where n is the length of the sequence
/host/spi-builder-workspace/Sources/EntwineTest/Common/DataStructures/LinkedListStack.swift:32:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 30 |     typealias Node = LinkedList<Element>
 31 |
 32 |     private (set) var node = Node.empty
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 33 |
 34 |     init<C: Collection>(_ elements: C) where C.Element == Element {
[34/37] Compiling EntwineTest LinkedListStack.swift
/host/spi-builder-workspace/Sources/EntwineTest/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 34 |     private var regular = Subnode.empty
 35 |     private var inverse = Subnode.empty
 36 |     private (set) var count = 0
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 37 |
 38 |     /// O(n) where n is the length of the sequence
/host/spi-builder-workspace/Sources/EntwineTest/Common/DataStructures/LinkedListStack.swift:32:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 30 |     typealias Node = LinkedList<Element>
 31 |
 32 |     private (set) var node = Node.empty
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 33 |
 34 |     init<C: Collection>(_ elements: C) where C.Element == Element {
[35/37] Compiling EntwineTest PriorityQueue.swift
[36/37] Compiling EntwineTest SinkQueue.swift
[37/37] Emitting module EntwineTest
/host/spi-builder-workspace/Sources/EntwineTest/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 34 |     private var regular = Subnode.empty
 35 |     private var inverse = Subnode.empty
 36 |     private (set) var count = 0
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 37 |
 38 |     /// O(n) where n is the length of the sequence
/host/spi-builder-workspace/Sources/EntwineTest/Common/DataStructures/LinkedListStack.swift:32:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 30 |     typealias Node = LinkedList<Element>
 31 |
 32 |     private (set) var node = Node.empty
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 33 |
 34 |     init<C: Collection>(_ elements: C) where C.Element == Element {
/host/spi-builder-workspace/Sources/EntwineTest/TestScheduler/VirtualTime.swift:80:31: error: cannot find type 'VirtualTimeInterval' in scope
 78 | extension VirtualTime: Strideable {
 79 |
 80 |     public typealias Stride = VirtualTimeInterval
    |                               `- error: cannot find type 'VirtualTimeInterval' in scope
 81 |
 82 |     public func distance(to other: VirtualTime) -> VirtualTimeInterval {
/host/spi-builder-workspace/Sources/EntwineTest/TestScheduler/VirtualTime.swift:82:52: error: cannot find type 'VirtualTimeInterval' in scope
 80 |     public typealias Stride = VirtualTimeInterval
 81 |
 82 |     public func distance(to other: VirtualTime) -> VirtualTimeInterval {
    |                                                    `- error: cannot find type 'VirtualTimeInterval' in scope
 83 |         .init(other._time - _time)
 84 |     }
/host/spi-builder-workspace/Sources/EntwineTest/TestScheduler/VirtualTime.swift:86:32: error: cannot find type 'VirtualTimeInterval' in scope
 84 |     }
 85 |
 86 |     public func advanced(by n: VirtualTimeInterval) -> VirtualTime {
    |                                `- error: cannot find type 'VirtualTimeInterval' in scope
 87 |         .init(_time + n._duration)
 88 |     }
/host/spi-builder-workspace/Sources/EntwineTest/TestScheduler/VirtualTime.swift:78:1: error: type 'VirtualTime' does not conform to protocol 'Strideable'
 76 | // MARK: - Strideable conformance
 77 |
 78 | extension VirtualTime: Strideable {
    | `- error: type 'VirtualTime' does not conform to protocol 'Strideable'
 79 |
 80 |     public typealias Stride = VirtualTimeInterval
Swift.Strideable:2:20: note: protocol requires nested type 'Stride'; add nested type 'Stride' for conformance
1 | public protocol Strideable<Stride> : Comparable {
2 |     associatedtype Stride : Comparable, SignedNumeric
  |                    `- note: protocol requires nested type 'Stride'; add nested type 'Stride' for conformance
3 |     func distance(to other: Self) -> Self.Stride
4 |     func advanced(by n: Self.Stride) -> Self
BUILD FAILURE 6.0 linux