The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Deferred, reference 4.1.0 (96ad3f), with Swift 6.1 for Android on 28 May 2025 09:14:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         android
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-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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
[2/4] Write swift-version-24593BA9C3E375BF.txt
[5/22] Compiling Deferred FutureEveryMap.swift
[6/22] Compiling Deferred FutureIgnore.swift
[7/24] Compiling Deferred FutureCollections.swift
[8/24] Compiling Deferred FutureComposition.swift
[9/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 |
[10/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 |
[11/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 |
[12/24] Compiling Deferred Promise.swift
[13/24] Compiling Deferred Protected.swift
[14/24] Compiling Deferred FutureUpon.swift
[15/24] Compiling Deferred Locking.swift
[16/24] Compiling Deferred FutureMap.swift
[17/24] Compiling Deferred FuturePeek.swift
[18/24] Compiling Deferred Atomics.swift
[19/24] Compiling Deferred Deferred.swift
[20/24] Compiling Deferred DeferredQueue.swift
[21/24] 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)
[22/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() -> Never}
  |               `- note: 'getCFRunLoop()' declared here
3 |
[23/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() -> Never}
  |               `- note: 'getCFRunLoop()' declared here
3 |
[24/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() -> Never}
  |               `- note: 'getCFRunLoop()' declared here
3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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] 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)
[3/21] Compiling Deferred FutureMap.swift
[4/21] Compiling Deferred FuturePeek.swift
[5/21] Compiling Deferred FutureEveryMap.swift
[6/21] Compiling Deferred FutureIgnore.swift
[7/21] Compiling Deferred Atomics.swift
[8/21] Compiling Deferred Deferred.swift
[9/21] Compiling Deferred DeferredQueue.swift
[10/21] Compiling Deferred FutureUpon.swift
[11/21] Compiling Deferred Locking.swift
[12/21] Compiling Deferred Future.swift
[13/21] Compiling Deferred FutureAndThen.swift
[14/21] Compiling Deferred FutureAsync.swift
[15/21] Compiling Deferred FutureCollections.swift
[16/21] Compiling Deferred FutureComposition.swift
[17/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() -> Never}
  |               `- note: 'getCFRunLoop()' declared here
3 |
[18/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() -> Never}
  |               `- note: 'getCFRunLoop()' declared here
3 |
[19/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() -> Never}
  |               `- note: 'getCFRunLoop()' declared here
3 |
[20/21] Compiling Deferred Promise.swift
[21/21] Compiling Deferred Protected.swift
BUILD FAILURE 6.1 android