Build Information
Failed to build Promise, reference master (ade6ab), with Swift 6.1 for Android on 27 May 2025 06:39:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/timvermeulen/promise.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/timvermeulen/promise
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ade6abe Create LICENSE
Cloned https://github.com/timvermeulen/promise.git
Revision (git rev-parse @):
ade6abeea94db78db0cc43f3288b27a00c72b8f0
SUCCESS checkout https://github.com/timvermeulen/promise.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/timvermeulen/promise.git
https://github.com/timvermeulen/promise.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Promise",
"name" : "Promise",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Promise",
"targets" : [
"Promise"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PromiseTests",
"module_type" : "SwiftTarget",
"name" : "PromiseTests",
"path" : "Tests/PromiseTests",
"sources" : [
"AsyncTests.swift",
"BasicFutureTests.swift",
"Helpers.swift",
"PromiseAllTests.swift",
"PromiseAlwaysTests.swift",
"PromiseDelayTests.swift",
"PromiseGuardTests.swift",
"PromiseKickoffTests.swift",
"PromiseRaceTests.swift",
"PromiseRecoverTests.swift",
"PromiseTests.swift",
"PromiseThrowsTests.swift",
"PromiseZipTests.swift"
],
"target_dependencies" : [
"Promise"
],
"type" : "test"
},
{
"c99name" : "Promise",
"module_type" : "SwiftTarget",
"name" : "Promise",
"path" : "Sources/Promise",
"product_memberships" : [
"Promise"
],
"sources" : [
"BasicFuture/BasicFuture+Extras.swift",
"BasicFuture/BasicFuture+Foundation.swift",
"BasicFuture/BasicFuture.swift",
"BasicFuture/BasicPromise.swift",
"Future/Future+Extras.swift",
"Future/Future+Foundation.swift",
"Future/Future.swift",
"Future/Promise.swift",
"Miscellaneous/Atomic.swift",
"Miscellaneous/DispatchQueue+ExecutionContext.swift",
"Miscellaneous/ExecutionContext.swift",
"Miscellaneous/Result.swift",
"Miscellaneous/Traversable.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling Promise Result.swift
[4/16] Compiling Promise Traversable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/16] Compiling Promise BasicFuture.swift
[6/16] Compiling Promise BasicPromise.swift
[7/16] Compiling Promise BasicFuture+Extras.swift
/host/spi-builder-workspace/Sources/Promise/BasicFuture/BasicFuture+Foundation.swift:21:59: warning: passing non-sendable parameter 'resolve' to function expecting a @Sendable closure
18 |
19 | func asyncAfter(deadline: DispatchTime, on queue: DispatchQueue) -> BasicFuture {
20 | return async { resolve in
| `- note: parameter 'resolve' is implicitly non-sendable
21 | queue.asyncAfter(deadline: deadline, execute: resolve)
| `- warning: passing non-sendable parameter 'resolve' to function expecting a @Sendable closure
22 | }
23 | }
/host/spi-builder-workspace/Sources/Promise/BasicFuture/BasicFuture+Foundation.swift:46:19: warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
44 | func delayed(by interval: TimeInterval) -> BasicFuture {
45 | return on(.main).async { resolve in
46 | Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { _ in resolve() }
| `- warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
47 | }
48 | }
/host/spi-builder-workspace/Sources/Promise/BasicFuture/BasicFuture+Foundation.swift:46:85: warning: capture of 'resolve' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | func delayed(by interval: TimeInterval) -> BasicFuture {
45 | return on(.main).async { resolve in
46 | Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { _ in resolve() }
| |- warning: capture of 'resolve' with non-sendable type '() -> Void' 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'
47 | }
48 | }
[8/16] Compiling Promise BasicFuture+Foundation.swift
/host/spi-builder-workspace/Sources/Promise/BasicFuture/BasicFuture+Foundation.swift:21:59: warning: passing non-sendable parameter 'resolve' to function expecting a @Sendable closure
18 |
19 | func asyncAfter(deadline: DispatchTime, on queue: DispatchQueue) -> BasicFuture {
20 | return async { resolve in
| `- note: parameter 'resolve' is implicitly non-sendable
21 | queue.asyncAfter(deadline: deadline, execute: resolve)
| `- warning: passing non-sendable parameter 'resolve' to function expecting a @Sendable closure
22 | }
23 | }
/host/spi-builder-workspace/Sources/Promise/BasicFuture/BasicFuture+Foundation.swift:46:19: warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
44 | func delayed(by interval: TimeInterval) -> BasicFuture {
45 | return on(.main).async { resolve in
46 | Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { _ in resolve() }
| `- warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
47 | }
48 | }
/host/spi-builder-workspace/Sources/Promise/BasicFuture/BasicFuture+Foundation.swift:46:85: warning: capture of 'resolve' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | func delayed(by interval: TimeInterval) -> BasicFuture {
45 | return on(.main).async { resolve in
46 | Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { _ in resolve() }
| |- warning: capture of 'resolve' with non-sendable type '() -> Void' 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'
47 | }
48 | }
[9/16] Emitting module Promise
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:54:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
52 | }
53 |
54 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
55 | func dataTask(with request: URLRequest) -> Future<(data: Data, response: HTTPURLResponse)> {
56 | return Future { promise in
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Promise/Miscellaneous/ExecutionContext.swift:5:14: warning: let 'defaultExecutionContext' is not concurrency-safe because non-'Sendable' type 'ExecutionContext' (aka '(@escaping () -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
3 | public typealias ExecutionContext = (@escaping () -> Void) -> Void
4 |
5 | internal let defaultExecutionContext = DispatchQueue.main.asyncContext
| |- warning: let 'defaultExecutionContext' is not concurrency-safe because non-'Sendable' type 'ExecutionContext' (aka '(@escaping () -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultExecutionContext' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
[10/16] Compiling Promise Future+Extras.swift
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:54:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
52 | }
53 |
54 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
55 | func dataTask(with request: URLRequest) -> Future<(data: Data, response: HTTPURLResponse)> {
56 | return Future { promise in
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:24:59: warning: passing non-sendable parameter 'resolve' to function expecting a @Sendable closure
21 |
22 | func asyncAfter(deadline: DispatchTime, on queue: DispatchQueue) -> Future {
23 | return async { resolve in
| `- note: parameter 'resolve' is implicitly non-sendable
24 | queue.asyncAfter(deadline: deadline, execute: resolve)
| `- warning: passing non-sendable parameter 'resolve' to function expecting a @Sendable closure
25 | }
26 | }
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:45:19: warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
43 | func delayed(by interval: TimeInterval) -> Future {
44 | return on(.main).async { resolve in
45 | Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { _ in resolve() }
| `- warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
46 | }
47 | }
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:45:85: warning: capture of 'resolve' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | func delayed(by interval: TimeInterval) -> Future {
44 | return on(.main).async { resolve in
45 | Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { _ in resolve() }
| |- warning: capture of 'resolve' with non-sendable type '() -> Void' 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'
46 | }
47 | }
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:55:33: error: cannot find type 'URLRequest' in scope
53 |
54 | public extension URLSession {
55 | func dataTask(with request: URLRequest) -> Future<(data: Data, response: HTTPURLResponse)> {
| `- error: cannot find type 'URLRequest' in scope
56 | return Future { promise in
57 | let task = dataTask(with: request) { data, response, error in
[11/16] Compiling Promise Future+Foundation.swift
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:54:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
52 | }
53 |
54 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
55 | func dataTask(with request: URLRequest) -> Future<(data: Data, response: HTTPURLResponse)> {
56 | return Future { promise in
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:24:59: warning: passing non-sendable parameter 'resolve' to function expecting a @Sendable closure
21 |
22 | func asyncAfter(deadline: DispatchTime, on queue: DispatchQueue) -> Future {
23 | return async { resolve in
| `- note: parameter 'resolve' is implicitly non-sendable
24 | queue.asyncAfter(deadline: deadline, execute: resolve)
| `- warning: passing non-sendable parameter 'resolve' to function expecting a @Sendable closure
25 | }
26 | }
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:45:19: warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
43 | func delayed(by interval: TimeInterval) -> Future {
44 | return on(.main).async { resolve in
45 | Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { _ in resolve() }
| `- warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
46 | }
47 | }
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:45:85: warning: capture of 'resolve' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | func delayed(by interval: TimeInterval) -> Future {
44 | return on(.main).async { resolve in
45 | Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { _ in resolve() }
| |- warning: capture of 'resolve' with non-sendable type '() -> Void' 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'
46 | }
47 | }
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:55:33: error: cannot find type 'URLRequest' in scope
53 |
54 | public extension URLSession {
55 | func dataTask(with request: URLRequest) -> Future<(data: Data, response: HTTPURLResponse)> {
| `- error: cannot find type 'URLRequest' in scope
56 | return Future { promise in
57 | let task = dataTask(with: request) { data, response, error in
[12/16] Compiling Promise Future.swift
[13/16] Compiling Promise Promise.swift
[14/16] Compiling Promise ExecutionContext.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Promise/Miscellaneous/ExecutionContext.swift:5:14: warning: let 'defaultExecutionContext' is not concurrency-safe because non-'Sendable' type 'ExecutionContext' (aka '(@escaping () -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
3 | public typealias ExecutionContext = (@escaping () -> Void) -> Void
4 |
5 | internal let defaultExecutionContext = DispatchQueue.main.asyncContext
| |- warning: let 'defaultExecutionContext' is not concurrency-safe because non-'Sendable' type 'ExecutionContext' (aka '(@escaping () -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultExecutionContext' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
[15/16] Compiling Promise Atomic.swift
/host/spi-builder-workspace/Sources/Promise/Miscellaneous/DispatchQueue+ExecutionContext.swift:5:38: warning: passing non-sendable parameter '$0' to function expecting a @Sendable closure
3 | extension DispatchQueue {
4 | var asyncContext: ExecutionContext {
5 | return { self.async(execute: $0) }
| | `- warning: passing non-sendable parameter '$0' to function expecting a @Sendable closure
| `- note: parameter '$0' is implicitly non-sendable
6 | }
7 | }
[16/16] Compiling Promise DispatchQueue+ExecutionContext.swift
/host/spi-builder-workspace/Sources/Promise/Miscellaneous/DispatchQueue+ExecutionContext.swift:5:38: warning: passing non-sendable parameter '$0' to function expecting a @Sendable closure
3 | extension DispatchQueue {
4 | var asyncContext: ExecutionContext {
5 | return { self.async(execute: $0) }
| | `- warning: passing non-sendable parameter '$0' to function expecting a @Sendable closure
| `- note: parameter '$0' is implicitly non-sendable
6 | }
7 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling Promise Result.swift
[3/15] Compiling Promise ExecutionContext.swift
[4/15] Compiling Promise Atomic.swift
/host/spi-builder-workspace/Sources/Promise/Miscellaneous/DispatchQueue+ExecutionContext.swift:5:38: warning: passing non-sendable parameter '$0' to function expecting a @Sendable closure
3 | extension DispatchQueue {
4 | var asyncContext: ExecutionContext {
5 | return { self.async(execute: $0) }
| | `- warning: passing non-sendable parameter '$0' to function expecting a @Sendable closure
| `- note: parameter '$0' is implicitly non-sendable
6 | }
7 | }
[5/15] Compiling Promise DispatchQueue+ExecutionContext.swift
/host/spi-builder-workspace/Sources/Promise/Miscellaneous/DispatchQueue+ExecutionContext.swift:5:38: warning: passing non-sendable parameter '$0' to function expecting a @Sendable closure
3 | extension DispatchQueue {
4 | var asyncContext: ExecutionContext {
5 | return { self.async(execute: $0) }
| | `- warning: passing non-sendable parameter '$0' to function expecting a @Sendable closure
| `- note: parameter '$0' is implicitly non-sendable
6 | }
7 | }
[6/15] Compiling Promise BasicFuture.swift
[7/15] Compiling Promise BasicPromise.swift
[8/15] Compiling Promise Future.swift
[9/15] Compiling Promise Promise.swift
[10/15] Compiling Promise Future+Extras.swift
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:54:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
52 | }
53 |
54 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
55 | func dataTask(with request: URLRequest) -> Future<(data: Data, response: HTTPURLResponse)> {
56 | return Future { promise in
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:24:59: warning: passing non-sendable parameter 'resolve' to function expecting a @Sendable closure
21 |
22 | func asyncAfter(deadline: DispatchTime, on queue: DispatchQueue) -> Future {
23 | return async { resolve in
| `- note: parameter 'resolve' is implicitly non-sendable
24 | queue.asyncAfter(deadline: deadline, execute: resolve)
| `- warning: passing non-sendable parameter 'resolve' to function expecting a @Sendable closure
25 | }
26 | }
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:45:19: warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
43 | func delayed(by interval: TimeInterval) -> Future {
44 | return on(.main).async { resolve in
45 | Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { _ in resolve() }
| `- warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
46 | }
47 | }
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:55:33: error: cannot find type 'URLRequest' in scope
53 |
54 | public extension URLSession {
55 | func dataTask(with request: URLRequest) -> Future<(data: Data, response: HTTPURLResponse)> {
| `- error: cannot find type 'URLRequest' in scope
56 | return Future { promise in
57 | let task = dataTask(with: request) { data, response, error in
[11/15] Compiling Promise Future+Foundation.swift
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:54:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
52 | }
53 |
54 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
55 | func dataTask(with request: URLRequest) -> Future<(data: Data, response: HTTPURLResponse)> {
56 | return Future { promise in
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:24:59: warning: passing non-sendable parameter 'resolve' to function expecting a @Sendable closure
21 |
22 | func asyncAfter(deadline: DispatchTime, on queue: DispatchQueue) -> Future {
23 | return async { resolve in
| `- note: parameter 'resolve' is implicitly non-sendable
24 | queue.asyncAfter(deadline: deadline, execute: resolve)
| `- warning: passing non-sendable parameter 'resolve' to function expecting a @Sendable closure
25 | }
26 | }
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:45:19: warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
43 | func delayed(by interval: TimeInterval) -> Future {
44 | return on(.main).async { resolve in
45 | Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { _ in resolve() }
| `- warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
46 | }
47 | }
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:55:33: error: cannot find type 'URLRequest' in scope
53 |
54 | public extension URLSession {
55 | func dataTask(with request: URLRequest) -> Future<(data: Data, response: HTTPURLResponse)> {
| `- error: cannot find type 'URLRequest' in scope
56 | return Future { promise in
57 | let task = dataTask(with: request) { data, response, error in
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/15] Compiling Promise BasicFuture+Extras.swift
/host/spi-builder-workspace/Sources/Promise/BasicFuture/BasicFuture+Foundation.swift:21:59: warning: passing non-sendable parameter 'resolve' to function expecting a @Sendable closure
18 |
19 | func asyncAfter(deadline: DispatchTime, on queue: DispatchQueue) -> BasicFuture {
20 | return async { resolve in
| `- note: parameter 'resolve' is implicitly non-sendable
21 | queue.asyncAfter(deadline: deadline, execute: resolve)
| `- warning: passing non-sendable parameter 'resolve' to function expecting a @Sendable closure
22 | }
23 | }
/host/spi-builder-workspace/Sources/Promise/BasicFuture/BasicFuture+Foundation.swift:46:19: warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
44 | func delayed(by interval: TimeInterval) -> BasicFuture {
45 | return on(.main).async { resolve in
46 | Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { _ in resolve() }
| `- warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
47 | }
48 | }
[13/15] Compiling Promise BasicFuture+Foundation.swift
/host/spi-builder-workspace/Sources/Promise/BasicFuture/BasicFuture+Foundation.swift:21:59: warning: passing non-sendable parameter 'resolve' to function expecting a @Sendable closure
18 |
19 | func asyncAfter(deadline: DispatchTime, on queue: DispatchQueue) -> BasicFuture {
20 | return async { resolve in
| `- note: parameter 'resolve' is implicitly non-sendable
21 | queue.asyncAfter(deadline: deadline, execute: resolve)
| `- warning: passing non-sendable parameter 'resolve' to function expecting a @Sendable closure
22 | }
23 | }
/host/spi-builder-workspace/Sources/Promise/BasicFuture/BasicFuture+Foundation.swift:46:19: warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
44 | func delayed(by interval: TimeInterval) -> BasicFuture {
45 | return on(.main).async { resolve in
46 | Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { _ in resolve() }
| `- warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
47 | }
48 | }
[14/15] Emitting module Promise
/host/spi-builder-workspace/Sources/Promise/Future/Future+Foundation.swift:54:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
52 | }
53 |
54 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
55 | func dataTask(with request: URLRequest) -> Future<(data: Data, response: HTTPURLResponse)> {
56 | return Future { promise in
[15/15] Compiling Promise Traversable.swift
BUILD FAILURE 6.1 android