Build Information
Failed to build EasyNodeEditor, reference v0.3.0 (82c0f1
), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 20:59:25 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yukiny0811/easy-node-editor.git
Reference: v0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yukiny0811/easy-node-editor
* tag v0.3.0 -> FETCH_HEAD
HEAD is now at 82c0f17 Update README.md
Cloned https://github.com/yukiny0811/easy-node-editor.git
Revision (git rev-parse @):
82c0f17e2b0c9ed1a6cb0a134d1754a3ba657a46
SUCCESS checkout https://github.com/yukiny0811/easy-node-editor.git at v0.3.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/yukiny0811/easy-node-editor.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/20] Compiling EasyNodeEditor CGPoint+.swift
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/Extensions/CGPoint+.swift:10:1: warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
8 | import Foundation
9 |
10 | extension CGPoint: AdditiveArithmetic {
| |- warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 | public static func - (lhs: CGPoint, rhs: CGPoint) -> CGPoint {
12 | return CGPoint(x: lhs.x - rhs.x, y: lhs.y - rhs.y)
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/Extensions/CGPoint+.swift:10:1: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | extension CGPoint: AdditiveArithmetic {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'CoreGraphics' will be added implicitly
11 | public static func - (lhs: CGPoint, rhs: CGPoint) -> CGPoint {
12 | return CGPoint(x: lhs.x - rhs.x, y: lhs.y - rhs.y)
[4/20] Compiling EasyNodeEditor CGSize+.swift
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/Extensions/CGPoint+.swift:10:1: warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
8 | import Foundation
9 |
10 | extension CGPoint: AdditiveArithmetic {
| |- warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 | public static func - (lhs: CGPoint, rhs: CGPoint) -> CGPoint {
12 | return CGPoint(x: lhs.x - rhs.x, y: lhs.y - rhs.y)
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/Extensions/CGPoint+.swift:10:1: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | extension CGPoint: AdditiveArithmetic {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'CoreGraphics' will be added implicitly
11 | public static func - (lhs: CGPoint, rhs: CGPoint) -> CGPoint {
12 | return CGPoint(x: lhs.x - rhs.x, y: lhs.y - rhs.y)
[5/20] Compiling EasyNodeEditor Input.swift
[6/20] Compiling EasyNodeEditor Middle.swift
[7/21] Compiling EasyNodeEditor NodeModelBase.swift
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/Core/NodeModelBase.swift:48:41: warning: non-constant range: argument must be an integer literal
46 | return AnyView(
47 | VStack(alignment: .center, spacing: 0) {
48 | ForEach (0..<inputArray.count) { i in
| `- warning: non-constant range: argument must be an integer literal
49 | InputNode(idString: (nodeID: self.id, inputName: inputArray[i]), editorConfig: self.editorConfig)
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/Core/NodeModelBase.swift:53:42: warning: non-constant range: argument must be an integer literal
51 | Text(self.displayTitle())
52 | wrapMiddleContent()
53 | ForEach (0..<outputArray.count) { o in
| `- warning: non-constant range: argument must be an integer literal
54 | OutputNode(idString: (nodeID: self.id, outputName: outputArray[o]), editorConfig: self.editorConfig)
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:101:5: warning: 'open' modifier conflicts with extension's default access of 'fileprivate'
99 |
100 | fileprivate extension NSTableView {
101 | open override func viewDidMoveToWindow() {
| `- warning: 'open' modifier conflicts with extension's default access of 'fileprivate'
102 | super.viewDidMoveToWindow()
103 | backgroundColor = NSColor.clear
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:56:64: warning: non-constant range: argument must be an integer literal
54 | }
55 | )
56 | ForEach(0..<Array(Mirror(reflecting: nm).children).count) { i in
| `- warning: non-constant range: argument must be an integer literal
57 | Line(nm: nm, i: i, editorConfig: editorConfig)
58 | .frame(width: editorConfig.editorWidth, height: editorConfig.editorHeight, alignment: .trailing)
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:83:47: warning: non-constant range: argument must be an integer literal
81 | }
82 | List {
83 | ForEach(0..<nodeTypes.count) { i in
| `- warning: non-constant range: argument must be an integer literal
84 | NodeMenuContent(nodeType: nodeTypes[i], editorConfig: editorConfig)
85 | .padding(EdgeInsets(top: 0, leading: 10, bottom: 0, trailing: 10))
[8/21] Compiling EasyNodeEditor EasyNodeEditor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/Core/NodeModelBase.swift:48:41: warning: non-constant range: argument must be an integer literal
46 | return AnyView(
47 | VStack(alignment: .center, spacing: 0) {
48 | ForEach (0..<inputArray.count) { i in
| `- warning: non-constant range: argument must be an integer literal
49 | InputNode(idString: (nodeID: self.id, inputName: inputArray[i]), editorConfig: self.editorConfig)
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/Core/NodeModelBase.swift:53:42: warning: non-constant range: argument must be an integer literal
51 | Text(self.displayTitle())
52 | wrapMiddleContent()
53 | ForEach (0..<outputArray.count) { o in
| `- warning: non-constant range: argument must be an integer literal
54 | OutputNode(idString: (nodeID: self.id, outputName: outputArray[o]), editorConfig: self.editorConfig)
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:101:5: warning: 'open' modifier conflicts with extension's default access of 'fileprivate'
99 |
100 | fileprivate extension NSTableView {
101 | open override func viewDidMoveToWindow() {
| `- warning: 'open' modifier conflicts with extension's default access of 'fileprivate'
102 | super.viewDidMoveToWindow()
103 | backgroundColor = NSColor.clear
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:56:64: warning: non-constant range: argument must be an integer literal
54 | }
55 | )
56 | ForEach(0..<Array(Mirror(reflecting: nm).children).count) { i in
| `- warning: non-constant range: argument must be an integer literal
57 | Line(nm: nm, i: i, editorConfig: editorConfig)
58 | .frame(width: editorConfig.editorWidth, height: editorConfig.editorHeight, alignment: .trailing)
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:83:47: warning: non-constant range: argument must be an integer literal
81 | }
82 | List {
83 | ForEach(0..<nodeTypes.count) { i in
| `- warning: non-constant range: argument must be an integer literal
84 | NodeMenuContent(nodeType: nodeTypes[i], editorConfig: editorConfig)
85 | .padding(EdgeInsets(top: 0, leading: 10, bottom: 0, trailing: 10))
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/21] Compiling EasyNodeEditor EditorConfig.swift
[10/21] Compiling EasyNodeEditor EasyNodeManager.swift
[11/21] Emitting module EasyNodeEditor
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:101:5: warning: 'open' modifier conflicts with extension's default access of 'fileprivate'
99 |
100 | fileprivate extension NSTableView {
101 | open override func viewDidMoveToWindow() {
| `- warning: 'open' modifier conflicts with extension's default access of 'fileprivate'
102 | super.viewDidMoveToWindow()
103 | backgroundColor = NSColor.clear
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/Extensions/CGPoint+.swift:10:1: warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
8 | import Foundation
9 |
10 | extension CGPoint: AdditiveArithmetic {
| |- warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 | public static func - (lhs: CGPoint, rhs: CGPoint) -> CGPoint {
12 | return CGPoint(x: lhs.x - rhs.x, y: lhs.y - rhs.y)
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/Extensions/CGPoint+.swift:10:1: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | extension CGPoint: AdditiveArithmetic {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'CoreGraphics' will be added implicitly
11 | public static func - (lhs: CGPoint, rhs: CGPoint) -> CGPoint {
12 | return CGPoint(x: lhs.x - rhs.x, y: lhs.y - rhs.y)
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/Line.swift:15:6: error: 'StateObject' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct Line: View, Identifiable {
| `- note: add @available attribute to enclosing struct
11 | let id = UUID()
12 | let nm: NodeModelBase
13 | let i: Int
14 | let editorConfig: EditorConfig
15 | @StateObject var manager = EasyNodeManager.shared
| `- error: 'StateObject' is only available in macOS 11.0 or newer
16 | var body: some View {
17 | VStack(alignment: .leading, spacing: 0) { () -> AnyView in
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/NodeMenuContent.swift:14:6: error: 'StateObject' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct NodeMenuContent: View, Identifiable {
| `- note: add @available attribute to enclosing struct
11 | let id = UUID()
12 | let nodeType: NodeModelBase.Type
13 | let editorConfig: EditorConfig
14 | @StateObject var manager = EasyNodeManager.shared
| `- error: 'StateObject' is only available in macOS 11.0 or newer
15 | var body: some View {
16 | HStack {
[12/21] Compiling EasyNodeEditor Output.swift
[13/21] Compiling EasyNodeEditor NSTouchEventView.swift
[14/21] Compiling EasyNodeEditor String+.swift
[15/21] Compiling EasyNodeEditor InputNode.swift
[16/21] Compiling EasyNodeEditor OutputNode.swift
[17/21] Compiling EasyNodeEditor TestModel.swift
[18/21] Compiling EasyNodeEditor Node.swift
[19/21] Compiling EasyNodeEditor TouchEventView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/Line.swift:15:6: error: 'StateObject' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct Line: View, Identifiable {
| `- note: add @available attribute to enclosing struct
11 | let id = UUID()
12 | let nm: NodeModelBase
13 | let i: Int
14 | let editorConfig: EditorConfig
15 | @StateObject var manager = EasyNodeManager.shared
| `- error: 'StateObject' is only available in macOS 11.0 or newer
16 | var body: some View {
17 | VStack(alignment: .leading, spacing: 0) { () -> AnyView in
[20/21] Compiling EasyNodeEditor Line.swift
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/Line.swift:15:6: error: 'StateObject' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct Line: View, Identifiable {
| `- note: add @available attribute to enclosing struct
11 | let id = UUID()
12 | let nm: NodeModelBase
13 | let i: Int
14 | let editorConfig: EditorConfig
15 | @StateObject var manager = EasyNodeManager.shared
| `- error: 'StateObject' is only available in macOS 11.0 or newer
16 | var body: some View {
17 | VStack(alignment: .leading, spacing: 0) { () -> AnyView in
[21/21] Compiling EasyNodeEditor NodeMenuContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/NodeMenuContent.swift:14:6: error: 'StateObject' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct NodeMenuContent: View, Identifiable {
| `- note: add @available attribute to enclosing struct
11 | let id = UUID()
12 | let nodeType: NodeModelBase.Type
13 | let editorConfig: EditorConfig
14 | @StateObject var manager = EasyNodeManager.shared
| `- error: 'StateObject' is only available in macOS 11.0 or newer
15 | var body: some View {
16 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/NodeMenuContent.swift:22:44: warning: forced cast of 'String' to same type has no effect
20 | Button("add") {
21 | let temp = nodeType.init(editorConfig: editorConfig)
22 | manager.nodeModels[temp.id as! String] = temp
| `- warning: forced cast of 'String' to same type has no effect
23 | }
24 | }
BUILD FAILURE 6.2 macosSpm