Build Information
Failed to build swift-configs, reference main (7a8422), with Swift 6.2 for Android on 20 Apr 2026 02:51:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/swift-configs.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/dankinsoid/swift-configs
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7a84224 mock services
Cloned https://github.com/dankinsoid/swift-configs.git
Revision (git rev-parse @):
7a84224775e4c6aef3fb2e10db04b72a9247a51b
SUCCESS checkout https://github.com/dankinsoid/swift-configs.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/dankinsoid/swift-configs.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--11D90AFD9DD3AB2.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/29] Emitting module SwiftConfigs
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[4/32] Compiling SwiftConfigs StoreRegistry.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[5/32] Compiling SwiftConfigs UbiquitousKeyValueStoreConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[6/32] Compiling SwiftConfigs UserDefaultsConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[7/32] Compiling SwiftConfigs ConfigWrapper.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[8/32] Compiling SwiftConfigs Configs.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[9/32] Compiling SwiftConfigs ConfigsAsyncSequences.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[10/32] Compiling SwiftConfigs ConfigsCancellation.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[11/32] Compiling SwiftConfigs ConfigState.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[12/32] Compiling SwiftConfigs ConfigStore.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[13/32] Compiling SwiftConfigs ConfigStoreObserver.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[14/32] Compiling SwiftConfigs ConfigTransformer.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[15/32] Compiling SwiftConfigs MultiplexConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[16/32] Compiling SwiftConfigs NOOPConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[17/32] Compiling SwiftConfigs PrefixConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[18/32] Compiling SwiftConfigs ConfigCategory.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[19/32] Compiling SwiftConfigs ConfigFail.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[20/32] Compiling SwiftConfigs ConfigKey+constant.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[21/32] Compiling SwiftConfigs ConfigKey.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[22/32] Compiling SwiftConfigs ConfigsNamespace.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[23/32] Compiling SwiftConfigs ConfigsProtocol.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[24/32] Compiling SwiftConfigs ConfigsSystem.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[25/32] Compiling SwiftConfigs ConfigsType.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[26/32] Compiling SwiftConfigs Locks.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:68:23: error: cannot find 'pthread_rwlock_init' in scope
66 | InitializeSRWLock(rwlock)
67 | #else
68 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
69 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
70 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:68:51: error: 'nil' requires a contextual type
66 | InitializeSRWLock(rwlock)
67 | #else
68 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
69 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
70 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:80:23: error: cannot find 'pthread_rwlock_destroy' in scope
78 | self.rwlock.deallocate()
79 | #else
80 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
81 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
82 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:97:23: error: cannot find 'pthread_rwlock_rdlock' in scope
95 | shared = true
96 | #else
97 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
98 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
99 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:113:23: error: cannot find 'pthread_rwlock_wrlock' in scope
111 | shared = false
112 | #else
113 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
114 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
115 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:133:23: error: cannot find 'pthread_rwlock_unlock' in scope
131 | }
132 | #else
133 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
134 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
135 | #endif
[27/32] Compiling SwiftConfigs MigrationConfigKey.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:68:23: error: cannot find 'pthread_rwlock_init' in scope
66 | InitializeSRWLock(rwlock)
67 | #else
68 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
69 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
70 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:68:51: error: 'nil' requires a contextual type
66 | InitializeSRWLock(rwlock)
67 | #else
68 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
69 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
70 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:80:23: error: cannot find 'pthread_rwlock_destroy' in scope
78 | self.rwlock.deallocate()
79 | #else
80 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
81 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
82 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:97:23: error: cannot find 'pthread_rwlock_rdlock' in scope
95 | shared = true
96 | #else
97 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
98 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
99 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:113:23: error: cannot find 'pthread_rwlock_wrlock' in scope
111 | shared = false
112 | #else
113 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
114 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
115 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:133:23: error: cannot find 'pthread_rwlock_unlock' in scope
131 | }
132 | #else
133 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
134 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
135 | #endif
[28/32] Compiling SwiftConfigs MigrationConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:68:23: error: cannot find 'pthread_rwlock_init' in scope
66 | InitializeSRWLock(rwlock)
67 | #else
68 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
69 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
70 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:68:51: error: 'nil' requires a contextual type
66 | InitializeSRWLock(rwlock)
67 | #else
68 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
69 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
70 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:80:23: error: cannot find 'pthread_rwlock_destroy' in scope
78 | self.rwlock.deallocate()
79 | #else
80 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
81 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
82 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:97:23: error: cannot find 'pthread_rwlock_rdlock' in scope
95 | shared = true
96 | #else
97 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
98 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
99 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:113:23: error: cannot find 'pthread_rwlock_wrlock' in scope
111 | shared = false
112 | #else
113 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
114 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
115 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:133:23: error: cannot find 'pthread_rwlock_unlock' in scope
131 | }
132 | #else
133 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
134 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
135 | #endif
[29/32] Compiling SwiftConfigs EnvironmentVariableConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[30/32] Compiling SwiftConfigs InMemoryConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[31/32] Compiling SwiftConfigs InfoPlistConfigStore.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
[32/32] Compiling SwiftConfigs KeychainConfigs.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
BUILD FAILURE 6.2 android