Build Information
Failed to build swiftui-object-edge, reference main (284858
), with Swift 6.0 for macOS (SPM) on 2 Feb 2025 14:58:27 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FluidGroup/swiftui-object-edge.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FluidGroup/swiftui-object-edge
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2848582 Update README.md
Cloned https://github.com/FluidGroup/swiftui-object-edge.git
Revision (git rev-parse @):
2848582ee253565ff8d529506e0988b2d2c4404a
SUCCESS checkout https://github.com/FluidGroup/swiftui-object-edge.git at main
========================================
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",
"dependencies": [
{
"identity": "swiftui-object-edge",
"name": "swiftui-object-edge",
"url": "https://github.com/FluidGroup/swiftui-object-edge.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftui-object-edge",
"dependencies": [
]
}
]
}
Fetching https://github.com/FluidGroup/swiftui-object-edge.git
[1/22] Fetching swiftui-object-edge
Fetched https://github.com/FluidGroup/swiftui-object-edge.git from cache (0.66s)
Creating working copy for https://github.com/FluidGroup/swiftui-object-edge.git
Working copy of https://github.com/FluidGroup/swiftui-object-edge.git resolved at main (2848582)
warning: '.resolve-product-dependencies': dependency 'swiftui-object-edge' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/FluidGroup/swiftui-object-edge.git
https://github.com/FluidGroup/swiftui-object-edge.git
{
"dependencies" : [
],
"manifest_display_name" : "swiftui-object-edge",
"name" : "swiftui-object-edge",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "ObjectEdge",
"targets" : [
"ObjectEdge"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ObjectEdgeTests",
"module_type" : "SwiftTarget",
"name" : "ObjectEdgeTests",
"path" : "Tests/ObjectEdgeTests",
"sources" : [
"swiftui_object_edgeTests.swift"
],
"target_dependencies" : [
"ObjectEdge"
],
"type" : "test"
},
{
"c99name" : "ObjectEdge",
"module_type" : "SwiftTarget",
"name" : "ObjectEdge",
"path" : "Sources/ObjectEdge",
"product_memberships" : [
"ObjectEdge"
],
"sources" : [
"ObjectEdge.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module ObjectEdge
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:10:4: error: 'State' is only available in macOS 10.15 or newer
6 | */
7 | @propertyWrapper
8 | public struct ObjectEdge<O>: DynamicProperty {
| `- note: add @available attribute to enclosing generic struct
9 |
10 | @State private var box: Box<O> = .init()
| `- error: 'State' is only available in macOS 10.15 or newer
11 |
12 | public var wrappedValue: O {
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:36:2: error: 'Observable()' is only available in macOS 14.0 or newer
34 |
35 | @available(iOS 17, *)
36 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
37 | private final class Model {
38 |
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:39:3: note: expanded code originates here
35 | @available(iOS 17, *)
36 | @Observable
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
40 |
41 | func up() {
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:36:2: error: 'Observable()' is only available in macOS 14.0 or newer
34 |
35 | @available(iOS 17, *)
36 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:44:1: note: expanded code originates here
35 | @available(iOS 17, *)
36 | @Observable
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
:
42 | count += 1
43 | }
44 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
45 |
46 | @available(iOS 17, *)
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:39:21: note: expanded code originates here
35 | @available(iOS 17, *)
36 | @Observable
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _count: Int = 0
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
40 |
41 | func up() {
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:44:1: note: expanded code originates here
35 | @available(iOS 17, *)
36 | @Observable
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
:
42 | count += 1
43 | }
44 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
45 |
46 | @available(iOS 17, *)
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:36:2: error: 'Observable()' is only available in macOS 14.0 or newer
34 |
35 | @available(iOS 17, *)
36 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:51:18: error: 'View' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:63:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
61 |
62 | @available(iOS 17, *)
63 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
64 | Demo()
65 | }
[4/4] Compiling ObjectEdge ObjectEdge.swift
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:10:4: error: 'State' is only available in macOS 10.15 or newer
6 | */
7 | @propertyWrapper
8 | public struct ObjectEdge<O>: DynamicProperty {
| `- note: add @available attribute to enclosing generic struct
9 |
10 | @State private var box: Box<O> = .init()
| `- error: 'State' is only available in macOS 10.15 or newer
11 |
12 | public var wrappedValue: O {
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:36:2: error: 'Observable()' is only available in macOS 14.0 or newer
34 |
35 | @available(iOS 17, *)
36 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
37 | private final class Model {
38 |
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:39:3: note: expanded code originates here
35 | @available(iOS 17, *)
36 | @Observable
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
40 |
41 | func up() {
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:36:2: error: 'Observable()' is only available in macOS 14.0 or newer
34 |
35 | @available(iOS 17, *)
36 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:44:1: note: expanded code originates here
35 | @available(iOS 17, *)
36 | @Observable
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
:
42 | count += 1
43 | }
44 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
45 |
46 | @available(iOS 17, *)
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:39:21: note: expanded code originates here
35 | @available(iOS 17, *)
36 | @Observable
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _count: Int = 0
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
40 |
41 | func up() {
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:44:1: note: expanded code originates here
35 | @available(iOS 17, *)
36 | @Observable
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
:
42 | count += 1
43 | }
44 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
45 |
46 | @available(iOS 17, *)
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:36:2: error: 'Observable()' is only available in macOS 14.0 or newer
34 |
35 | @available(iOS 17, *)
36 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:51:18: error: 'View' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:63:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
61 |
62 | @available(iOS 17, *)
63 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
64 | Demo()
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:53:5: error: 'VStack' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | Text("\(model.count)")
55 | Button("Up") {
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:53:12: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | Text("\(model.count)")
55 | Button("Up") {
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:54:7: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
54 | Text("\(model.count)")
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | Button("Up") {
56 | model.up()
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:54:7: error: 'Text' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
54 | Text("\(model.count)")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | Button("Up") {
56 | model.up()
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:55:7: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
54 | Text("\(model.count)")
55 | Button("Up") {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | model.up()
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:55:7: error: 'Button' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
54 | Text("\(model.count)")
55 | Button("Up") {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | model.up()
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:55:7: error: 'init(_:action:)' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
54 | Text("\(model.count)")
55 | Button("Up") {
| |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | model.up()
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:55:14: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
54 | Text("\(model.count)")
55 | Button("Up") {
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | model.up()
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:53:12: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | Text("\(model.count)")
55 | Button("Up") {
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:53:12: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | Text("\(model.count)")
55 | Button("Up") {
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module ObjectEdge
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:10:4: error: 'State' is only available in macOS 10.15 or newer
6 | */
7 | @propertyWrapper
8 | public struct ObjectEdge<O>: DynamicProperty {
| `- note: add @available attribute to enclosing generic struct
9 |
10 | @State private var box: Box<O> = .init()
| `- error: 'State' is only available in macOS 10.15 or newer
11 |
12 | public var wrappedValue: O {
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:36:2: error: 'Observable()' is only available in macOS 14.0 or newer
34 |
35 | @available(iOS 17, *)
36 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
37 | private final class Model {
38 |
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:39:3: note: expanded code originates here
35 | @available(iOS 17, *)
36 | @Observable
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
40 |
41 | func up() {
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:36:2: error: 'Observable()' is only available in macOS 14.0 or newer
34 |
35 | @available(iOS 17, *)
36 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:44:1: note: expanded code originates here
35 | @available(iOS 17, *)
36 | @Observable
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
:
42 | count += 1
43 | }
44 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
45 |
46 | @available(iOS 17, *)
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:39:21: note: expanded code originates here
35 | @available(iOS 17, *)
36 | @Observable
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _count: Int = 0
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
40 |
41 | func up() {
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:44:1: note: expanded code originates here
35 | @available(iOS 17, *)
36 | @Observable
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
:
42 | count += 1
43 | }
44 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
45 |
46 | @available(iOS 17, *)
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:36:2: error: 'Observable()' is only available in macOS 14.0 or newer
34 |
35 | @available(iOS 17, *)
36 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:51:18: error: 'View' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:63:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
61 |
62 | @available(iOS 17, *)
63 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
64 | Demo()
65 | }
[3/3] Compiling ObjectEdge ObjectEdge.swift
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:10:4: error: 'State' is only available in macOS 10.15 or newer
6 | */
7 | @propertyWrapper
8 | public struct ObjectEdge<O>: DynamicProperty {
| `- note: add @available attribute to enclosing generic struct
9 |
10 | @State private var box: Box<O> = .init()
| `- error: 'State' is only available in macOS 10.15 or newer
11 |
12 | public var wrappedValue: O {
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:36:2: error: 'Observable()' is only available in macOS 14.0 or newer
34 |
35 | @available(iOS 17, *)
36 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
37 | private final class Model {
38 |
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:39:3: note: expanded code originates here
35 | @available(iOS 17, *)
36 | @Observable
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
40 |
41 | func up() {
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:36:2: error: 'Observable()' is only available in macOS 14.0 or newer
34 |
35 | @available(iOS 17, *)
36 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:44:1: note: expanded code originates here
35 | @available(iOS 17, *)
36 | @Observable
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
:
42 | count += 1
43 | }
44 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
45 |
46 | @available(iOS 17, *)
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:39:21: note: expanded code originates here
35 | @available(iOS 17, *)
36 | @Observable
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _count: Int = 0
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
40 |
41 | func up() {
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:44:1: note: expanded code originates here
35 | @available(iOS 17, *)
36 | @Observable
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
:
42 | count += 1
43 | }
44 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
45 |
46 | @available(iOS 17, *)
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:36:2: error: 'Observable()' is only available in macOS 14.0 or newer
34 |
35 | @available(iOS 17, *)
36 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
37 | private final class Model {
| `- note: add @available attribute to enclosing class
38 |
39 | var count: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:51:18: error: 'View' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:63:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
61 |
62 | @available(iOS 17, *)
63 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
64 | Demo()
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:53:5: error: 'VStack' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | Text("\(model.count)")
55 | Button("Up") {
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:53:12: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | Text("\(model.count)")
55 | Button("Up") {
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:54:7: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
54 | Text("\(model.count)")
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | Button("Up") {
56 | model.up()
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:54:7: error: 'Text' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
54 | Text("\(model.count)")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | Button("Up") {
56 | model.up()
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:55:7: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
54 | Text("\(model.count)")
55 | Button("Up") {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | model.up()
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:55:7: error: 'Button' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
54 | Text("\(model.count)")
55 | Button("Up") {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | model.up()
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:55:7: error: 'init(_:action:)' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
54 | Text("\(model.count)")
55 | Button("Up") {
| |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | model.up()
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:55:14: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
54 | Text("\(model.count)")
55 | Button("Up") {
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | model.up()
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:53:12: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | Text("\(model.count)")
55 | Button("Up") {
/Users/admin/builder/spi-builder-workspace/Sources/ObjectEdge/ObjectEdge.swift:53:12: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
45 |
46 | @available(iOS 17, *)
47 | private struct Demo: View {
| `- note: add @available attribute to enclosing struct
48 |
49 | @ObjectEdge var model: Model = .init()
50 |
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 |
53 | VStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | Text("\(model.count)")
55 | Button("Up") {
BUILD FAILURE 6.0 macosSpm