Build Information
Successful build of Deferred, reference develop (c82b9e
), with Swift 6.1 for Linux on 27 Apr 2025 03:37:32 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bignerdranch/Deferred.git
Reference: develop
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
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at c82b9ef Add concurrency migration guide
Cloned https://github.com/bignerdranch/Deferred.git
Revision (git rev-parse @):
c82b9ef73132ac88a768b9e2fdbab7765346c61d
SUCCESS checkout https://github.com/bignerdranch/Deferred.git at develop
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/bignerdranch/Deferred.git
https://github.com/bignerdranch/Deferred.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Deferred",
"name" : "Deferred",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "Deferred",
"targets" : [
"Deferred",
"Task"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TaskTests",
"module_type" : "SwiftTarget",
"name" : "TaskTests",
"path" : "Tests/TaskTests",
"sources" : [
"AllTestsCommon.swift",
"TaskAsyncTests.swift",
"TaskCompositionTests.swift",
"TaskComprehensiveTests.swift",
"TaskProgressTests.swift",
"TaskProtocolTests.swift",
"TaskResultTests.swift",
"TaskTests.swift"
],
"target_dependencies" : [
"Deferred",
"Task"
],
"type" : "test"
},
{
"c99name" : "Task",
"module_type" : "SwiftTarget",
"name" : "Task",
"path" : "Sources/Task",
"product_memberships" : [
"Deferred"
],
"sources" : [
"Either.swift",
"ExistentialTask.swift",
"Progress+ExplicitComposition.swift",
"Progress+Future.swift",
"Task.swift",
"TaskAndThen.swift",
"TaskAsync.swift",
"TaskChain.swift",
"TaskCollections.swift",
"TaskComposition.swift",
"TaskEveryMap.swift",
"TaskFallback.swift",
"TaskIgnore.swift",
"TaskMap.swift",
"TaskPromise.swift",
"TaskRecovery.swift",
"TaskResult.swift",
"TaskUpon.swift"
],
"target_dependencies" : [
"Deferred",
"CAtomics"
],
"type" : "library"
},
{
"c99name" : "DeferredTests",
"module_type" : "SwiftTarget",
"name" : "DeferredTests",
"path" : "Tests/DeferredTests",
"sources" : [
"AllTestsCommon.swift",
"DeferredTests.swift",
"ExistentialFutureTests.swift",
"FilledDeferredTests.swift",
"FutureAsyncTests.swift",
"FutureCustomExecutorTests.swift",
"FutureIgnoreTests.swift",
"FutureTests.swift",
"ObjectDeferredTests.swift",
"PerformanceTests.swift",
"ProtectedTests.swift",
"SwiftBugTests.swift"
],
"target_dependencies" : [
"Deferred"
],
"type" : "test"
},
{
"c99name" : "Deferred",
"module_type" : "SwiftTarget",
"name" : "Deferred",
"path" : "Sources/Deferred",
"product_memberships" : [
"Deferred"
],
"sources" : [
"Atomics.swift",
"Deferred.swift",
"DeferredQueue.swift",
"DeferredVariant.swift",
"Executor.swift",
"ExistentialFuture.swift",
"Future.swift",
"FutureAndThen.swift",
"FutureAsync.swift",
"FutureCollections.swift",
"FutureComposition.swift",
"FutureEveryMap.swift",
"FutureIgnore.swift",
"FutureMap.swift",
"FuturePeek.swift",
"FutureUpon.swift",
"Locking.swift",
"Promise.swift",
"Protected.swift"
],
"target_dependencies" : [
"CAtomics"
],
"type" : "library"
},
{
"c99name" : "CAtomics",
"module_type" : "ClangTarget",
"name" : "CAtomics",
"path" : "Sources/CAtomics",
"product_memberships" : [
"Deferred"
],
"sources" : [
"Empty.c"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
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.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-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 CAtomics Empty.c
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/22] Compiling Deferred FutureMap.swift
[6/22] Compiling Deferred FuturePeek.swift
[7/22] 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 |
[8/22] 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 |
[9/22] 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 |
[10/22] Compiling Deferred FutureEveryMap.swift
[11/22] Compiling Deferred FutureIgnore.swift
[12/24] Compiling Deferred FutureCollections.swift
[13/24] Compiling Deferred FutureComposition.swift
[14/24] Compiling Deferred Promise.swift
[15/24] Compiling Deferred Protected.swift
[16/24] Compiling Deferred FutureUpon.swift
[17/24] Compiling Deferred Locking.swift
[18/24] Compiling Deferred Atomics.swift
/host/spi-builder-workspace/Sources/Deferred/Atomics.swift:19:22: warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
17 |
18 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
19 | @_implementationOnly import CAtomics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
20 | #elseif canImport(Darwin)
21 | #warning("Using fallback implementation for Swift Playgrounds. This is unsafe for use in production. Check your build setup.")
[19/24] Compiling Deferred Deferred.swift
/host/spi-builder-workspace/Sources/Deferred/Atomics.swift:19:22: warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
17 |
18 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
19 | @_implementationOnly import CAtomics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
20 | #elseif canImport(Darwin)
21 | #warning("Using fallback implementation for Swift Playgrounds. This is unsafe for use in production. Check your build setup.")
[20/24] Compiling Deferred DeferredQueue.swift
/host/spi-builder-workspace/Sources/Deferred/Atomics.swift:19:22: warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
17 |
18 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
19 | @_implementationOnly import CAtomics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
20 | #elseif canImport(Darwin)
21 | #warning("Using fallback implementation for Swift Playgrounds. This is unsafe for use in production. Check your build setup.")
[21/24] Compiling Deferred DeferredVariant.swift
/host/spi-builder-workspace/Sources/Deferred/DeferredVariant.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
8 |
9 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
10 | @_implementationOnly import CAtomics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
11 | #endif
12 |
/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:126:17: 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 | perform(body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
127 | }
128 | }
[22/24] Compiling Deferred Executor.swift
/host/spi-builder-workspace/Sources/Deferred/DeferredVariant.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
8 |
9 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
10 | @_implementationOnly import CAtomics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
11 | #endif
12 |
/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:126:17: 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 | perform(body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
127 | }
128 | }
[23/24] Compiling Deferred ExistentialFuture.swift
/host/spi-builder-workspace/Sources/Deferred/DeferredVariant.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
8 |
9 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
10 | @_implementationOnly import CAtomics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
11 | #endif
12 |
/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:126:17: 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 | perform(body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
127 | }
128 | }
[24/24] Emitting module Deferred
/host/spi-builder-workspace/Sources/Deferred/Atomics.swift:19:22: warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
17 |
18 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
19 | @_implementationOnly import CAtomics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
20 | #elseif canImport(Darwin)
21 | #warning("Using fallback implementation for Swift Playgrounds. This is unsafe for use in production. Check your build setup.")
/host/spi-builder-workspace/Sources/Deferred/DeferredVariant.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
8 |
9 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
10 | @_implementationOnly import CAtomics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
11 | #endif
12 |
[26/42] Compiling Task TaskIgnore.swift
[27/42] Compiling Task TaskMap.swift
[28/44] Compiling Task Progress+Future.swift
[29/44] Compiling Task Task.swift
[30/44] Compiling Task TaskAndThen.swift
[31/44] Compiling Task TaskPromise.swift
[32/44] Compiling Task TaskRecovery.swift
[33/44] Emitting module Task
/host/spi-builder-workspace/Sources/Task/ExistentialTask.swift:14:22: warning: using '@_implementationOnly' without enabling library evolution for 'Task' may lead to instability during execution
12 | #endif
13 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
14 | @_implementationOnly import CAtomics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Task' may lead to instability during execution
15 | #endif
16 |
[34/44] Compiling Task TaskEveryMap.swift
[35/44] Compiling Task TaskFallback.swift
[36/44] Compiling Task Either.swift
/host/spi-builder-workspace/Sources/Task/ExistentialTask.swift:14:22: warning: using '@_implementationOnly' without enabling library evolution for 'Task' may lead to instability during execution
12 | #endif
13 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
14 | @_implementationOnly import CAtomics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Task' may lead to instability during execution
15 | #endif
16 |
/host/spi-builder-workspace/Sources/Task/ExistentialTask.swift:275:48: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
273 |
274 | if let cancellation = cancellation {
275 | DispatchQueue.any().async(execute: cancellation)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
276 | }
277 | }
[37/44] Compiling Task ExistentialTask.swift
/host/spi-builder-workspace/Sources/Task/ExistentialTask.swift:14:22: warning: using '@_implementationOnly' without enabling library evolution for 'Task' may lead to instability during execution
12 | #endif
13 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
14 | @_implementationOnly import CAtomics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Task' may lead to instability during execution
15 | #endif
16 |
/host/spi-builder-workspace/Sources/Task/ExistentialTask.swift:275:48: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
273 |
274 | if let cancellation = cancellation {
275 | DispatchQueue.any().async(execute: cancellation)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
276 | }
277 | }
[38/44] Compiling Task Progress+ExplicitComposition.swift
/host/spi-builder-workspace/Sources/Task/ExistentialTask.swift:14:22: warning: using '@_implementationOnly' without enabling library evolution for 'Task' may lead to instability during execution
12 | #endif
13 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
14 | @_implementationOnly import CAtomics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Task' may lead to instability during execution
15 | #endif
16 |
/host/spi-builder-workspace/Sources/Task/ExistentialTask.swift:275:48: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
273 |
274 | if let cancellation = cancellation {
275 | DispatchQueue.any().async(execute: cancellation)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
276 | }
277 | }
[39/44] Compiling Task TaskResult.swift
[40/44] Compiling Task TaskUpon.swift
[41/44] Compiling Task TaskAsync.swift
/host/spi-builder-workspace/Sources/Task/TaskAsync.swift:35:13: warning: capture of 'deferred' with non-sendable type 'Deferred<Task<Success>.Result>' (aka 'Deferred<Result<Success, any Error>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 | defer { semaphore.signal() }
34 |
35 | deferred.fill(with: Result(catching: work))
| `- warning: capture of 'deferred' with non-sendable type 'Deferred<Task<Success>.Result>' (aka 'Deferred<Result<Success, any Error>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 | }
37 |
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:22:15: note: generic struct 'Deferred' does not 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: generic struct 'Deferred' does not 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/Task/TaskAsync.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Deferred'
8 |
9 | #if SWIFT_PACKAGE
10 | import Deferred
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Deferred'
11 | #endif
12 | import Dispatch
/host/spi-builder-workspace/Sources/Task/TaskAsync.swift:35:50: warning: capture of 'work' with non-sendable type '() throws -> Success' in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 | defer { semaphore.signal() }
34 |
35 | deferred.fill(with: Result(catching: work))
| |- warning: capture of 'work' with non-sendable type '() throws -> Success' 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'
36 | }
37 |
[42/44] Compiling Task TaskChain.swift
/host/spi-builder-workspace/Sources/Task/TaskAsync.swift:35:13: warning: capture of 'deferred' with non-sendable type 'Deferred<Task<Success>.Result>' (aka 'Deferred<Result<Success, any Error>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 | defer { semaphore.signal() }
34 |
35 | deferred.fill(with: Result(catching: work))
| `- warning: capture of 'deferred' with non-sendable type 'Deferred<Task<Success>.Result>' (aka 'Deferred<Result<Success, any Error>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 | }
37 |
/host/spi-builder-workspace/Sources/Deferred/Deferred.swift:22:15: note: generic struct 'Deferred' does not 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: generic struct 'Deferred' does not 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/Task/TaskAsync.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Deferred'
8 |
9 | #if SWIFT_PACKAGE
10 | import Deferred
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Deferred'
11 | #endif
12 | import Dispatch
/host/spi-builder-workspace/Sources/Task/TaskAsync.swift:35:50: warning: capture of 'work' with non-sendable type '() throws -> Success' in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 | defer { semaphore.signal() }
34 |
35 | deferred.fill(with: Result(catching: work))
| |- warning: capture of 'work' with non-sendable type '() throws -> Success' 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'
36 | }
37 |
[43/44] Compiling Task TaskCollections.swift
[44/44] Compiling Task TaskComposition.swift
Build complete! (18.86s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Deferred",
"name" : "Deferred",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "Deferred",
"targets" : [
"Deferred",
"Task"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TaskTests",
"module_type" : "SwiftTarget",
"name" : "TaskTests",
"path" : "Tests/TaskTests",
"sources" : [
"AllTestsCommon.swift",
"TaskAsyncTests.swift",
"TaskCompositionTests.swift",
"TaskComprehensiveTests.swift",
"TaskProgressTests.swift",
"TaskProtocolTests.swift",
"TaskResultTests.swift",
"TaskTests.swift"
],
"target_dependencies" : [
"Deferred",
"Task"
],
"type" : "test"
},
{
"c99name" : "Task",
"module_type" : "SwiftTarget",
"name" : "Task",
"path" : "Sources/Task",
"product_memberships" : [
"Deferred"
],
"sources" : [
"Either.swift",
"ExistentialTask.swift",
"Progress+ExplicitComposition.swift",
"Progress+Future.swift",
"Task.swift",
"TaskAndThen.swift",
"TaskAsync.swift",
"TaskChain.swift",
"TaskCollections.swift",
"TaskComposition.swift",
"TaskEveryMap.swift",
"TaskFallback.swift",
"TaskIgnore.swift",
"TaskMap.swift",
"TaskPromise.swift",
"TaskRecovery.swift",
"TaskResult.swift",
"TaskUpon.swift"
],
"target_dependencies" : [
"Deferred",
"CAtomics"
],
"type" : "library"
},
{
"c99name" : "DeferredTests",
"module_type" : "SwiftTarget",
"name" : "DeferredTests",
"path" : "Tests/DeferredTests",
"sources" : [
"AllTestsCommon.swift",
"DeferredTests.swift",
"ExistentialFutureTests.swift",
"FilledDeferredTests.swift",
"FutureAsyncTests.swift",
"FutureCustomExecutorTests.swift",
"FutureIgnoreTests.swift",
"FutureTests.swift",
"ObjectDeferredTests.swift",
"PerformanceTests.swift",
"ProtectedTests.swift",
"SwiftBugTests.swift"
],
"target_dependencies" : [
"Deferred"
],
"type" : "test"
},
{
"c99name" : "Deferred",
"module_type" : "SwiftTarget",
"name" : "Deferred",
"path" : "Sources/Deferred",
"product_memberships" : [
"Deferred"
],
"sources" : [
"Atomics.swift",
"Deferred.swift",
"DeferredQueue.swift",
"DeferredVariant.swift",
"Executor.swift",
"ExistentialFuture.swift",
"Future.swift",
"FutureAndThen.swift",
"FutureAsync.swift",
"FutureCollections.swift",
"FutureComposition.swift",
"FutureEveryMap.swift",
"FutureIgnore.swift",
"FutureMap.swift",
"FuturePeek.swift",
"FutureUpon.swift",
"Locking.swift",
"Promise.swift",
"Protected.swift"
],
"target_dependencies" : [
"CAtomics"
],
"type" : "library"
},
{
"c99name" : "CAtomics",
"module_type" : "ClangTarget",
"name" : "CAtomics",
"path" : "Sources/CAtomics",
"product_memberships" : [
"Deferred"
],
"sources" : [
"Empty.c"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-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.
Done.