The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EasyNodeEditor with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yukiny0811/easy-node-editor.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "easy-node-editor",
      "name": "EasyNodeEditor",
      "url": "https://github.com/yukiny0811/easy-node-editor.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/easy-node-editor",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/yukiny0811/easy-node-editor.git
[1/395] Fetching easy-node-editor
Fetched https://github.com/yukiny0811/easy-node-editor.git (0.24s)
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
warning: '.resolve-product-dependencies': dependency 'easy-node-editor' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/17] Compiling EasyNodeEditor String+.swift
[2/17] Compiling EasyNodeEditor InputNode.swift
[3/17] Compiling EasyNodeEditor Input.swift
[4/17] Compiling EasyNodeEditor Middle.swift
[5/17] Compiling EasyNodeEditor OutputNode.swift
[6/17] Compiling EasyNodeEditor TestModel.swift
[7/17] Compiling EasyNodeEditor EasyNodeEditor.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:101:5: warning: 'open' modifier conflicts with extension's default access of 'fileprivate'
    open override func viewDidMoveToWindow() {
    ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:56:64: warning: non-constant range: argument must be an integer literal
            ForEach(0..<Array(Mirror(reflecting: nm).children).count) { i in
                                                               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:83:47: warning: non-constant range: argument must be an integer literal
                        ForEach(0..<nodeTypes.count) { i in
                                              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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 Swift 6
extension CGPoint: AdditiveArithmetic {
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/Extensions/CGPoint+.swift:10:1: note: The missing import of module 'CoreGraphics' will be added implicitly
extension CGPoint: AdditiveArithmetic {
^
[8/17] Compiling EasyNodeEditor CGPoint+.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:101:5: warning: 'open' modifier conflicts with extension's default access of 'fileprivate'
    open override func viewDidMoveToWindow() {
    ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:56:64: warning: non-constant range: argument must be an integer literal
            ForEach(0..<Array(Mirror(reflecting: nm).children).count) { i in
                                                               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:83:47: warning: non-constant range: argument must be an integer literal
                        ForEach(0..<nodeTypes.count) { i in
                                              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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 Swift 6
extension CGPoint: AdditiveArithmetic {
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/Extensions/CGPoint+.swift:10:1: note: The missing import of module 'CoreGraphics' will be added implicitly
extension CGPoint: AdditiveArithmetic {
^
[9/17] Compiling EasyNodeEditor CGSize+.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:101:5: warning: 'open' modifier conflicts with extension's default access of 'fileprivate'
    open override func viewDidMoveToWindow() {
    ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:56:64: warning: non-constant range: argument must be an integer literal
            ForEach(0..<Array(Mirror(reflecting: nm).children).count) { i in
                                                               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:83:47: warning: non-constant range: argument must be an integer literal
                        ForEach(0..<nodeTypes.count) { i in
                                              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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 Swift 6
extension CGPoint: AdditiveArithmetic {
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/Extensions/CGPoint+.swift:10:1: note: The missing import of module 'CoreGraphics' will be added implicitly
extension CGPoint: AdditiveArithmetic {
^
[10/17] Compiling EasyNodeEditor EditorConfig.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/Core/NodeModelBase.swift:48:41: warning: non-constant range: argument must be an integer literal
                ForEach (0..<inputArray.count) { i in
                                        ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/Core/NodeModelBase.swift:53:42: warning: non-constant range: argument must be an integer literal
                ForEach (0..<outputArray.count) { o in
                                         ^
[11/17] Compiling EasyNodeEditor EasyNodeManager.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/Core/NodeModelBase.swift:48:41: warning: non-constant range: argument must be an integer literal
                ForEach (0..<inputArray.count) { i in
                                        ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/Core/NodeModelBase.swift:53:42: warning: non-constant range: argument must be an integer literal
                ForEach (0..<outputArray.count) { o in
                                         ^
[12/17] Compiling EasyNodeEditor NodeModelBase.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/Core/NodeModelBase.swift:48:41: warning: non-constant range: argument must be an integer literal
                ForEach (0..<inputArray.count) { i in
                                        ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/Core/NodeModelBase.swift:53:42: warning: non-constant range: argument must be an integer literal
                ForEach (0..<outputArray.count) { o in
                                         ^
[13/17] Emitting module EasyNodeEditor
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:101:5: warning: 'open' modifier conflicts with extension's default access of 'fileprivate'
    open override func viewDidMoveToWindow() {
    ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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 Swift 6
extension CGPoint: AdditiveArithmetic {
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/Extensions/CGPoint+.swift:10:1: note: The missing import of module 'CoreGraphics' will be added implicitly
extension CGPoint: AdditiveArithmetic {
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/Line.swift:15:6: error: 'StateObject' is only available in macOS 11.0 or newer
    @StateObject var manager = EasyNodeManager.shared
     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/Line.swift:10:8: note: add @available attribute to enclosing struct
struct Line: View, Identifiable {
       ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/NodeMenuContent.swift:14:6: error: 'StateObject' is only available in macOS 11.0 or newer
    @StateObject var manager = EasyNodeManager.shared
     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/NodeMenuContent.swift:10:8: note: add @available attribute to enclosing struct
struct NodeMenuContent: View, Identifiable {
       ^
[14/17] Compiling EasyNodeEditor TouchEventView.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/Line.swift:15:6: error: 'StateObject' is only available in macOS 11.0 or newer
    @StateObject var manager = EasyNodeManager.shared
     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/Line.swift:10:8: note: add @available attribute to enclosing struct
struct Line: View, Identifiable {
       ^
[15/17] Compiling EasyNodeEditor Line.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/Line.swift:15:6: error: 'StateObject' is only available in macOS 11.0 or newer
    @StateObject var manager = EasyNodeManager.shared
     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/Line.swift:10:8: note: add @available attribute to enclosing struct
struct Line: View, Identifiable {
       ^
[16/19] Compiling EasyNodeEditor Output.swift
[17/19] Compiling EasyNodeEditor NSTouchEventView.swift
[18/19] Compiling EasyNodeEditor Node.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/NodeMenuContent.swift:14:6: error: 'StateObject' is only available in macOS 11.0 or newer
    @StateObject var manager = EasyNodeManager.shared
     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/NodeMenuContent.swift:10:8: note: add @available attribute to enclosing struct
struct NodeMenuContent: View, Identifiable {
       ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/NodeMenuContent.swift:22:44: warning: forced cast of 'String' to same type has no effect
                manager.nodeModels[temp.id as! String] = temp
                                           ^~~~~~~~~~

[19/19] Compiling EasyNodeEditor NodeMenuContent.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/NodeMenuContent.swift:14:6: error: 'StateObject' is only available in macOS 11.0 or newer
    @StateObject var manager = EasyNodeManager.shared
     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/NodeMenuContent.swift:10:8: note: add @available attribute to enclosing struct
struct NodeMenuContent: View, Identifiable {
       ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/NodeMenuContent.swift:22:44: warning: forced cast of 'String' to same type has no effect
                manager.nodeModels[temp.id as! String] = temp
                                           ^~~~~~~~~~

error: fatalError
[0/1] Planning build
Building for debugging...
[1/5] Compiling EasyNodeEditor Node.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] Compiling EasyNodeEditor TouchEventView.swift
[3/6] Emitting module EasyNodeEditor
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:101:5: warning: 'open' modifier conflicts with extension's default access of 'fileprivate'
    open override func viewDidMoveToWindow() {
    ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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 Swift 6
extension CGPoint: AdditiveArithmetic {
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/Extensions/CGPoint+.swift:10:1: note: The missing import of module 'CoreGraphics' will be added implicitly
extension CGPoint: AdditiveArithmetic {
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/Line.swift:15:6: error: 'StateObject' is only available in macOS 11.0 or newer
    @StateObject var manager = EasyNodeManager.shared
     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/Line.swift:10:8: note: add @available attribute to enclosing struct
struct Line: View, Identifiable {
       ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/NodeMenuContent.swift:14:6: error: 'StateObject' is only available in macOS 11.0 or newer
    @StateObject var manager = EasyNodeManager.shared
     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/NodeMenuContent.swift:10:8: note: add @available attribute to enclosing struct
struct NodeMenuContent: View, Identifiable {
       ^
[4/6] Compiling EasyNodeEditor NodeMenuContent.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/NodeMenuContent.swift:14:6: error: 'StateObject' is only available in macOS 11.0 or newer
    @StateObject var manager = EasyNodeManager.shared
     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/NodeMenuContent.swift:10:8: note: add @available attribute to enclosing struct
struct NodeMenuContent: View, Identifiable {
       ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/NodeMenuContent.swift:22:44: warning: forced cast of 'String' to same type has no effect
                manager.nodeModels[temp.id as! String] = temp
                                           ^~~~~~~~~~

[5/6] Compiling EasyNodeEditor Line.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/Line.swift:15:6: error: 'StateObject' is only available in macOS 11.0 or newer
    @StateObject var manager = EasyNodeManager.shared
     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/Line.swift:10:8: note: add @available attribute to enclosing struct
struct Line: View, Identifiable {
       ^
[6/7] Compiling EasyNodeEditor InputNode.swift
[7/7] Compiling EasyNodeEditor EasyNodeEditor.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:101:5: warning: 'open' modifier conflicts with extension's default access of 'fileprivate'
    open override func viewDidMoveToWindow() {
    ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:56:64: warning: non-constant range: argument must be an integer literal
            ForEach(0..<Array(Mirror(reflecting: nm).children).count) { i in
                                                               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/EasyNodeEditor.swift:83:47: warning: non-constant range: argument must be an integer literal
                        ForEach(0..<nodeTypes.count) { i in
                                              ^
error: fatalError
BUILD FAILURE 5.9 macosSpm