Build Information
Failed to build AsyncMonitor, reference 0.3.1 (d622d3), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 07:10:08 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build 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 /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "asyncmonitor",
"name": "AsyncMonitor",
"url": "https://github.com/samsonjs/AsyncMonitor.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AsyncMonitor",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/samsonjs/AsyncMonitor.git
[1/137] Fetching asyncmonitor
Fetched https://github.com/samsonjs/AsyncMonitor.git from cache (0.67s)
Creating working copy for https://github.com/samsonjs/AsyncMonitor.git
Working copy of https://github.com/samsonjs/AsyncMonitor.git resolved at 0.3.1 (d622d32)
warning: '.resolve-product-dependencies': dependency 'asyncmonitor' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/samsonjs/AsyncMonitor.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Compiling AsyncMonitor AsyncCancellable.swift
[4/9] Compiling AsyncMonitor ValueLocker.swift
[5/9] Emitting module AsyncMonitor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncMonitor/AsyncMonitor.swift:26:46: error: 'Failure' is only available in macOS 15.0 or newer
11 | /// .store(in: &cancellables)
12 | /// ```
13 | public final class AsyncMonitor: Hashable, AsyncCancellable {
| `- note: add '@available' attribute to enclosing class
14 | let task: Task<Void, Never>
15 |
:
22 | /// - block: A closure to execute for each element yielded by the sequence.
23 | @available(iOS 18, *)
24 | public init<Element: Sendable>(
| `- note: add '@available' attribute to enclosing initializer
25 | isolation: isolated (any Actor)? = #isolation,
26 | sequence: any AsyncSequence<Element, Never>,
| `- error: 'Failure' is only available in macOS 15.0 or newer
27 | performing block: @escaping (Element) async -> Void
28 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncMonitor/AsyncSequence+Extensions.swift:2:57: error: 'Failure' is only available in macOS 15.0 or newer
1 | @available(iOS 18, *)
2 | public extension AsyncSequence where Element: Sendable, Failure == Never {
| | `- error: 'Failure' is only available in macOS 15.0 or newer
| `- note: add '@available' attribute to enclosing extension
3 | /// Observes the elements yielded by this sequence and executes the given closure with each element.
4 | ///
[6/9] Compiling AsyncMonitor NSObject+AsyncKVO.swift
[7/9] Compiling AsyncMonitor AnyAsyncCancellable.swift
[8/9] Compiling AsyncMonitor AsyncSequence+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncMonitor/AsyncSequence+Extensions.swift:2:57: error: 'Failure' is only available in macOS 15.0 or newer
1 | @available(iOS 18, *)
2 | public extension AsyncSequence where Element: Sendable, Failure == Never {
| | `- error: 'Failure' is only available in macOS 15.0 or newer
| `- note: add '@available' attribute to enclosing extension
3 | /// Observes the elements yielded by this sequence and executes the given closure with each element.
4 | ///
[9/9] Compiling AsyncMonitor AsyncMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncMonitor/AsyncMonitor.swift:26:46: error: 'Failure' is only available in macOS 15.0 or newer
11 | /// .store(in: &cancellables)
12 | /// ```
13 | public final class AsyncMonitor: Hashable, AsyncCancellable {
| `- note: add '@available' attribute to enclosing class
14 | let task: Task<Void, Never>
15 |
:
22 | /// - block: A closure to execute for each element yielded by the sequence.
23 | @available(iOS 18, *)
24 | public init<Element: Sendable>(
| `- note: add '@available' attribute to enclosing initializer
25 | isolation: isolated (any Actor)? = #isolation,
26 | sequence: any AsyncSequence<Element, Never>,
| `- error: 'Failure' is only available in macOS 15.0 or newer
27 | performing block: @escaping (Element) async -> Void
28 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncMonitor/AsyncMonitor.swift:32:17: error: call can throw, but the error is not handled
30 | _ = isolation // use capture trick to inherit isolation
31 |
32 | for await element in sequence {
| `- error: call can throw, but the error is not handled
33 | await block(element)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncMonitor/AsyncMonitor.swift:32:13: error: errors thrown from here are not handled
30 | _ = isolation // use capture trick to inherit isolation
31 |
32 | for await element in sequence {
| `- error: errors thrown from here are not handled
33 | await block(element)
34 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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>
BUILD FAILURE 6.3 macosSpm