Build Information
Failed to build yswift, reference main (976d5a), with Swift 6.2 for Android on 20 Jun 2025 05:20:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/yswift.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/yswift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 976d5ae [fix] comment
Cloned https://github.com/ObuchiYuki/yswift.git
Revision (git rev-parse @):
976d5ae49522bac2e205bb29447dcd3ca516d3fa
SUCCESS checkout https://github.com/ObuchiYuki/yswift.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/ObuchiYuki/yswift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/ObuchiYuki/Promise.git
Fetching https://github.com/ObuchiYuki/lib0-swift.git
[1/162] Fetching lib0-swift
[163/1478] Fetching lib0-swift, promise
Fetched https://github.com/ObuchiYuki/lib0-swift.git from cache (0.24s)
Fetched https://github.com/ObuchiYuki/Promise.git from cache (0.27s)
Computing version for https://github.com/ObuchiYuki/lib0-swift.git
Computed https://github.com/ObuchiYuki/lib0-swift.git at 1.0.4 (0.87s)
Computing version for https://github.com/ObuchiYuki/Promise.git
Computed https://github.com/ObuchiYuki/Promise.git at 1.3.0 (0.60s)
Creating working copy for https://github.com/ObuchiYuki/Promise.git
Working copy of https://github.com/ObuchiYuki/Promise.git resolved at 1.3.0
Creating working copy for https://github.com/ObuchiYuki/lib0-swift.git
Working copy of https://github.com/ObuchiYuki/lib0-swift.git resolved at 1.0.4
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/yswift/Object/YXmlFragment.swift.dontimplement
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/27] Compiling Promise Promise+GCD.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:13:8: error: Unsupported platform
11 | import Glibc // for Linux
12 | #else
13 | #error("Unsupported platform")
| `- error: Unsupported platform
14 | #endif
15 |
[6/27] Compiling Promise Promise+MeasureInterval.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:13:8: error: Unsupported platform
11 | import Glibc // for Linux
12 | #else
13 | #error("Unsupported platform")
| `- error: Unsupported platform
14 | #endif
15 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/27] Emitting module Promise
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:13:8: error: Unsupported platform
11 | import Glibc // for Linux
12 | #else
13 | #error("Unsupported platform")
| `- error: Unsupported platform
14 | #endif
15 |
/host/spi-builder-workspace/.build/checkouts/Promise/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 | @inlinable public func data(for url: URL) -> Promise<Data, Error> {
13 | self.fetch(url).map{ $0.1 }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:46:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | extension Data {
45 | @inlinable public static func async(contentsOf url: URL) -> Promise<Data, Error> {
46 | URLSession.shared.data(for: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 | }
48 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:18:54: error: cannot find type 'pthread_mutexattr_t' in scope
16 | @usableFromInline final class Lock {
17 | #if DEBUG
18 | @usableFromInline static let attr: UnsafePointer<pthread_mutexattr_t> = {
| `- error: cannot find type 'pthread_mutexattr_t' in scope
19 | let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
20 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:26:35: error: cannot find 'pthread_mutex_t' in scope
24 | #endif
25 |
26 | @usableFromInline var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
27 |
28 | @inlinable @inline(__always)
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:51:41: error: cannot find type 'pthread_mutexattr_t' in scope
49 | @usableFromInline final class RecursiveLock {
50 | @usableFromInline static let attr = {
51 | let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutexattr_t' in scope
52 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
53 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE), "pthread_mutexattr_settype")
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:52:30: error: cannot find 'pthread_mutexattr_init' in scope
50 | @usableFromInline static let attr = {
51 | let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
52 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
| `- error: cannot find 'pthread_mutexattr_init' in scope
53 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE), "pthread_mutexattr_settype")
54 | return UnsafePointer(attr)
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:53:30: error: cannot find 'pthread_mutexattr_settype' in scope
51 | let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
52 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
53 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE), "pthread_mutexattr_settype")
| `- error: cannot find 'pthread_mutexattr_settype' in scope
54 | return UnsafePointer(attr)
55 | }()
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:53:62: error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
51 | let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
52 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
53 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE), "pthread_mutexattr_settype")
| `- error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
54 | return UnsafePointer(attr)
55 | }()
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:57:55: error: cannot find type 'pthread_mutex_t' in scope
55 | }()
56 |
57 | @usableFromInline var mutex: UnsafeMutablePointer<pthread_mutex_t>
| `- error: cannot find type 'pthread_mutex_t' in scope
58 |
59 | @inlinable @inline(__always)
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:30:30: error: cannot find 'pthread_mutex_init' in scope
28 | @inlinable @inline(__always)
29 | init() {
30 | _HANDLE_PTHREAD_CALL(pthread_mutex_init(&mutex, Lock.attr), "pthread_mutex_init")
| `- error: cannot find 'pthread_mutex_init' in scope
31 | }
32 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:35:30: error: cannot find 'pthread_mutex_destroy' in scope
33 | @inlinable @inline(__always)
34 | deinit {
35 | _HANDLE_PTHREAD_CALL(pthread_mutex_destroy(&mutex), "pthread_mutex_destroy")
| `- error: cannot find 'pthread_mutex_destroy' in scope
36 | }
37 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:40:30: error: cannot find 'pthread_mutex_lock' in scope
38 | @inlinable @inline(__always)
39 | func lock() {
40 | _HANDLE_PTHREAD_CALL(pthread_mutex_lock(&mutex), "pthread_mutex_lock")
| `- error: cannot find 'pthread_mutex_lock' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:45:30: error: cannot find 'pthread_mutex_unlock' in scope
43 | @inlinable @inline(__always)
44 | func unlock() {
45 | _HANDLE_PTHREAD_CALL(pthread_mutex_unlock(&mutex), "pthread_mutex_unlock")
| `- error: cannot find 'pthread_mutex_unlock' in scope
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:61:43: error: cannot find type 'pthread_mutex_t' in scope
59 | @inlinable @inline(__always)
60 | init() {
61 | self.mutex = UnsafeMutablePointer<pthread_mutex_t>.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
62 | _HANDLE_PTHREAD_CALL(pthread_mutex_init(mutex, RecursiveLock.attr), "pthread_mutex_init")
63 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:62:30: error: cannot find 'pthread_mutex_init' in scope
60 | init() {
61 | self.mutex = UnsafeMutablePointer<pthread_mutex_t>.allocate(capacity: 1)
62 | _HANDLE_PTHREAD_CALL(pthread_mutex_init(mutex, RecursiveLock.attr), "pthread_mutex_init")
| `- error: cannot find 'pthread_mutex_init' in scope
63 | }
64 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:67:30: error: cannot find 'pthread_mutex_destroy' in scope
65 | @inlinable @inline(__always)
66 | deinit {
67 | _HANDLE_PTHREAD_CALL(pthread_mutex_destroy(mutex), "pthread_mutex_destroy")
| `- error: cannot find 'pthread_mutex_destroy' in scope
68 | }
69 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:72:30: error: cannot find 'pthread_mutex_lock' in scope
70 | @inlinable @inline(__always)
71 | func lock() {
72 | _HANDLE_PTHREAD_CALL(pthread_mutex_lock(mutex), "pthread_mutex_lock")
| `- error: cannot find 'pthread_mutex_lock' in scope
73 | }
74 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:77:30: error: cannot find 'pthread_mutex_unlock' in scope
75 | @inlinable @inline(__always)
76 | func unlock() {
77 | _HANDLE_PTHREAD_CALL(pthread_mutex_unlock(mutex), "pthread_mutex_unlock")
| `- error: cannot find 'pthread_mutex_unlock' in scope
78 | }
79 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:84:68: error: cannot find 'strerror' in scope
82 | func _HANDLE_PTHREAD_CALL(_ res: Int32, _ funcname: @autoclosure () -> StaticString) {
83 | if res != 0 {
84 | fatalError("\(funcname()) failed: \(String(validatingUTF8: strerror(res)) ?? "Unkown Error")")
| `- error: cannot find 'strerror' in scope
85 | }
86 | }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[8/27] Compiling lib0 LZObservableObject.swift
/host/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:9:8: error: no such module 'Combine'
7 |
8 | import Foundation
9 | import Combine
| `- error: no such module 'Combine'
10 |
11 | open class LZObservableObject {
[9/30] Compiling Promise Promise+Cancel.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:13:8: error: Unsupported platform
11 | import Glibc // for Linux
12 | #else
13 | #error("Unsupported platform")
| `- error: Unsupported platform
14 | #endif
15 |
[10/30] Compiling Promise Promise+Combination.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:13:8: error: Unsupported platform
11 | import Glibc // for Linux
12 | #else
13 | #error("Unsupported platform")
| `- error: Unsupported platform
14 | #endif
15 |
[11/30] Compiling Promise Promise+Concurrency.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:13:8: error: Unsupported platform
11 | import Glibc // for Linux
12 | #else
13 | #error("Unsupported platform")
| `- error: Unsupported platform
14 | #endif
15 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:18:54: error: cannot find type 'pthread_mutexattr_t' in scope
16 | @usableFromInline final class Lock {
17 | #if DEBUG
18 | @usableFromInline static let attr: UnsafePointer<pthread_mutexattr_t> = {
| `- error: cannot find type 'pthread_mutexattr_t' in scope
19 | let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
20 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:26:35: error: cannot find 'pthread_mutex_t' in scope
24 | #endif
25 |
26 | @usableFromInline var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
27 |
28 | @inlinable @inline(__always)
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:51:41: error: cannot find type 'pthread_mutexattr_t' in scope
49 | @usableFromInline final class RecursiveLock {
50 | @usableFromInline static let attr = {
51 | let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutexattr_t' in scope
52 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
53 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE), "pthread_mutexattr_settype")
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:52:30: error: cannot find 'pthread_mutexattr_init' in scope
50 | @usableFromInline static let attr = {
51 | let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
52 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
| `- error: cannot find 'pthread_mutexattr_init' in scope
53 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE), "pthread_mutexattr_settype")
54 | return UnsafePointer(attr)
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:53:30: error: cannot find 'pthread_mutexattr_settype' in scope
51 | let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
52 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
53 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE), "pthread_mutexattr_settype")
| `- error: cannot find 'pthread_mutexattr_settype' in scope
54 | return UnsafePointer(attr)
55 | }()
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:53:62: error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
51 | let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
52 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
53 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE), "pthread_mutexattr_settype")
| `- error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
54 | return UnsafePointer(attr)
55 | }()
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:57:55: error: cannot find type 'pthread_mutex_t' in scope
55 | }()
56 |
57 | @usableFromInline var mutex: UnsafeMutablePointer<pthread_mutex_t>
| `- error: cannot find type 'pthread_mutex_t' in scope
58 |
59 | @inlinable @inline(__always)
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:30:30: error: cannot find 'pthread_mutex_init' in scope
28 | @inlinable @inline(__always)
29 | init() {
30 | _HANDLE_PTHREAD_CALL(pthread_mutex_init(&mutex, Lock.attr), "pthread_mutex_init")
| `- error: cannot find 'pthread_mutex_init' in scope
31 | }
32 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:35:30: error: cannot find 'pthread_mutex_destroy' in scope
33 | @inlinable @inline(__always)
34 | deinit {
35 | _HANDLE_PTHREAD_CALL(pthread_mutex_destroy(&mutex), "pthread_mutex_destroy")
| `- error: cannot find 'pthread_mutex_destroy' in scope
36 | }
37 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:40:30: error: cannot find 'pthread_mutex_lock' in scope
38 | @inlinable @inline(__always)
39 | func lock() {
40 | _HANDLE_PTHREAD_CALL(pthread_mutex_lock(&mutex), "pthread_mutex_lock")
| `- error: cannot find 'pthread_mutex_lock' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:45:30: error: cannot find 'pthread_mutex_unlock' in scope
43 | @inlinable @inline(__always)
44 | func unlock() {
45 | _HANDLE_PTHREAD_CALL(pthread_mutex_unlock(&mutex), "pthread_mutex_unlock")
| `- error: cannot find 'pthread_mutex_unlock' in scope
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:61:43: error: cannot find type 'pthread_mutex_t' in scope
59 | @inlinable @inline(__always)
60 | init() {
61 | self.mutex = UnsafeMutablePointer<pthread_mutex_t>.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
62 | _HANDLE_PTHREAD_CALL(pthread_mutex_init(mutex, RecursiveLock.attr), "pthread_mutex_init")
63 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:62:30: error: cannot find 'pthread_mutex_init' in scope
60 | init() {
61 | self.mutex = UnsafeMutablePointer<pthread_mutex_t>.allocate(capacity: 1)
62 | _HANDLE_PTHREAD_CALL(pthread_mutex_init(mutex, RecursiveLock.attr), "pthread_mutex_init")
| `- error: cannot find 'pthread_mutex_init' in scope
63 | }
64 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:67:30: error: cannot find 'pthread_mutex_destroy' in scope
65 | @inlinable @inline(__always)
66 | deinit {
67 | _HANDLE_PTHREAD_CALL(pthread_mutex_destroy(mutex), "pthread_mutex_destroy")
| `- error: cannot find 'pthread_mutex_destroy' in scope
68 | }
69 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:72:30: error: cannot find 'pthread_mutex_lock' in scope
70 | @inlinable @inline(__always)
71 | func lock() {
72 | _HANDLE_PTHREAD_CALL(pthread_mutex_lock(mutex), "pthread_mutex_lock")
| `- error: cannot find 'pthread_mutex_lock' in scope
73 | }
74 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:77:30: error: cannot find 'pthread_mutex_unlock' in scope
75 | @inlinable @inline(__always)
76 | func unlock() {
77 | _HANDLE_PTHREAD_CALL(pthread_mutex_unlock(mutex), "pthread_mutex_unlock")
| `- error: cannot find 'pthread_mutex_unlock' in scope
78 | }
79 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:84:68: error: cannot find 'strerror' in scope
82 | func _HANDLE_PTHREAD_CALL(_ res: Int32, _ funcname: @autoclosure () -> StaticString) {
83 | if res != 0 {
84 | fatalError("\(funcname()) failed: \(String(validatingUTF8: strerror(res)) ?? "Unkown Error")")
| `- error: cannot find 'strerror' in scope
85 | }
86 | }
[12/30] Compiling Promise Lock.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:13:8: error: Unsupported platform
11 | import Glibc // for Linux
12 | #else
13 | #error("Unsupported platform")
| `- error: Unsupported platform
14 | #endif
15 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:18:54: error: cannot find type 'pthread_mutexattr_t' in scope
16 | @usableFromInline final class Lock {
17 | #if DEBUG
18 | @usableFromInline static let attr: UnsafePointer<pthread_mutexattr_t> = {
| `- error: cannot find type 'pthread_mutexattr_t' in scope
19 | let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
20 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:26:35: error: cannot find 'pthread_mutex_t' in scope
24 | #endif
25 |
26 | @usableFromInline var mutex = pthread_mutex_t()
| `- error: cannot find 'pthread_mutex_t' in scope
27 |
28 | @inlinable @inline(__always)
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:51:41: error: cannot find type 'pthread_mutexattr_t' in scope
49 | @usableFromInline final class RecursiveLock {
50 | @usableFromInline static let attr = {
51 | let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutexattr_t' in scope
52 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
53 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE), "pthread_mutexattr_settype")
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:52:30: error: cannot find 'pthread_mutexattr_init' in scope
50 | @usableFromInline static let attr = {
51 | let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
52 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
| `- error: cannot find 'pthread_mutexattr_init' in scope
53 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE), "pthread_mutexattr_settype")
54 | return UnsafePointer(attr)
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:53:30: error: cannot find 'pthread_mutexattr_settype' in scope
51 | let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
52 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
53 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE), "pthread_mutexattr_settype")
| `- error: cannot find 'pthread_mutexattr_settype' in scope
54 | return UnsafePointer(attr)
55 | }()
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:53:62: error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
51 | let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
52 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
53 | _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE), "pthread_mutexattr_settype")
| `- error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
54 | return UnsafePointer(attr)
55 | }()
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:57:55: error: cannot find type 'pthread_mutex_t' in scope
55 | }()
56 |
57 | @usableFromInline var mutex: UnsafeMutablePointer<pthread_mutex_t>
| `- error: cannot find type 'pthread_mutex_t' in scope
58 |
59 | @inlinable @inline(__always)
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:30:30: error: cannot find 'pthread_mutex_init' in scope
28 | @inlinable @inline(__always)
29 | init() {
30 | _HANDLE_PTHREAD_CALL(pthread_mutex_init(&mutex, Lock.attr), "pthread_mutex_init")
| `- error: cannot find 'pthread_mutex_init' in scope
31 | }
32 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:35:30: error: cannot find 'pthread_mutex_destroy' in scope
33 | @inlinable @inline(__always)
34 | deinit {
35 | _HANDLE_PTHREAD_CALL(pthread_mutex_destroy(&mutex), "pthread_mutex_destroy")
| `- error: cannot find 'pthread_mutex_destroy' in scope
36 | }
37 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:40:30: error: cannot find 'pthread_mutex_lock' in scope
38 | @inlinable @inline(__always)
39 | func lock() {
40 | _HANDLE_PTHREAD_CALL(pthread_mutex_lock(&mutex), "pthread_mutex_lock")
| `- error: cannot find 'pthread_mutex_lock' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:45:30: error: cannot find 'pthread_mutex_unlock' in scope
43 | @inlinable @inline(__always)
44 | func unlock() {
45 | _HANDLE_PTHREAD_CALL(pthread_mutex_unlock(&mutex), "pthread_mutex_unlock")
| `- error: cannot find 'pthread_mutex_unlock' in scope
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:61:43: error: cannot find type 'pthread_mutex_t' in scope
59 | @inlinable @inline(__always)
60 | init() {
61 | self.mutex = UnsafeMutablePointer<pthread_mutex_t>.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
62 | _HANDLE_PTHREAD_CALL(pthread_mutex_init(mutex, RecursiveLock.attr), "pthread_mutex_init")
63 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:62:30: error: cannot find 'pthread_mutex_init' in scope
60 | init() {
61 | self.mutex = UnsafeMutablePointer<pthread_mutex_t>.allocate(capacity: 1)
62 | _HANDLE_PTHREAD_CALL(pthread_mutex_init(mutex, RecursiveLock.attr), "pthread_mutex_init")
| `- error: cannot find 'pthread_mutex_init' in scope
63 | }
64 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:67:30: error: cannot find 'pthread_mutex_destroy' in scope
65 | @inlinable @inline(__always)
66 | deinit {
67 | _HANDLE_PTHREAD_CALL(pthread_mutex_destroy(mutex), "pthread_mutex_destroy")
| `- error: cannot find 'pthread_mutex_destroy' in scope
68 | }
69 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:72:30: error: cannot find 'pthread_mutex_lock' in scope
70 | @inlinable @inline(__always)
71 | func lock() {
72 | _HANDLE_PTHREAD_CALL(pthread_mutex_lock(mutex), "pthread_mutex_lock")
| `- error: cannot find 'pthread_mutex_lock' in scope
73 | }
74 |
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:77:30: error: cannot find 'pthread_mutex_unlock' in scope
75 | @inlinable @inline(__always)
76 | func unlock() {
77 | _HANDLE_PTHREAD_CALL(pthread_mutex_unlock(mutex), "pthread_mutex_unlock")
| `- error: cannot find 'pthread_mutex_unlock' in scope
78 | }
79 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:84:68: error: cannot find 'strerror' in scope
82 | func _HANDLE_PTHREAD_CALL(_ res: Int32, _ funcname: @autoclosure () -> StaticString) {
83 | if res != 0 {
84 | fatalError("\(funcname()) failed: \(String(validatingUTF8: strerror(res)) ?? "Unkown Error")")
| `- error: cannot find 'strerror' in scope
85 | }
86 | }
[13/30] Compiling lib0 LZEncoder.swift
/host/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:9:8: error: no such module 'Combine'
7 |
8 | import Foundation
9 | import Combine
| `- error: no such module 'Combine'
10 |
11 | open class LZObservableObject {
[14/30] Compiling lib0 LZEncoder+Swift.swift
/host/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:9:8: error: no such module 'Combine'
7 |
8 | import Foundation
9 | import Combine
| `- error: no such module 'Combine'
10 |
11 | open class LZObservableObject {
[15/30] Compiling Promise Promise+Debug.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:13:8: error: Unsupported platform
11 | import Glibc // for Linux
12 | #else
13 | #error("Unsupported platform")
| `- error: Unsupported platform
14 | #endif
15 |
[16/30] Compiling Promise Promise+Init.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:13:8: error: Unsupported platform
11 | import Glibc // for Linux
12 | #else
13 | #error("Unsupported platform")
| `- error: Unsupported platform
14 | #endif
15 |
[17/30] Compiling Promise Promise+Operators.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:13:8: error: Unsupported platform
11 | import Glibc // for Linux
12 | #else
13 | #error("Unsupported platform")
| `- error: Unsupported platform
14 | #endif
15 |
[18/30] Compiling Promise Promise+OptionalResolve.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:13:8: error: Unsupported platform
11 | import Glibc // for Linux
12 | #else
13 | #error("Unsupported platform")
| `- error: Unsupported platform
14 | #endif
15 |
[19/30] Compiling Promise Promise+Timeout.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:13:8: error: Unsupported platform
11 | import Glibc // for Linux
12 | #else
13 | #error("Unsupported platform")
| `- error: Unsupported platform
14 | #endif
15 |
/host/spi-builder-workspace/.build/checkouts/Promise/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 | @inlinable public func data(for url: URL) -> Promise<Data, Error> {
13 | self.fetch(url).map{ $0.1 }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:46:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | extension Data {
45 | @inlinable public static func async(contentsOf url: URL) -> Promise<Data, Error> {
46 | URLSession.shared.data(for: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 | }
48 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:16:46: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | @inlinable public func data(for request: URLRequest) -> Promise<Data, Error> {
| `- error: cannot find type 'URLRequest' in scope
17 | self.fetch(request).map{ $0.1 }
18 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:24:45: error: cannot find type 'URLRequest' in scope
22 | }
23 |
24 | @inlinable public func fetch(_ request: URLRequest) -> Promise<(URLResponse, Data), Error> {
| `- error: cannot find type 'URLRequest' in scope
25 | let promise = Promise<(URLResponse, Data), Error>()
26 |
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[20/30] Compiling Promise Promise+URLSession.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:13:8: error: Unsupported platform
11 | import Glibc // for Linux
12 | #else
13 | #error("Unsupported platform")
| `- error: Unsupported platform
14 | #endif
15 |
/host/spi-builder-workspace/.build/checkouts/Promise/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 | @inlinable public func data(for url: URL) -> Promise<Data, Error> {
13 | self.fetch(url).map{ $0.1 }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:46:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | extension Data {
45 | @inlinable public static func async(contentsOf url: URL) -> Promise<Data, Error> {
46 | URLSession.shared.data(for: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 | }
48 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:16:46: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | @inlinable public func data(for request: URLRequest) -> Promise<Data, Error> {
| `- error: cannot find type 'URLRequest' in scope
17 | self.fetch(request).map{ $0.1 }
18 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:24:45: error: cannot find type 'URLRequest' in scope
22 | }
23 |
24 | @inlinable public func fetch(_ request: URLRequest) -> Promise<(URLResponse, Data), Error> {
| `- error: cannot find type 'URLRequest' in scope
25 | let promise = Promise<(URLResponse, Data), Error>()
26 |
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[21/30] Compiling Promise Promise+Wait.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:13:8: error: Unsupported platform
11 | import Glibc // for Linux
12 | #else
13 | #error("Unsupported platform")
| `- error: Unsupported platform
14 | #endif
15 |
[22/30] Compiling Promise Promise+Combine.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:13:8: error: Unsupported platform
11 | import Glibc // for Linux
12 | #else
13 | #error("Unsupported platform")
| `- error: Unsupported platform
14 | #endif
15 |
[23/30] Compiling lib0 LZDecoder.swift
/host/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:9:8: error: no such module 'Combine'
7 |
8 | import Foundation
9 | import Combine
| `- error: no such module 'Combine'
10 |
11 | open class LZObservableObject {
[24/30] Compiling lib0 LZDecoderError.swift
/host/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:9:8: error: no such module 'Combine'
7 |
8 | import Foundation
9 | import Combine
| `- error: no such module 'Combine'
10 |
11 | open class LZObservableObject {
[25/30] Compiling lib0 Observable.swift
/host/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:9:8: error: no such module 'Combine'
7 |
8 | import Foundation
9 | import Combine
| `- error: no such module 'Combine'
10 |
11 | open class LZObservableObject {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/30] Emitting module lib0
/host/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:9:8: error: no such module 'Combine'
7 |
8 | import Foundation
9 | import Combine
| `- error: no such module 'Combine'
10 |
11 | open class LZObservableObject {
[27/30] Compiling lib0 LZCoder+Swift.swift
/host/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:9:8: error: no such module 'Combine'
7 |
8 | import Foundation
9 | import Combine
| `- error: no such module 'Combine'
10 |
11 | open class LZObservableObject {
[28/30] Compiling lib0 LZDecoder+Swift.swift
/host/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:9:8: error: no such module 'Combine'
7 |
8 | import Foundation
9 | import Combine
| `- error: no such module 'Combine'
10 |
11 | open class LZObservableObject {
[29/30] Compiling Promise Promise+Util.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:13:8: error: Unsupported platform
11 | import Glibc // for Linux
12 | #else
13 | #error("Unsupported platform")
| `- error: Unsupported platform
14 | #endif
15 |
[30/30] Compiling Promise Promise.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:13:8: error: Unsupported platform
11 | import Glibc // for Linux
12 | #else
13 | #error("Unsupported platform")
| `- error: Unsupported platform
14 | #endif
15 |
BUILD FAILURE 6.2 android