Build Information
Failed to build Promise, reference main (82e62b), with Swift 6.2 for Android on 12 Jul 2025 21:08:40 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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ObuchiYuki/Promise.git
Reference: main
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/ObuchiYuki/Promise
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 82e62be add comments
Cloned https://github.com/ObuchiYuki/Promise.git
Revision (git rev-parse @):
82e62beb54a8d091036c43dbca3d19f992b579b6
SUCCESS checkout https://github.com/ObuchiYuki/Promise.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/ObuchiYuki/Promise.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2094] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.55s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (3.87s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3425] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.35s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.00s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/19] Compiling Promise Promise+Timeout.swift
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
9 | import Foundation
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
12 |
13 | /// Convenience wrapper for `data(for:)` that returns only the raw data.
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:61:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
59 | @inlinable
60 | public static func async(contentsOf url: URL) -> Promise<Data, Error> {
61 | URLSession.shared.data(for: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
62 | }
63 | }
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:21:35: error: cannot find type 'URLRequest' in scope
19 | /// Same as ``data(for:)`` but for `URLRequest`.
20 | @inlinable
21 | public func data(for request: URLRequest) -> Promise<Data, Error> {
| `- error: cannot find type 'URLRequest' in scope
22 | self.fetch(request).map { $0.1 }
23 | }
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:37:34: error: cannot find type 'URLRequest' in scope
35 | /// * a synthesized `NSError` when no data/error is produced.
36 | @inlinable
37 | public func fetch(_ request: URLRequest) -> Promise<(URLResponse, Data), Error> {
| `- error: cannot find type 'URLRequest' in scope
38 | let promise = Promise<(URLResponse, Data), Error>()
39 |
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[6/19] Compiling Promise Promise+URLSession.swift
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
9 | import Foundation
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
12 |
13 | /// Convenience wrapper for `data(for:)` that returns only the raw data.
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:61:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
59 | @inlinable
60 | public static func async(contentsOf url: URL) -> Promise<Data, Error> {
61 | URLSession.shared.data(for: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
62 | }
63 | }
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:21:35: error: cannot find type 'URLRequest' in scope
19 | /// Same as ``data(for:)`` but for `URLRequest`.
20 | @inlinable
21 | public func data(for request: URLRequest) -> Promise<Data, Error> {
| `- error: cannot find type 'URLRequest' in scope
22 | self.fetch(request).map { $0.1 }
23 | }
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:37:34: error: cannot find type 'URLRequest' in scope
35 | /// * a synthesized `NSError` when no data/error is produced.
36 | @inlinable
37 | public func fetch(_ request: URLRequest) -> Promise<(URLResponse, Data), Error> {
| `- error: cannot find type 'URLRequest' in scope
38 | let promise = Promise<(URLResponse, Data), Error>()
39 |
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[7/19] Compiling Promise Promise+GCD.swift
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+GCD.swift:68:15: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
66 | public static func dispatchUnsafe(on queue: DispatchQueue = .global(), @_implicitSelfCapture _ handler: @Sendable @escaping (@escaping (Output) -> (), @escaping (Failure) -> ()) -> ()) -> Promise<Output, Failure> {
67 | let promise = Promise<Output, Failure>()
68 | queue.asyncUnsafe { handler(promise.resolve, promise.reject) }
| `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
69 | return promise
70 | }
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+GCD.swift:76:15: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
74 | public static func dispatchUnsafe(on queue: DispatchQueue = .global(), @_implicitSelfCapture _ output: @Sendable @escaping () -> Output) -> Promise<Output, Failure> where Failure == Never {
75 | let promise = Promise<Output, Failure>()
76 | queue.asyncUnsafe { promise.resolve(output()) }
| `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
77 | return promise
78 | }
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+GCD.swift:84:15: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
82 | public static func tryDispatchUnsafe(on queue: DispatchQueue = .global(), @_implicitSelfCapture _ handler: @Sendable @escaping (@escaping (Output) -> (), @escaping (Failure) -> ()) throws -> ()) -> Promise<Output, Failure> where Failure == Error {
83 | let promise = Promise<Output, Failure>()
84 | queue.asyncUnsafe { do { try handler(promise.resolve, promise.reject) } catch { promise.reject(error) } }
| `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
85 | return promise
86 | }
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+GCD.swift:92:15: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
90 | public static func tryDispatchUnsafe(on queue: DispatchQueue = .global(), @_implicitSelfCapture _ output: @Sendable @escaping () throws -> Output) -> Promise<Output, Failure> where Failure == Error {
91 | let promise = Promise<Output, Failure>()
92 | queue.asyncUnsafe { do { promise.resolve(try output()) } catch { promise.reject(error) } }
| `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
93 | return promise
94 | }
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+GCD.swift:99:40: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
97 | @inlinable
98 | public func receiveUnsafe(on queue: DispatchQueue) -> Promise<Output, Failure> {
99 | self.receiveUnsafe(on: { queue.asyncUnsafe(execute: $0) })
| `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
100 | }
101 | }
[8/19] Compiling Promise Promise+MeasureInterval.swift
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+GCD.swift:68:15: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
66 | public static func dispatchUnsafe(on queue: DispatchQueue = .global(), @_implicitSelfCapture _ handler: @Sendable @escaping (@escaping (Output) -> (), @escaping (Failure) -> ()) -> ()) -> Promise<Output, Failure> {
67 | let promise = Promise<Output, Failure>()
68 | queue.asyncUnsafe { handler(promise.resolve, promise.reject) }
| `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
69 | return promise
70 | }
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+GCD.swift:76:15: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
74 | public static func dispatchUnsafe(on queue: DispatchQueue = .global(), @_implicitSelfCapture _ output: @Sendable @escaping () -> Output) -> Promise<Output, Failure> where Failure == Never {
75 | let promise = Promise<Output, Failure>()
76 | queue.asyncUnsafe { promise.resolve(output()) }
| `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
77 | return promise
78 | }
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+GCD.swift:84:15: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
82 | public static func tryDispatchUnsafe(on queue: DispatchQueue = .global(), @_implicitSelfCapture _ handler: @Sendable @escaping (@escaping (Output) -> (), @escaping (Failure) -> ()) throws -> ()) -> Promise<Output, Failure> where Failure == Error {
83 | let promise = Promise<Output, Failure>()
84 | queue.asyncUnsafe { do { try handler(promise.resolve, promise.reject) } catch { promise.reject(error) } }
| `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
85 | return promise
86 | }
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+GCD.swift:92:15: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
90 | public static func tryDispatchUnsafe(on queue: DispatchQueue = .global(), @_implicitSelfCapture _ output: @Sendable @escaping () throws -> Output) -> Promise<Output, Failure> where Failure == Error {
91 | let promise = Promise<Output, Failure>()
92 | queue.asyncUnsafe { do { promise.resolve(try output()) } catch { promise.reject(error) } }
| `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
93 | return promise
94 | }
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+GCD.swift:99:40: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
97 | @inlinable
98 | public func receiveUnsafe(on queue: DispatchQueue) -> Promise<Output, Failure> {
99 | self.receiveUnsafe(on: { queue.asyncUnsafe(execute: $0) })
| `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
100 | }
101 | }
[9/21] Compiling Promise Promise+Cancel.swift
[10/21] Compiling Promise Promise+Combination.swift
[11/21] Compiling Promise Promise+Debug.swift
[12/21] Compiling Promise Promise+Init.swift
[13/21] Compiling Promise Promise+Operators.swift
[14/21] Compiling Promise Promise+OptionalResolve.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/21] Compiling Promise Promise+Wait.swift
[16/21] Compiling Promise Promise+Combine.swift
[17/21] Emitting module Promise
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+GCD.swift:68:15: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
66 | public static func dispatchUnsafe(on queue: DispatchQueue = .global(), @_implicitSelfCapture _ handler: @Sendable @escaping (@escaping (Output) -> (), @escaping (Failure) -> ()) -> ()) -> Promise<Output, Failure> {
67 | let promise = Promise<Output, Failure>()
68 | queue.asyncUnsafe { handler(promise.resolve, promise.reject) }
| `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
69 | return promise
70 | }
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+GCD.swift:76:15: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
74 | public static func dispatchUnsafe(on queue: DispatchQueue = .global(), @_implicitSelfCapture _ output: @Sendable @escaping () -> Output) -> Promise<Output, Failure> where Failure == Never {
75 | let promise = Promise<Output, Failure>()
76 | queue.asyncUnsafe { promise.resolve(output()) }
| `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
77 | return promise
78 | }
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+GCD.swift:84:15: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
82 | public static func tryDispatchUnsafe(on queue: DispatchQueue = .global(), @_implicitSelfCapture _ handler: @Sendable @escaping (@escaping (Output) -> (), @escaping (Failure) -> ()) throws -> ()) -> Promise<Output, Failure> where Failure == Error {
83 | let promise = Promise<Output, Failure>()
84 | queue.asyncUnsafe { do { try handler(promise.resolve, promise.reject) } catch { promise.reject(error) } }
| `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
85 | return promise
86 | }
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+GCD.swift:92:15: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
90 | public static func tryDispatchUnsafe(on queue: DispatchQueue = .global(), @_implicitSelfCapture _ output: @Sendable @escaping () throws -> Output) -> Promise<Output, Failure> where Failure == Error {
91 | let promise = Promise<Output, Failure>()
92 | queue.asyncUnsafe { do { promise.resolve(try output()) } catch { promise.reject(error) } }
| `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
93 | return promise
94 | }
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+GCD.swift:99:40: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
97 | @inlinable
98 | public func receiveUnsafe(on queue: DispatchQueue) -> Promise<Output, Failure> {
99 | self.receiveUnsafe(on: { queue.asyncUnsafe(execute: $0) })
| `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
100 | }
101 | }
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
9 | import Foundation
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
12 |
13 | /// Convenience wrapper for `data(for:)` that returns only the raw data.
/host/spi-builder-workspace/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:61:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
59 | @inlinable
60 | public static func async(contentsOf url: URL) -> Promise<Data, Error> {
61 | URLSession.shared.data(for: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
62 | }
63 | }
/host/spi-builder-workspace/Sources/Promise/Lock.swift:30:62: error: cannot convert value of type 'Int' to expected argument type 'Int32'
28 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
29 | #if DEBUG
30 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_ERRORCHECK), "pthread_mutexattr_settype")
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
31 | #endif
32 | return UnsafePointer(attr)
/host/spi-builder-workspace/Sources/Promise/Lock.swift:64:62: error: cannot convert value of type 'Int' to expected argument type 'Int32'
62 | let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
63 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
64 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE), "pthread_mutexattr_settype")
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
65 | #if DEBUG
66 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_ERRORCHECK), "pthread_mutexattr_settype")
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[18/21] Compiling Promise Promise+Concurrency.swift
/host/spi-builder-workspace/Sources/Promise/Lock.swift:30:62: error: cannot convert value of type 'Int' to expected argument type 'Int32'
28 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
29 | #if DEBUG
30 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_ERRORCHECK), "pthread_mutexattr_settype")
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
31 | #endif
32 | return UnsafePointer(attr)
/host/spi-builder-workspace/Sources/Promise/Lock.swift:64:62: error: cannot convert value of type 'Int' to expected argument type 'Int32'
62 | let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
63 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
64 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE), "pthread_mutexattr_settype")
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
65 | #if DEBUG
66 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_ERRORCHECK), "pthread_mutexattr_settype")
[19/21] Compiling Promise Lock.swift
/host/spi-builder-workspace/Sources/Promise/Lock.swift:30:62: error: cannot convert value of type 'Int' to expected argument type 'Int32'
28 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
29 | #if DEBUG
30 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_ERRORCHECK), "pthread_mutexattr_settype")
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
31 | #endif
32 | return UnsafePointer(attr)
/host/spi-builder-workspace/Sources/Promise/Lock.swift:64:62: error: cannot convert value of type 'Int' to expected argument type 'Int32'
62 | let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
63 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
64 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE), "pthread_mutexattr_settype")
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
65 | #if DEBUG
66 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_ERRORCHECK), "pthread_mutexattr_settype")
[20/21] Compiling Promise Promise+Util.swift
[21/21] Compiling Promise Promise.swift
BUILD FAILURE 6.2 android