The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AsyncMonitor, reference 0.3.1 (d622d3), with Swift 6.3 for Android on 16 Apr 2026 07:01:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/samsonjs/AsyncMonitor.git
Reference: 0.3.1
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
 * tag               0.3.1      -> FETCH_HEAD
HEAD is now at d622d32 Update Readme.md
Cloned https://github.com/samsonjs/AsyncMonitor.git
Revision (git rev-parse @):
d622d32134e6f4bfa5de3f0cd3a33a98a8154b7a
SUCCESS checkout https://github.com/samsonjs/AsyncMonitor.git at 0.3.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/samsonjs/AsyncMonitor.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4F562202D5529B1.txt
[3/9] Compiling AsyncMonitor AsyncMonitor.swift
/host/spi-builder-workspace/Sources/AsyncMonitor/AsyncMonitor.swift:50:42: warning: capture of non-Sendable type 'Sequence.AsyncIterator.Type' in an isolated closure [#SendableMetatypes]
48 |         self.task = Task {
49 |             do {
50 |                 for try await element in sequence {
   |                                          `- warning: capture of non-Sendable type 'Sequence.AsyncIterator.Type' in an isolated closure [#SendableMetatypes]
51 |                     await block(element)
52 |                 }
/host/spi-builder-workspace/Sources/AsyncMonitor/AsyncMonitor.swift:50:42: warning: capture of non-Sendable type 'Sequence.Type' in an isolated closure [#SendableMetatypes]
48 |         self.task = Task {
49 |             do {
50 |                 for try await element in sequence {
   |                                          `- warning: capture of non-Sendable type 'Sequence.Type' in an isolated closure [#SendableMetatypes]
51 |                     await block(element)
52 |                 }
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[4/9] Compiling AsyncMonitor AsyncSequence+Extensions.swift
[5/9] Compiling AsyncMonitor AsyncCancellable.swift
[6/9] Compiling AsyncMonitor AnyAsyncCancellable.swift
[7/9] Compiling AsyncMonitor NSObject+AsyncKVO.swift
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:13:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
11 |     func values<Value: Sendable>(
12 |         for keyPath: KeyPath<Self, Value>,
13 |         options: NSKeyValueObservingOptions = []
   |                  `- error: cannot find type 'NSKeyValueObservingOptions' in scope
14 |     ) -> AsyncStream<Value> {
15 |         let (stream, continuation) = AsyncStream<Value>.makeStream()
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:38:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
36 |     func monitorValues<Value: Sendable>(
37 |         for keyPath: KeyPath<Self, Value>,
38 |         options: NSKeyValueObservingOptions = [],
   |                  `- error: cannot find type 'NSKeyValueObservingOptions' in scope
39 |         changeHandler: @escaping (Value) -> Void
40 |     ) -> any AsyncCancellable {
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:56:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
54 |     func monitorValues<Value: Sendable>(
55 |         for keyPath: KeyPath<Self, Value>,
56 |         options: NSKeyValueObservingOptions = [],
   |                  `- error: cannot find type 'NSKeyValueObservingOptions' in scope
57 |         changeHandler: @escaping @Sendable (Value) -> Void
58 |     ) -> any AsyncCancellable {
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:16:20: error: cannot find type 'NSKeyValueObservation' in scope
14 |     ) -> AsyncStream<Value> {
15 |         let (stream, continuation) = AsyncStream<Value>.makeStream()
16 |         let token: NSKeyValueObservation? = self.observe(keyPath, options: options) { object, _ in
   |                    `- error: cannot find type 'NSKeyValueObservation' in scope
17 |             continuation.yield(object[keyPath: keyPath])
18 |         }
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:16:50: error: value of type 'Self' has no member 'observe'
14 |     ) -> AsyncStream<Value> {
15 |         let (stream, continuation) = AsyncStream<Value>.makeStream()
16 |         let token: NSKeyValueObservation? = self.observe(keyPath, options: options) { object, _ in
   |                                                  `- error: value of type 'Self' has no member 'observe'
17 |             continuation.yield(object[keyPath: keyPath])
18 |         }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/9] Emitting module AsyncMonitor
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:13:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
11 |     func values<Value: Sendable>(
12 |         for keyPath: KeyPath<Self, Value>,
13 |         options: NSKeyValueObservingOptions = []
   |                  `- error: cannot find type 'NSKeyValueObservingOptions' in scope
14 |     ) -> AsyncStream<Value> {
15 |         let (stream, continuation) = AsyncStream<Value>.makeStream()
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:38:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
36 |     func monitorValues<Value: Sendable>(
37 |         for keyPath: KeyPath<Self, Value>,
38 |         options: NSKeyValueObservingOptions = [],
   |                  `- error: cannot find type 'NSKeyValueObservingOptions' in scope
39 |         changeHandler: @escaping (Value) -> Void
40 |     ) -> any AsyncCancellable {
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:56:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
54 |     func monitorValues<Value: Sendable>(
55 |         for keyPath: KeyPath<Self, Value>,
56 |         options: NSKeyValueObservingOptions = [],
   |                  `- error: cannot find type 'NSKeyValueObservingOptions' in scope
57 |         changeHandler: @escaping @Sendable (Value) -> Void
58 |     ) -> any AsyncCancellable {
[9/9] Compiling AsyncMonitor ValueLocker.swift
BUILD FAILURE 6.3 android