Build Information
Failed to build FranticApparatus, reference 7.0.0 (382472
), with Swift 6.1 for Android on 27 May 2025 09:36:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/jkolb/FranticApparatus.git
Reference: 7.0.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/jkolb/FranticApparatus
* tag 7.0.0 -> FETCH_HEAD
HEAD is now at 382472d Add Cocoapods support
Cloned https://github.com/jkolb/FranticApparatus.git
Revision (git rev-parse @):
382472df4b5206856352fabd77d826febf6c8a99
SUCCESS checkout https://github.com/jkolb/FranticApparatus.git at 7.0.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/jkolb/FranticApparatus.git
https://github.com/jkolb/FranticApparatus.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "FranticApparatus",
"name" : "FranticApparatus",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "FranticApparatus",
"targets" : [
"FranticApparatus"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FranticApparatusTests",
"module_type" : "SwiftTarget",
"name" : "FranticApparatusTests",
"path" : "Tests/FranticApparatusTests",
"sources" : [
"FranticApparatusTests.swift"
],
"target_dependencies" : [
"FranticApparatus"
],
"type" : "test"
},
{
"c99name" : "FranticApparatus",
"module_type" : "SwiftTarget",
"name" : "FranticApparatus",
"path" : "Sources/FranticApparatus",
"product_memberships" : [
"FranticApparatus"
],
"sources" : [
"AllPromises.swift",
"AnyPromises.swift",
"Deferred.swift",
"Dispatcher.swift",
"GCDDispatcher.swift",
"Lock.swift",
"OperationDispatcher.swift",
"Promise.swift",
"PromiseError.swift",
"PromiseMaker.swift",
"RacePromises.swift",
"Result.swift",
"State.swift",
"Thenable.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/16] Compiling FranticApparatus PromiseError.swift
/host/spi-builder-workspace/Sources/FranticApparatus/PromiseError.swift:43:16: warning: stored property 'errors' of 'Sendable'-conforming generic struct 'ErrorDictionary' has non-sendable type '[Key : any Error]'; this is an error in the Swift 6 language mode
40 | }
41 |
42 | public struct ErrorDictionary<Key : Hashable> : Error, CustomStringConvertible {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
43 | public let errors: [Key:Error]
| `- warning: stored property 'errors' of 'Sendable'-conforming generic struct 'ErrorDictionary' has non-sendable type '[Key : any Error]'; this is an error in the Swift 6 language mode
44 |
45 | public init(errors: [Key:Error]) {
[4/16] Compiling FranticApparatus PromiseMaker.swift
/host/spi-builder-workspace/Sources/FranticApparatus/PromiseError.swift:43:16: warning: stored property 'errors' of 'Sendable'-conforming generic struct 'ErrorDictionary' has non-sendable type '[Key : any Error]'; this is an error in the Swift 6 language mode
40 | }
41 |
42 | public struct ErrorDictionary<Key : Hashable> : Error, CustomStringConvertible {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
43 | public let errors: [Key:Error]
| `- warning: stored property 'errors' of 'Sendable'-conforming generic struct 'ErrorDictionary' has non-sendable type '[Key : any Error]'; this is an error in the Swift 6 language mode
44 |
45 | public init(errors: [Key:Error]) {
[5/17] Compiling FranticApparatus State.swift
[6/17] Compiling FranticApparatus RacePromises.swift
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:32:29: error: cannot find 'pthread_mutex_t' in scope
30 |
31 | final class Lock {
32 | fileprivate var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
33 |
34 | init() {
[7/17] Compiling FranticApparatus Result.swift
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:32:29: error: cannot find 'pthread_mutex_t' in scope
30 |
31 | final class Lock {
32 | fileprivate var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
33 |
34 | init() {
[8/17] Compiling FranticApparatus Thenable.swift
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:32:5: warning: 'public' modifier is redundant for instance method declared in a public extension
30 |
31 | public extension Thenable {
32 | public func whenFulfilledThenMap<ResultingValue>(on dispatcher: Dispatcher, map: @escaping (Value) throws -> Result<ResultingValue>) -> Promise<ResultingValue> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
33 | return then(
34 | on: dispatcher,
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:44:5: warning: 'public' modifier is redundant for instance method declared in a public extension
42 | }
43 |
44 | public func whenFulfilled(on dispatcher: Dispatcher, thenDo: @escaping (Value) throws -> Void) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
45 | return whenFulfilledThenMap(on: dispatcher) { (value) throws -> Result<Value> in
46 | try thenDo(value)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:52:5: warning: 'public' modifier is redundant for instance method declared in a public extension
50 | }
51 |
52 | public func whenFulfilledThenTransform<ResultingValue>(on dispatcher: Dispatcher, transform: @escaping (Value) throws -> ResultingValue) -> Promise<ResultingValue> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
53 | return whenFulfilledThenMap(on: dispatcher) { (value) throws -> Result<ResultingValue> in
54 | let result = try transform(value)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:60:5: warning: 'public' modifier is redundant for instance method declared in a public extension
58 | }
59 |
60 | public func whenFulfilledThenPromise<ResultingValue>(on dispatcher: Dispatcher, promise: @escaping (Value) throws -> Promise<ResultingValue>) -> Promise<ResultingValue> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
61 | return whenFulfilledThenMap(on: dispatcher) { (value) throws -> Result<ResultingValue> in
62 | let result = try promise(value)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:68:5: warning: 'public' modifier is redundant for instance method declared in a public extension
66 | }
67 |
68 | public func whenRejectedThenMap(on dispatcher: Dispatcher, map: @escaping (Error) throws -> Result<Value>) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
69 | return then(
70 | on: dispatcher,
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:82:5: warning: 'public' modifier is redundant for instance method declared in a public extension
80 | }
81 |
82 | public func whenRejected(on dispatcher: Dispatcher, thenDo: @escaping (Error) throws -> Void) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
83 | return whenRejectedThenMap(on: dispatcher) { (reason) throws -> Result<Value> in
84 | try thenDo(reason)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:90:5: warning: 'public' modifier is redundant for instance method declared in a public extension
88 | }
89 |
90 | public func whenRejectedThenTransform(on dispatcher: Dispatcher, transform: @escaping (Error) throws -> Value) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
91 | return whenRejectedThenMap(on: dispatcher) { (reason) throws -> Result<Value> in
92 | let result = try transform(reason)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:98:5: warning: 'public' modifier is redundant for instance method declared in a public extension
96 | }
97 |
98 | public func whenRejectedThenPromise(on dispatcher: Dispatcher, promise: @escaping (Error) throws -> Promise<Value>) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
99 | return whenRejectedThenMap(on: dispatcher) { (reason) throws -> Result<Value> in
100 | let result = try promise(reason)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:106:5: warning: 'public' modifier is redundant for instance method declared in a public extension
104 | }
105 |
106 | public func whenComplete(on dispatcher: Dispatcher, thenDo: @escaping () -> Void) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
107 | return then(
108 | on: dispatcher,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/17] Emitting module FranticApparatus
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:32:29: error: cannot find 'pthread_mutex_t' in scope
30 |
31 | final class Lock {
32 | fileprivate var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
33 |
34 | init() {
/host/spi-builder-workspace/Sources/FranticApparatus/PromiseError.swift:43:16: warning: stored property 'errors' of 'Sendable'-conforming generic struct 'ErrorDictionary' has non-sendable type '[Key : any Error]'; this is an error in the Swift 6 language mode
40 | }
41 |
42 | public struct ErrorDictionary<Key : Hashable> : Error, CustomStringConvertible {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
43 | public let errors: [Key:Error]
| `- warning: stored property 'errors' of 'Sendable'-conforming generic struct 'ErrorDictionary' has non-sendable type '[Key : any Error]'; this is an error in the Swift 6 language mode
44 |
45 | public init(errors: [Key:Error]) {
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:32:5: warning: 'public' modifier is redundant for instance method declared in a public extension
30 |
31 | public extension Thenable {
32 | public func whenFulfilledThenMap<ResultingValue>(on dispatcher: Dispatcher, map: @escaping (Value) throws -> Result<ResultingValue>) -> Promise<ResultingValue> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
33 | return then(
34 | on: dispatcher,
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:44:5: warning: 'public' modifier is redundant for instance method declared in a public extension
42 | }
43 |
44 | public func whenFulfilled(on dispatcher: Dispatcher, thenDo: @escaping (Value) throws -> Void) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
45 | return whenFulfilledThenMap(on: dispatcher) { (value) throws -> Result<Value> in
46 | try thenDo(value)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:52:5: warning: 'public' modifier is redundant for instance method declared in a public extension
50 | }
51 |
52 | public func whenFulfilledThenTransform<ResultingValue>(on dispatcher: Dispatcher, transform: @escaping (Value) throws -> ResultingValue) -> Promise<ResultingValue> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
53 | return whenFulfilledThenMap(on: dispatcher) { (value) throws -> Result<ResultingValue> in
54 | let result = try transform(value)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:60:5: warning: 'public' modifier is redundant for instance method declared in a public extension
58 | }
59 |
60 | public func whenFulfilledThenPromise<ResultingValue>(on dispatcher: Dispatcher, promise: @escaping (Value) throws -> Promise<ResultingValue>) -> Promise<ResultingValue> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
61 | return whenFulfilledThenMap(on: dispatcher) { (value) throws -> Result<ResultingValue> in
62 | let result = try promise(value)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:68:5: warning: 'public' modifier is redundant for instance method declared in a public extension
66 | }
67 |
68 | public func whenRejectedThenMap(on dispatcher: Dispatcher, map: @escaping (Error) throws -> Result<Value>) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
69 | return then(
70 | on: dispatcher,
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:82:5: warning: 'public' modifier is redundant for instance method declared in a public extension
80 | }
81 |
82 | public func whenRejected(on dispatcher: Dispatcher, thenDo: @escaping (Error) throws -> Void) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
83 | return whenRejectedThenMap(on: dispatcher) { (reason) throws -> Result<Value> in
84 | try thenDo(reason)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:90:5: warning: 'public' modifier is redundant for instance method declared in a public extension
88 | }
89 |
90 | public func whenRejectedThenTransform(on dispatcher: Dispatcher, transform: @escaping (Error) throws -> Value) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
91 | return whenRejectedThenMap(on: dispatcher) { (reason) throws -> Result<Value> in
92 | let result = try transform(reason)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:98:5: warning: 'public' modifier is redundant for instance method declared in a public extension
96 | }
97 |
98 | public func whenRejectedThenPromise(on dispatcher: Dispatcher, promise: @escaping (Error) throws -> Promise<Value>) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
99 | return whenRejectedThenMap(on: dispatcher) { (reason) throws -> Result<Value> in
100 | let result = try promise(reason)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:106:5: warning: 'public' modifier is redundant for instance method declared in a public extension
104 | }
105 |
106 | public func whenComplete(on dispatcher: Dispatcher, thenDo: @escaping () -> Void) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
107 | return then(
108 | on: dispatcher,
[10/17] Compiling FranticApparatus AllPromises.swift
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:32:29: error: cannot find 'pthread_mutex_t' in scope
30 |
31 | final class Lock {
32 | fileprivate var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
33 |
34 | init() {
[11/17] Compiling FranticApparatus AnyPromises.swift
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:32:29: error: cannot find 'pthread_mutex_t' in scope
30 |
31 | final class Lock {
32 | fileprivate var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
33 |
34 | init() {
[12/17] Compiling FranticApparatus Deferred.swift
[13/17] Compiling FranticApparatus Dispatcher.swift
[14/17] Compiling FranticApparatus GCDDispatcher.swift
/host/spi-builder-workspace/Sources/FranticApparatus/GCDDispatcher.swift:39:30: warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
36 | }
37 |
38 | public func dispatch(_ closure: @escaping () -> Void) {
| `- note: parameter 'closure' is implicitly non-sendable
39 | queue.async(execute: closure)
| `- warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
40 | }
41 | }
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:32:29: error: cannot find 'pthread_mutex_t' in scope
30 |
31 | final class Lock {
32 | fileprivate var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
33 |
34 | init() {
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:35:9: error: cannot find 'pthread_mutex_init' in scope
33 |
34 | init() {
35 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:35:36: error: 'nil' requires a contextual type
33 |
34 | init() {
35 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
36 | }
37 |
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:39:9: error: cannot find 'pthread_mutex_destroy' in scope
37 |
38 | deinit {
39 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
40 | }
41 |
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:43:9: error: cannot find 'pthread_mutex_lock' in scope
41 |
42 | func lock() {
43 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
44 | }
45 |
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:47:9: error: cannot find 'pthread_mutex_unlock' in scope
45 |
46 | func unlock() {
47 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
48 | }
49 | }
[15/17] Compiling FranticApparatus Lock.swift
/host/spi-builder-workspace/Sources/FranticApparatus/GCDDispatcher.swift:39:30: warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
36 | }
37 |
38 | public func dispatch(_ closure: @escaping () -> Void) {
| `- note: parameter 'closure' is implicitly non-sendable
39 | queue.async(execute: closure)
| `- warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
40 | }
41 | }
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:32:29: error: cannot find 'pthread_mutex_t' in scope
30 |
31 | final class Lock {
32 | fileprivate var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
33 |
34 | init() {
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:35:9: error: cannot find 'pthread_mutex_init' in scope
33 |
34 | init() {
35 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:35:36: error: 'nil' requires a contextual type
33 |
34 | init() {
35 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
36 | }
37 |
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:39:9: error: cannot find 'pthread_mutex_destroy' in scope
37 |
38 | deinit {
39 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
40 | }
41 |
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:43:9: error: cannot find 'pthread_mutex_lock' in scope
41 |
42 | func lock() {
43 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
44 | }
45 |
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:47:9: error: cannot find 'pthread_mutex_unlock' in scope
45 |
46 | func unlock() {
47 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
48 | }
49 | }
[16/17] Compiling FranticApparatus OperationDispatcher.swift
/host/spi-builder-workspace/Sources/FranticApparatus/OperationDispatcher.swift:39:28: warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
36 | }
37 |
38 | public func dispatch(_ closure: @escaping () -> Void) {
| `- note: parameter 'closure' is implicitly non-sendable
39 | queue.addOperation(closure)
| `- warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
40 | }
41 | }
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:32:29: error: cannot find 'pthread_mutex_t' in scope
30 |
31 | final class Lock {
32 | fileprivate var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
33 |
34 | init() {
[17/17] Compiling FranticApparatus Promise.swift
/host/spi-builder-workspace/Sources/FranticApparatus/OperationDispatcher.swift:39:28: warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
36 | }
37 |
38 | public func dispatch(_ closure: @escaping () -> Void) {
| `- note: parameter 'closure' is implicitly non-sendable
39 | queue.addOperation(closure)
| `- warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
40 | }
41 | }
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:32:29: error: cannot find 'pthread_mutex_t' in scope
30 |
31 | final class Lock {
32 | fileprivate var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
33 |
34 | init() {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/15] Compiling FranticApparatus Deferred.swift
[3/15] Compiling FranticApparatus Dispatcher.swift
[4/16] Compiling FranticApparatus State.swift
[5/16] Compiling FranticApparatus PromiseError.swift
[6/16] Compiling FranticApparatus PromiseMaker.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/16] Emitting module FranticApparatus
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:32:29: error: cannot find 'pthread_mutex_t' in scope
30 |
31 | final class Lock {
32 | fileprivate var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
33 |
34 | init() {
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:32:5: warning: 'public' modifier is redundant for instance method declared in a public extension
30 |
31 | public extension Thenable {
32 | public func whenFulfilledThenMap<ResultingValue>(on dispatcher: Dispatcher, map: @escaping (Value) throws -> Result<ResultingValue>) -> Promise<ResultingValue> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
33 | return then(
34 | on: dispatcher,
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:44:5: warning: 'public' modifier is redundant for instance method declared in a public extension
42 | }
43 |
44 | public func whenFulfilled(on dispatcher: Dispatcher, thenDo: @escaping (Value) throws -> Void) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
45 | return whenFulfilledThenMap(on: dispatcher) { (value) throws -> Result<Value> in
46 | try thenDo(value)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:52:5: warning: 'public' modifier is redundant for instance method declared in a public extension
50 | }
51 |
52 | public func whenFulfilledThenTransform<ResultingValue>(on dispatcher: Dispatcher, transform: @escaping (Value) throws -> ResultingValue) -> Promise<ResultingValue> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
53 | return whenFulfilledThenMap(on: dispatcher) { (value) throws -> Result<ResultingValue> in
54 | let result = try transform(value)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:60:5: warning: 'public' modifier is redundant for instance method declared in a public extension
58 | }
59 |
60 | public func whenFulfilledThenPromise<ResultingValue>(on dispatcher: Dispatcher, promise: @escaping (Value) throws -> Promise<ResultingValue>) -> Promise<ResultingValue> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
61 | return whenFulfilledThenMap(on: dispatcher) { (value) throws -> Result<ResultingValue> in
62 | let result = try promise(value)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:68:5: warning: 'public' modifier is redundant for instance method declared in a public extension
66 | }
67 |
68 | public func whenRejectedThenMap(on dispatcher: Dispatcher, map: @escaping (Error) throws -> Result<Value>) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
69 | return then(
70 | on: dispatcher,
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:82:5: warning: 'public' modifier is redundant for instance method declared in a public extension
80 | }
81 |
82 | public func whenRejected(on dispatcher: Dispatcher, thenDo: @escaping (Error) throws -> Void) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
83 | return whenRejectedThenMap(on: dispatcher) { (reason) throws -> Result<Value> in
84 | try thenDo(reason)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:90:5: warning: 'public' modifier is redundant for instance method declared in a public extension
88 | }
89 |
90 | public func whenRejectedThenTransform(on dispatcher: Dispatcher, transform: @escaping (Error) throws -> Value) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
91 | return whenRejectedThenMap(on: dispatcher) { (reason) throws -> Result<Value> in
92 | let result = try transform(reason)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:98:5: warning: 'public' modifier is redundant for instance method declared in a public extension
96 | }
97 |
98 | public func whenRejectedThenPromise(on dispatcher: Dispatcher, promise: @escaping (Error) throws -> Promise<Value>) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
99 | return whenRejectedThenMap(on: dispatcher) { (reason) throws -> Result<Value> in
100 | let result = try promise(reason)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:106:5: warning: 'public' modifier is redundant for instance method declared in a public extension
104 | }
105 |
106 | public func whenComplete(on dispatcher: Dispatcher, thenDo: @escaping () -> Void) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
107 | return then(
108 | on: dispatcher,
[8/16] Compiling FranticApparatus AllPromises.swift
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:32:29: error: cannot find 'pthread_mutex_t' in scope
30 |
31 | final class Lock {
32 | fileprivate var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
33 |
34 | init() {
[9/16] Compiling FranticApparatus AnyPromises.swift
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:32:29: error: cannot find 'pthread_mutex_t' in scope
30 |
31 | final class Lock {
32 | fileprivate var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
33 |
34 | init() {
[10/16] Compiling FranticApparatus RacePromises.swift
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:32:29: error: cannot find 'pthread_mutex_t' in scope
30 |
31 | final class Lock {
32 | fileprivate var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
33 |
34 | init() {
[11/16] Compiling FranticApparatus Result.swift
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:32:29: error: cannot find 'pthread_mutex_t' in scope
30 |
31 | final class Lock {
32 | fileprivate var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
33 |
34 | init() {
[12/16] Compiling FranticApparatus Thenable.swift
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:32:5: warning: 'public' modifier is redundant for instance method declared in a public extension
30 |
31 | public extension Thenable {
32 | public func whenFulfilledThenMap<ResultingValue>(on dispatcher: Dispatcher, map: @escaping (Value) throws -> Result<ResultingValue>) -> Promise<ResultingValue> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
33 | return then(
34 | on: dispatcher,
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:44:5: warning: 'public' modifier is redundant for instance method declared in a public extension
42 | }
43 |
44 | public func whenFulfilled(on dispatcher: Dispatcher, thenDo: @escaping (Value) throws -> Void) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
45 | return whenFulfilledThenMap(on: dispatcher) { (value) throws -> Result<Value> in
46 | try thenDo(value)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:52:5: warning: 'public' modifier is redundant for instance method declared in a public extension
50 | }
51 |
52 | public func whenFulfilledThenTransform<ResultingValue>(on dispatcher: Dispatcher, transform: @escaping (Value) throws -> ResultingValue) -> Promise<ResultingValue> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
53 | return whenFulfilledThenMap(on: dispatcher) { (value) throws -> Result<ResultingValue> in
54 | let result = try transform(value)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:60:5: warning: 'public' modifier is redundant for instance method declared in a public extension
58 | }
59 |
60 | public func whenFulfilledThenPromise<ResultingValue>(on dispatcher: Dispatcher, promise: @escaping (Value) throws -> Promise<ResultingValue>) -> Promise<ResultingValue> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
61 | return whenFulfilledThenMap(on: dispatcher) { (value) throws -> Result<ResultingValue> in
62 | let result = try promise(value)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:68:5: warning: 'public' modifier is redundant for instance method declared in a public extension
66 | }
67 |
68 | public func whenRejectedThenMap(on dispatcher: Dispatcher, map: @escaping (Error) throws -> Result<Value>) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
69 | return then(
70 | on: dispatcher,
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:82:5: warning: 'public' modifier is redundant for instance method declared in a public extension
80 | }
81 |
82 | public func whenRejected(on dispatcher: Dispatcher, thenDo: @escaping (Error) throws -> Void) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
83 | return whenRejectedThenMap(on: dispatcher) { (reason) throws -> Result<Value> in
84 | try thenDo(reason)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:90:5: warning: 'public' modifier is redundant for instance method declared in a public extension
88 | }
89 |
90 | public func whenRejectedThenTransform(on dispatcher: Dispatcher, transform: @escaping (Error) throws -> Value) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
91 | return whenRejectedThenMap(on: dispatcher) { (reason) throws -> Result<Value> in
92 | let result = try transform(reason)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:98:5: warning: 'public' modifier is redundant for instance method declared in a public extension
96 | }
97 |
98 | public func whenRejectedThenPromise(on dispatcher: Dispatcher, promise: @escaping (Error) throws -> Promise<Value>) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
99 | return whenRejectedThenMap(on: dispatcher) { (reason) throws -> Result<Value> in
100 | let result = try promise(reason)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:106:5: warning: 'public' modifier is redundant for instance method declared in a public extension
104 | }
105 |
106 | public func whenComplete(on dispatcher: Dispatcher, thenDo: @escaping () -> Void) -> Promise<Value> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
107 | return then(
108 | on: dispatcher,
[13/16] Compiling FranticApparatus GCDDispatcher.swift
/host/spi-builder-workspace/Sources/FranticApparatus/GCDDispatcher.swift:39:30: warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
36 | }
37 |
38 | public func dispatch(_ closure: @escaping () -> Void) {
| `- note: parameter 'closure' is implicitly non-sendable
39 | queue.async(execute: closure)
| `- warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
40 | }
41 | }
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:32:29: error: cannot find 'pthread_mutex_t' in scope
30 |
31 | final class Lock {
32 | fileprivate var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
33 |
34 | init() {
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:35:9: error: cannot find 'pthread_mutex_init' in scope
33 |
34 | init() {
35 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:35:36: error: 'nil' requires a contextual type
33 |
34 | init() {
35 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
36 | }
37 |
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:39:9: error: cannot find 'pthread_mutex_destroy' in scope
37 |
38 | deinit {
39 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
40 | }
41 |
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:43:9: error: cannot find 'pthread_mutex_lock' in scope
41 |
42 | func lock() {
43 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
44 | }
45 |
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:47:9: error: cannot find 'pthread_mutex_unlock' in scope
45 |
46 | func unlock() {
47 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
48 | }
49 | }
[14/16] Compiling FranticApparatus Lock.swift
/host/spi-builder-workspace/Sources/FranticApparatus/GCDDispatcher.swift:39:30: warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
36 | }
37 |
38 | public func dispatch(_ closure: @escaping () -> Void) {
| `- note: parameter 'closure' is implicitly non-sendable
39 | queue.async(execute: closure)
| `- warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
40 | }
41 | }
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:32:29: error: cannot find 'pthread_mutex_t' in scope
30 |
31 | final class Lock {
32 | fileprivate var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
33 |
34 | init() {
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:35:9: error: cannot find 'pthread_mutex_init' in scope
33 |
34 | init() {
35 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:35:36: error: 'nil' requires a contextual type
33 |
34 | init() {
35 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
36 | }
37 |
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:39:9: error: cannot find 'pthread_mutex_destroy' in scope
37 |
38 | deinit {
39 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
40 | }
41 |
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:43:9: error: cannot find 'pthread_mutex_lock' in scope
41 |
42 | func lock() {
43 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
44 | }
45 |
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:47:9: error: cannot find 'pthread_mutex_unlock' in scope
45 |
46 | func unlock() {
47 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
48 | }
49 | }
[15/16] Compiling FranticApparatus OperationDispatcher.swift
/host/spi-builder-workspace/Sources/FranticApparatus/OperationDispatcher.swift:39:28: warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
36 | }
37 |
38 | public func dispatch(_ closure: @escaping () -> Void) {
| `- note: parameter 'closure' is implicitly non-sendable
39 | queue.addOperation(closure)
| `- warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
40 | }
41 | }
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:32:29: error: cannot find 'pthread_mutex_t' in scope
30 |
31 | final class Lock {
32 | fileprivate var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
33 |
34 | init() {
[16/16] Compiling FranticApparatus Promise.swift
/host/spi-builder-workspace/Sources/FranticApparatus/OperationDispatcher.swift:39:28: warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
36 | }
37 |
38 | public func dispatch(_ closure: @escaping () -> Void) {
| `- note: parameter 'closure' is implicitly non-sendable
39 | queue.addOperation(closure)
| `- warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
40 | }
41 | }
/host/spi-builder-workspace/Sources/FranticApparatus/Lock.swift:32:29: error: cannot find 'pthread_mutex_t' in scope
30 |
31 | final class Lock {
32 | fileprivate var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
33 |
34 | init() {
BUILD FAILURE 6.1 android