Build Information
Failed to build AsyncMonitor, reference main (352800), with Swift 6.1 for Android on 16 Jul 2026 16:34:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/samsonjs/AsyncMonitor.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/samsonjs/AsyncMonitor
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3528003 Fix resource warning
Cloned https://github.com/samsonjs/AsyncMonitor.git
Revision (git rev-parse @):
3528003d57f70075c37478a8f7745cfcd8979e25
SUCCESS checkout https://github.com/samsonjs/AsyncMonitor.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/samsonjs/AsyncMonitor.git
https://github.com/samsonjs/AsyncMonitor.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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 saguaro1/spi-images
Digest: sha256:365d9b14669f92fea0572234887def10439445c91d7e524c78a6579ad7294f11
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Emitting module AsyncMonitor
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:42:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
40 | func values<Value: Sendable>(
41 | for keyPath: KeyPath<Self, Value>,
42 | options: NSKeyValueObservingOptions = []
| `- error: cannot find type 'NSKeyValueObservingOptions' in scope
43 | ) -> AsyncStream<Value> {
44 | let (stream, continuation) = AsyncStream<Value>.makeStream()
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:102:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
100 | func monitorValues<Value: Sendable>(
101 | for keyPath: KeyPath<Self, Value>,
102 | options: NSKeyValueObservingOptions = [],
| `- error: cannot find type 'NSKeyValueObservingOptions' in scope
103 | changeHandler: @escaping (Value) -> Void
104 | ) -> any AsyncCancellable {
[4/9] Compiling AsyncMonitor AsyncCancellable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/9] Compiling AsyncMonitor AnyAsyncCancellable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/9] Compiling AsyncMonitor ValueLocker.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/9] Compiling AsyncMonitor AsyncSequence+Extensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/9] Compiling AsyncMonitor AsyncMonitor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/9] Compiling AsyncMonitor NSObject+AsyncKVO.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:42:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
40 | func values<Value: Sendable>(
41 | for keyPath: KeyPath<Self, Value>,
42 | options: NSKeyValueObservingOptions = []
| `- error: cannot find type 'NSKeyValueObservingOptions' in scope
43 | ) -> AsyncStream<Value> {
44 | let (stream, continuation) = AsyncStream<Value>.makeStream()
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:102:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
100 | func monitorValues<Value: Sendable>(
101 | for keyPath: KeyPath<Self, Value>,
102 | options: NSKeyValueObservingOptions = [],
| `- error: cannot find type 'NSKeyValueObservingOptions' in scope
103 | changeHandler: @escaping (Value) -> Void
104 | ) -> any AsyncCancellable {
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:45:20: error: cannot find type 'NSKeyValueObservation' in scope
43 | ) -> AsyncStream<Value> {
44 | let (stream, continuation) = AsyncStream<Value>.makeStream()
45 | let token: NSKeyValueObservation? = self.observe(keyPath, options: options) { object, _ in
| `- error: cannot find type 'NSKeyValueObservation' in scope
46 | continuation.yield(object[keyPath: keyPath])
47 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:365d9b14669f92fea0572234887def10439445c91d7e524c78a6579ad7294f11
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling AsyncMonitor ValueLocker.swift
[3/8] Compiling AsyncMonitor AsyncSequence+Extensions.swift
[4/8] Compiling AsyncMonitor NSObject+AsyncKVO.swift
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:42:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
40 | func values<Value: Sendable>(
41 | for keyPath: KeyPath<Self, Value>,
42 | options: NSKeyValueObservingOptions = []
| `- error: cannot find type 'NSKeyValueObservingOptions' in scope
43 | ) -> AsyncStream<Value> {
44 | let (stream, continuation) = AsyncStream<Value>.makeStream()
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:102:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
100 | func monitorValues<Value: Sendable>(
101 | for keyPath: KeyPath<Self, Value>,
102 | options: NSKeyValueObservingOptions = [],
| `- error: cannot find type 'NSKeyValueObservingOptions' in scope
103 | changeHandler: @escaping (Value) -> Void
104 | ) -> any AsyncCancellable {
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:45:20: error: cannot find type 'NSKeyValueObservation' in scope
43 | ) -> AsyncStream<Value> {
44 | let (stream, continuation) = AsyncStream<Value>.makeStream()
45 | let token: NSKeyValueObservation? = self.observe(keyPath, options: options) { object, _ in
| `- error: cannot find type 'NSKeyValueObservation' in scope
46 | continuation.yield(object[keyPath: keyPath])
47 | }
[5/8] Compiling AsyncMonitor AnyAsyncCancellable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Compiling AsyncMonitor AsyncCancellable.swift
[7/8] Compiling AsyncMonitor AsyncMonitor.swift
[8/8] Emitting module AsyncMonitor
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:42:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
40 | func values<Value: Sendable>(
41 | for keyPath: KeyPath<Self, Value>,
42 | options: NSKeyValueObservingOptions = []
| `- error: cannot find type 'NSKeyValueObservingOptions' in scope
43 | ) -> AsyncStream<Value> {
44 | let (stream, continuation) = AsyncStream<Value>.makeStream()
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:102:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
100 | func monitorValues<Value: Sendable>(
101 | for keyPath: KeyPath<Self, Value>,
102 | options: NSKeyValueObservingOptions = [],
| `- error: cannot find type 'NSKeyValueObservingOptions' in scope
103 | changeHandler: @escaping (Value) -> Void
104 | ) -> any AsyncCancellable {
BUILD FAILURE 6.1 android