Build Information
Failed to build Deferred, reference 4.1.0 (96ad3f
), with Swift 6.0 for Linux on 28 Nov 2024 23:16:23 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/bignerdranch/Deferred.git
Reference: 4.1.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/bignerdranch/Deferred
* tag 4.1.0 -> FETCH_HEAD
HEAD is now at 96ad3f6 Merge pull request #293 from bignerdranch/zwaldowski/bump-version
Cloned https://github.com/bignerdranch/Deferred.git
Revision (git rev-parse @):
96ad3f6dd1ddaffe1830dbb3b1cb783a87d6e952
SUCCESS checkout https://github.com/bignerdranch/Deferred.git at 4.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/bignerdranch/Deferred.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
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/DeferredTests/Tests/AllTestsCommon.swift': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/TaskTests/Tests/AllTestsCommon.swift': File not found.
Building for debugging...
[0/4] Write sources
[2/4] Compiling Atomics Empty.c
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/22] Emitting module Deferred
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:46:27: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
44 | /// }
45 | ///
46 | public protocol Executor: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
47 | /// Execute the `body` closure.
48 | func submit(_ body: @escaping() -> Void)
[6/24] Compiling Deferred FutureMap.swift
[7/24] Compiling Deferred FuturePeek.swift
[8/24] Compiling Deferred Atomics.swift
[9/24] Compiling Deferred Deferred.swift
[10/24] Compiling Deferred DeferredQueue.swift
[11/24] Compiling Deferred Promise.swift
[12/24] Compiling Deferred Protected.swift
[13/24] Compiling Deferred FutureEveryMap.swift
[14/24] Compiling Deferred FutureIgnore.swift
[15/24] Compiling Deferred DeferredVariant.swift
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:46:27: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
44 | /// }
45 | ///
46 | public protocol Executor: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
47 | /// Execute the `body` closure.
48 | func submit(_ body: @escaping() -> Void)
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:83:24: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
80 | }
81 |
82 | public func submit(_ body: @escaping() -> Void) {
| `- note: parameter 'body' is implicitly non-sendable
83 | async(execute: body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
84 | }
85 |
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:99:22: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
96 | /// operations in the queue.
97 | extension OperationQueue: Executor {
98 | public func submit(_ body: @escaping() -> Void) {
| `- note: parameter 'body' is implicitly non-sendable
99 | addOperation(body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
100 | }
101 | }
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:127:21: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
123 | /// of the run loop.
124 | extension RunLoop: Executor {
125 | public func submit(_ body: @escaping() -> Void) {
| `- note: parameter 'body' is implicitly non-sendable
126 | if #available(macOS 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) {
127 | perform(body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
128 | } else {
129 | getCFRunLoop().submit(body)
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:129:13: error: 'getCFRunLoop' is inaccessible due to 'internal' protection level
127 | perform(body)
128 | } else {
129 | getCFRunLoop().submit(body)
| `- error: 'getCFRunLoop' is inaccessible due to 'internal' protection level
130 | }
131 | }
Foundation.RunLoop (internal):11:19: note: 'getCFRunLoop()' declared here
9 | open var currentMode: RunLoop.Mode? { get }
10 | internal var currentCFRunLoop: CFRunLoop { get }
11 | internal func getCFRunLoop() -> CFRunLoop
| `- note: 'getCFRunLoop()' declared here
12 | open func add(_ timer: Timer, forMode mode: RunLoop.Mode)
13 | open func add(_ aPort: Port, forMode mode: RunLoop.Mode)
[16/24] Compiling Deferred Executor.swift
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:46:27: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
44 | /// }
45 | ///
46 | public protocol Executor: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
47 | /// Execute the `body` closure.
48 | func submit(_ body: @escaping() -> Void)
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:83:24: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
80 | }
81 |
82 | public func submit(_ body: @escaping() -> Void) {
| `- note: parameter 'body' is implicitly non-sendable
83 | async(execute: body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
84 | }
85 |
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:99:22: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
96 | /// operations in the queue.
97 | extension OperationQueue: Executor {
98 | public func submit(_ body: @escaping() -> Void) {
| `- note: parameter 'body' is implicitly non-sendable
99 | addOperation(body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
100 | }
101 | }
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:127:21: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
123 | /// of the run loop.
124 | extension RunLoop: Executor {
125 | public func submit(_ body: @escaping() -> Void) {
| `- note: parameter 'body' is implicitly non-sendable
126 | if #available(macOS 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) {
127 | perform(body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
128 | } else {
129 | getCFRunLoop().submit(body)
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:129:13: error: 'getCFRunLoop' is inaccessible due to 'internal' protection level
127 | perform(body)
128 | } else {
129 | getCFRunLoop().submit(body)
| `- error: 'getCFRunLoop' is inaccessible due to 'internal' protection level
130 | }
131 | }
Foundation.RunLoop (internal):11:19: note: 'getCFRunLoop()' declared here
9 | open var currentMode: RunLoop.Mode? { get }
10 | internal var currentCFRunLoop: CFRunLoop { get }
11 | internal func getCFRunLoop() -> CFRunLoop
| `- note: 'getCFRunLoop()' declared here
12 | open func add(_ timer: Timer, forMode mode: RunLoop.Mode)
13 | open func add(_ aPort: Port, forMode mode: RunLoop.Mode)
[17/24] Compiling Deferred ExistentialFuture.swift
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:46:27: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
44 | /// }
45 | ///
46 | public protocol Executor: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
47 | /// Execute the `body` closure.
48 | func submit(_ body: @escaping() -> Void)
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:83:24: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
80 | }
81 |
82 | public func submit(_ body: @escaping() -> Void) {
| `- note: parameter 'body' is implicitly non-sendable
83 | async(execute: body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
84 | }
85 |
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:99:22: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
96 | /// operations in the queue.
97 | extension OperationQueue: Executor {
98 | public func submit(_ body: @escaping() -> Void) {
| `- note: parameter 'body' is implicitly non-sendable
99 | addOperation(body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
100 | }
101 | }
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:127:21: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
123 | /// of the run loop.
124 | extension RunLoop: Executor {
125 | public func submit(_ body: @escaping() -> Void) {
| `- note: parameter 'body' is implicitly non-sendable
126 | if #available(macOS 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) {
127 | perform(body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
128 | } else {
129 | getCFRunLoop().submit(body)
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:129:13: error: 'getCFRunLoop' is inaccessible due to 'internal' protection level
127 | perform(body)
128 | } else {
129 | getCFRunLoop().submit(body)
| `- error: 'getCFRunLoop' is inaccessible due to 'internal' protection level
130 | }
131 | }
Foundation.RunLoop (internal):11:19: note: 'getCFRunLoop()' declared here
9 | open var currentMode: RunLoop.Mode? { get }
10 | internal var currentCFRunLoop: CFRunLoop { get }
11 | internal func getCFRunLoop() -> CFRunLoop
| `- note: 'getCFRunLoop()' declared here
12 | open func add(_ timer: Timer, forMode mode: RunLoop.Mode)
13 | open func add(_ aPort: Port, forMode mode: RunLoop.Mode)
[18/24] Compiling Deferred FutureCollections.swift
[19/24] Compiling Deferred FutureComposition.swift
[20/24] Compiling Deferred FutureUpon.swift
[21/24] Compiling Deferred Locking.swift
[22/24] Compiling Deferred Future.swift
/host/spi-builder-workspace/Sources/Deferred/FutureAsync.swift:23:13: warning: capture of 'deferred' with non-sendable type 'Deferred<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |
22 | queue.async(flags: flags) {
23 | deferred.fill(with: work())
| `- warning: capture of 'deferred' with non-sendable type 'Deferred<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:22:15: note: consider making generic struct 'Deferred' conform to the 'Sendable' protocol
20 | /// If the value never becomes determined, a handler submitted to it will never
21 | /// be executed.
22 | public struct Deferred<Value> {
| `- note: consider making generic struct 'Deferred' conform to the 'Sendable' protocol
23 | /// The primary storage, initialized with a value once-and-only-once (at
24 | /// init or later).
/host/spi-builder-workspace/Sources/Deferred/FutureAsync.swift:23:33: warning: capture of 'work' with non-sendable type '() -> Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |
22 | queue.async(flags: flags) {
23 | deferred.fill(with: work())
| |- warning: capture of 'work' with non-sendable type '() -> Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
24 | }
25 |
[23/24] Compiling Deferred FutureAndThen.swift
/host/spi-builder-workspace/Sources/Deferred/FutureAsync.swift:23:13: warning: capture of 'deferred' with non-sendable type 'Deferred<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |
22 | queue.async(flags: flags) {
23 | deferred.fill(with: work())
| `- warning: capture of 'deferred' with non-sendable type 'Deferred<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:22:15: note: consider making generic struct 'Deferred' conform to the 'Sendable' protocol
20 | /// If the value never becomes determined, a handler submitted to it will never
21 | /// be executed.
22 | public struct Deferred<Value> {
| `- note: consider making generic struct 'Deferred' conform to the 'Sendable' protocol
23 | /// The primary storage, initialized with a value once-and-only-once (at
24 | /// init or later).
/host/spi-builder-workspace/Sources/Deferred/FutureAsync.swift:23:33: warning: capture of 'work' with non-sendable type '() -> Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |
22 | queue.async(flags: flags) {
23 | deferred.fill(with: work())
| |- warning: capture of 'work' with non-sendable type '() -> Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
24 | }
25 |
[24/24] Compiling Deferred FutureAsync.swift
/host/spi-builder-workspace/Sources/Deferred/FutureAsync.swift:23:13: warning: capture of 'deferred' with non-sendable type 'Deferred<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |
22 | queue.async(flags: flags) {
23 | deferred.fill(with: work())
| `- warning: capture of 'deferred' with non-sendable type 'Deferred<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 |
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:22:15: note: consider making generic struct 'Deferred' conform to the 'Sendable' protocol
20 | /// If the value never becomes determined, a handler submitted to it will never
21 | /// be executed.
22 | public struct Deferred<Value> {
| `- note: consider making generic struct 'Deferred' conform to the 'Sendable' protocol
23 | /// The primary storage, initialized with a value once-and-only-once (at
24 | /// init or later).
/host/spi-builder-workspace/Sources/Deferred/FutureAsync.swift:23:33: warning: capture of 'work' with non-sendable type '() -> Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |
22 | queue.async(flags: flags) {
23 | deferred.fill(with: work())
| |- warning: capture of 'work' with non-sendable type '() -> Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
24 | }
25 |
BUILD FAILURE 6.0 linux