Build Information
Failed to build Dripper, reference 0.0.1 (2958d9
), with Swift 6.0 for macOS (SPM) on 26 Sep 2024 12:54:17 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/musicspot24/Dripper.git
Reference: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/musicspot24/Dripper
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at 2958d92 📝 Update README.md
Cloned https://github.com/musicspot24/Dripper.git
Revision (git rev-parse @):
2958d923f618f8fa3b93fb86121927eaae441bc7
SUCCESS checkout https://github.com/musicspot24/Dripper.git at 0.0.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/musicspot24/Dripper.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4A847ED0836F2485.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Compiling Dripper TestStation.swift
[4/9] Emitting module Dripper
/Users/admin/builder/spi-builder-workspace/Sources/Dripper/Drip.swift:10:27: error: 'Observable' is only available in macOS 14.0 or newer
8 | import Foundation
9 |
10 | public struct Drip<State: Observable, Action>: Dripper {
| | `- error: 'Observable' is only available in macOS 14.0 or newer
| `- note: add @available attribute to enclosing generic struct
11 |
12 | // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Dripper/Dripper.swift:15:27: error: 'Observable' is only available in macOS 14.0 or newer
12 | // MARK: - Dripper
13 |
14 | public protocol Dripper<State, Action> {
| `- note: add @available attribute to enclosing protocol
15 | associatedtype State: Observable
| | `- error: 'Observable' is only available in macOS 14.0 or newer
| `- note: add @available attribute to enclosing associated type
16 | associatedtype Action
17 | associatedtype Body
/Users/admin/builder/spi-builder-workspace/Sources/Dripper/DripperBuilder.swift:11:35: error: 'Observable' is only available in macOS 14.0 or newer
9 |
10 | @resultBuilder
11 | public enum DripperBuilder<State: Observable, Action> {
| | `- error: 'Observable' is only available in macOS 14.0 or newer
| `- note: add @available attribute to enclosing generic enum
12 | @inlinable
13 | public static func buildBlock<D: Dripper<State, Action>>(_ dripper: D) -> D {
/Users/admin/builder/spi-builder-workspace/Sources/Dripper/Station.swift:16:35: error: 'Observable' is only available in macOS 14.0 or newer
14 | @dynamicMemberLookup
15 | @MainActor
16 | public final class Station<State: Observable, Action> {
| | `- error: 'Observable' is only available in macOS 14.0 or newer
| `- note: add @available attribute to enclosing generic class
17 |
18 | // MARK: Properties
[5/9] Compiling Dripper Effect.swift
[6/9] Compiling Dripper Station.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dripper/Station.swift:16:35: error: 'Observable' is only available in macOS 14.0 or newer
14 | @dynamicMemberLookup
15 | @MainActor
16 | public final class Station<State: Observable, Action> {
| | `- error: 'Observable' is only available in macOS 14.0 or newer
| `- note: add @available attribute to enclosing generic class
17 |
18 | // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Dripper/Station.swift:53:9: error: 'Task' is only available in macOS 10.15 or newer
14 | @dynamicMemberLookup
15 | @MainActor
16 | public final class Station<State: Observable, Action> {
| `- note: add @available attribute to enclosing generic class
17 |
18 | // MARK: Properties
:
48 | // MARK: Functions
49 |
50 | public func pour(_ action: Action) {
| `- note: add @available attribute to enclosing instance method
51 | let effect = dripper.drip(state, action)
52 | // FIXME: Currently, side effect is called no matter it's empty or not.
53 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | try await effect.run { action in
55 | pour(action)
/Users/admin/builder/spi-builder-workspace/Sources/Dripper/Station.swift:53:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
14 | @dynamicMemberLookup
15 | @MainActor
16 | public final class Station<State: Observable, Action> {
| `- note: add @available attribute to enclosing generic class
17 |
18 | // MARK: Properties
:
48 | // MARK: Functions
49 |
50 | public func pour(_ action: Action) {
| `- note: add @available attribute to enclosing instance method
51 | let effect = dripper.drip(state, action)
52 | // FIXME: Currently, side effect is called no matter it's empty or not.
53 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | try await effect.run { action in
55 | pour(action)
[7/9] Compiling Dripper Drip.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dripper/Drip.swift:10:27: error: 'Observable' is only available in macOS 14.0 or newer
8 | import Foundation
9 |
10 | public struct Drip<State: Observable, Action>: Dripper {
| | `- error: 'Observable' is only available in macOS 14.0 or newer
| `- note: add @available attribute to enclosing generic struct
11 |
12 | // MARK: Properties
[8/9] Compiling Dripper DripperBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dripper/DripperBuilder.swift:11:35: error: 'Observable' is only available in macOS 14.0 or newer
9 |
10 | @resultBuilder
11 | public enum DripperBuilder<State: Observable, Action> {
| | `- error: 'Observable' is only available in macOS 14.0 or newer
| `- note: add @available attribute to enclosing generic enum
12 | @inlinable
13 | public static func buildBlock<D: Dripper<State, Action>>(_ dripper: D) -> D {
[9/9] Compiling Dripper Dripper.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dripper/Dripper.swift:15:27: error: 'Observable' is only available in macOS 14.0 or newer
12 | // MARK: - Dripper
13 |
14 | public protocol Dripper<State, Action> {
| `- note: add @available attribute to enclosing protocol
15 | associatedtype State: Observable
| | `- error: 'Observable' is only available in macOS 14.0 or newer
| `- note: add @available attribute to enclosing associated type
16 | associatedtype Action
17 | associatedtype Body
BUILD FAILURE 6.0 macosSpm