Build Information
Failed to build AsyncMonitor, reference main (bb8d04
), with Swift 6.1 for Wasm on 13 Jun 2025 23:45:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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 bb8d04b Document everything (#2)
Cloned https://github.com/samsonjs/AsyncMonitor.git
Revision (git rev-parse @):
bb8d04b54f8b527a70df6d8490e1734172853b55
SUCCESS checkout https://github.com/samsonjs/AsyncMonitor.git at main
========================================
Build
========================================
Selected platform: wasm
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
{
"dependencies" : [
],
"manifest_display_name" : "AsyncMonitor",
"name" : "AsyncMonitor",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "AsyncMonitor",
"targets" : [
"AsyncMonitor"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncMonitorTests",
"module_type" : "SwiftTarget",
"name" : "AsyncMonitorTests",
"path" : "Tests/AsyncMonitorTests",
"sources" : [
"AnyAsyncCancellableTests.swift",
"AsyncCancellableTests.swift",
"AsyncMonitorTests.swift",
"AsyncSequence+Just.swift",
"NSObject+AsyncKVOTests.swift",
"ReadmeExamples.swift",
"TestCancellable.swift"
],
"target_dependencies" : [
"AsyncMonitor"
],
"type" : "test"
},
{
"c99name" : "AsyncMonitor",
"module_type" : "SwiftTarget",
"name" : "AsyncMonitor",
"path" : "Sources/AsyncMonitor",
"product_memberships" : [
"AsyncMonitor"
],
"sources" : [
"AnyAsyncCancellable.swift",
"AsyncCancellable.swift",
"AsyncMonitor.swift",
"AsyncSequence+Extensions.swift",
"NSObject+AsyncKVO.swift",
"ValueLocker.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:1f4a86c2403dd7f046762c8271002f713e736861711b4d7bb001b0e60ed1e881
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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
/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:103:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
101 | func monitorValues<Value: Sendable>(
102 | for keyPath: KeyPath<Self, Value>,
103 | options: NSKeyValueObservingOptions = [],
| `- error: cannot find type 'NSKeyValueObservingOptions' in scope
104 | changeHandler: @escaping (Value) -> Void
105 | ) -> any AsyncCancellable {
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:146:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
144 | func monitorValues<Value: Sendable>(
145 | for keyPath: KeyPath<Self, Value>,
146 | options: NSKeyValueObservingOptions = [],
| `- error: cannot find type 'NSKeyValueObservingOptions' in scope
147 | changeHandler: @escaping @Sendable (Value) -> Void
148 | ) -> any AsyncCancellable {
[4/9] Compiling AsyncMonitor AsyncCancellable.swift
[5/9] Compiling AsyncMonitor AnyAsyncCancellable.swift
[6/9] Compiling AsyncMonitor AsyncSequence+Extensions.swift
[7/9] Compiling AsyncMonitor AsyncMonitor.swift
[8/9] Compiling AsyncMonitor ValueLocker.swift
[9/9] 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:103:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
101 | func monitorValues<Value: Sendable>(
102 | for keyPath: KeyPath<Self, Value>,
103 | options: NSKeyValueObservingOptions = [],
| `- error: cannot find type 'NSKeyValueObservingOptions' in scope
104 | changeHandler: @escaping (Value) -> Void
105 | ) -> any AsyncCancellable {
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:146:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
144 | func monitorValues<Value: Sendable>(
145 | for keyPath: KeyPath<Self, Value>,
146 | options: NSKeyValueObservingOptions = [],
| `- error: cannot find type 'NSKeyValueObservingOptions' in scope
147 | changeHandler: @escaping @Sendable (Value) -> Void
148 | ) -> 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-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:1f4a86c2403dd7f046762c8271002f713e736861711b4d7bb001b0e60ed1e881
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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 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:103:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
101 | func monitorValues<Value: Sendable>(
102 | for keyPath: KeyPath<Self, Value>,
103 | options: NSKeyValueObservingOptions = [],
| `- error: cannot find type 'NSKeyValueObservingOptions' in scope
104 | changeHandler: @escaping (Value) -> Void
105 | ) -> any AsyncCancellable {
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:146:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
144 | func monitorValues<Value: Sendable>(
145 | for keyPath: KeyPath<Self, Value>,
146 | options: NSKeyValueObservingOptions = [],
| `- error: cannot find type 'NSKeyValueObservingOptions' in scope
147 | changeHandler: @escaping @Sendable (Value) -> Void
148 | ) -> 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 | }
[4/8] Compiling AsyncMonitor AsyncCancellable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/8] Compiling AsyncMonitor AnyAsyncCancellable.swift
[6/8] Compiling AsyncMonitor AsyncSequence+Extensions.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:103:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
101 | func monitorValues<Value: Sendable>(
102 | for keyPath: KeyPath<Self, Value>,
103 | options: NSKeyValueObservingOptions = [],
| `- error: cannot find type 'NSKeyValueObservingOptions' in scope
104 | changeHandler: @escaping (Value) -> Void
105 | ) -> any AsyncCancellable {
/host/spi-builder-workspace/Sources/AsyncMonitor/NSObject+AsyncKVO.swift:146:18: error: cannot find type 'NSKeyValueObservingOptions' in scope
144 | func monitorValues<Value: Sendable>(
145 | for keyPath: KeyPath<Self, Value>,
146 | options: NSKeyValueObservingOptions = [],
| `- error: cannot find type 'NSKeyValueObservingOptions' in scope
147 | changeHandler: @escaping @Sendable (Value) -> Void
148 | ) -> any AsyncCancellable {
BUILD FAILURE 6.1 wasm