The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EasyNodeEditor, reference main (1f7b87), with Swift 6.3 for macOS (SPM) on 20 Apr 2026 18:35:13 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yukiny0811/easy-node-editor.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yukiny0811/easy-node-editor
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1f7b87b Update README_JAPANESE.md
Cloned https://github.com/yukiny0811/easy-node-editor.git
Revision (git rev-parse @):
1f7b87bb78032f6043a3908f746efd7b2dd4b0d2
SUCCESS checkout https://github.com/yukiny0811/easy-node-editor.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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "easy-node-editor",
      "name": "EasyNodeEditor",
      "url": "https://github.com/yukiny0811/easy-node-editor.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/easy-node-editor",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/yukiny0811/easy-node-editor.git
[1/399] Fetching easy-node-editor
Fetched https://github.com/yukiny0811/easy-node-editor.git from cache (0.73s)
Creating working copy for https://github.com/yukiny0811/easy-node-editor.git
Working copy of https://github.com/yukiny0811/easy-node-editor.git resolved at main (1f7b87b)
warning: '.resolve-product-dependencies': dependency 'easy-node-editor' 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/yukiny0811/easy-node-editor.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/20] Compiling EasyNodeEditor OutputNode.swift
[4/20] Compiling EasyNodeEditor TestModel.swift
[5/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)
[6/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)
[7/20] Compiling EasyNodeEditor Node.swift
[8/20] Compiling EasyNodeEditor EditorConfig.swift
[9/20] Compiling EasyNodeEditor EasyNodeManager.swift
[10/20] 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))
[11/20] 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))
[12/20] 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 {
[13/20] Compiling EasyNodeEditor Output.swift
[14/20] Compiling EasyNodeEditor NSTouchEventView.swift
[15/20] Compiling EasyNodeEditor String+.swift
[16/20] Compiling EasyNodeEditor InputNode.swift
[17/20] Compiling EasyNodeEditor Input.swift
[18/20] Compiling EasyNodeEditor Middle.swift
[19/20] 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/20] 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.3 macosSpm