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 Deferred, reference 4.1.0 (96ad3f), with Swift 6.1 for Linux on 27 Apr 2025 03:37:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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.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" : [
  ],
  "products" : [
    {
      "name" : "Deferred",
      "targets" : [
        "Deferred",
        "Task"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "TaskTests",
      "module_type" : "SwiftTarget",
      "name" : "TaskTests",
      "path" : "Tests/TaskTests",
      "sources" : [
        "AllTestsCommon.swift",
        "TaskAsyncTests.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",
        "TaskFallback.swift",
        "TaskIgnore.swift",
        "TaskMap.swift",
        "TaskPromise.swift",
        "TaskRecovery.swift",
        "TaskResult.swift",
        "TaskUpon.swift"
      ],
      "target_dependencies" : [
        "Deferred"
      ],
      "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",
        "LockingTests.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" : [
        "Atomics"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Atomics",
      "module_type" : "ClangTarget",
      "name" : "Atomics",
      "path" : "Sources/Atomics",
      "product_memberships" : [
        "Deferred"
      ],
      "sources" : [
        "Empty.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
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-3":/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 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 FutureCollections.swift
[7/24] Compiling Deferred FutureComposition.swift
[8/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 |
[9/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 |
[10/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 |
[11/24] Compiling Deferred FutureEveryMap.swift
[12/24] Compiling Deferred FutureIgnore.swift
[13/24] Compiling Deferred Promise.swift
[14/24] Compiling Deferred Protected.swift
[15/24] Compiling Deferred FutureMap.swift
[16/24] Compiling Deferred FuturePeek.swift
[17/24] Compiling Deferred FutureUpon.swift
[18/24] Compiling Deferred Locking.swift
[19/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.getCFRunLoop:2:15: note: 'getCFRunLoop()' declared here
1 | class RunLoop {
2 | internal func getCFRunLoop() -> CFRunLoop}
  |               `- note: 'getCFRunLoop()' declared here
3 |
[20/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.getCFRunLoop:2:15: note: 'getCFRunLoop()' declared here
1 | class RunLoop {
2 | internal func getCFRunLoop() -> CFRunLoop}
  |               `- note: 'getCFRunLoop()' declared here
3 |
[21/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.getCFRunLoop:2:15: note: 'getCFRunLoop()' declared here
1 | class RunLoop {
2 | internal func getCFRunLoop() -> CFRunLoop}
  |               `- note: 'getCFRunLoop()' declared here
3 |
[22/24] Compiling Deferred Atomics.swift
[23/24] Compiling Deferred Deferred.swift
[24/24] Compiling Deferred DeferredQueue.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 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.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/19] Compiling Deferred FutureMap.swift
[3/19] Compiling Deferred FuturePeek.swift
[4/21] Compiling Deferred FutureEveryMap.swift
[5/21] Compiling Deferred FutureIgnore.swift
[6/21] 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.getCFRunLoop:2:15: note: 'getCFRunLoop()' declared here
1 | class RunLoop {
2 | internal func getCFRunLoop() -> CFRunLoop}
  |               `- note: 'getCFRunLoop()' declared here
3 |
[7/21] 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.getCFRunLoop:2:15: note: 'getCFRunLoop()' declared here
1 | class RunLoop {
2 | internal func getCFRunLoop() -> CFRunLoop}
  |               `- note: 'getCFRunLoop()' declared here
3 |
[8/21] 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.getCFRunLoop:2:15: note: 'getCFRunLoop()' declared here
1 | class RunLoop {
2 | internal func getCFRunLoop() -> CFRunLoop}
  |               `- note: 'getCFRunLoop()' declared here
3 |
[9/21] 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)
[10/21] Compiling Deferred FutureUpon.swift
[11/21] Compiling Deferred Locking.swift
[12/21] Compiling Deferred Promise.swift
[13/21] Compiling Deferred Protected.swift
[14/21] Compiling Deferred Atomics.swift
[15/21] Compiling Deferred Deferred.swift
[16/21] Compiling Deferred DeferredQueue.swift
[17/21] Compiling Deferred FutureCollections.swift
[18/21] Compiling Deferred FutureComposition.swift
[19/21] Compiling Deferred Future.swift
[20/21] Compiling Deferred FutureAndThen.swift
[21/21] Compiling Deferred FutureAsync.swift
BUILD FAILURE 6.1 linux