The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.19.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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-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 into spi-builder-workspace
82c0f17e2b0c9ed1a6cb0a134d1754a3ba657a46
SUCCESS checkout https://github.com/yukiny0811/easy-node-editor.git at v0.3.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/17] Emitting module EasyNodeEditor
/Users/builder/builds/TDmZkXJm/3/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/3/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/3/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/3/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/3/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/3/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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/NodeMenuContent.swift:10:8: note: add @available attribute to enclosing struct
struct NodeMenuContent: View, Identifiable {
       ^
[2/19] Compiling EasyNodeEditor TouchEventView.swift
/Users/builder/builds/TDmZkXJm/3/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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/Line.swift:10:8: note: add @available attribute to enclosing struct
struct Line: View, Identifiable {
       ^
[3/19] Compiling EasyNodeEditor Line.swift
/Users/builder/builds/TDmZkXJm/3/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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/Line.swift:10:8: note: add @available attribute to enclosing struct
struct Line: View, Identifiable {
       ^
[4/19] Compiling EasyNodeEditor Node.swift
/Users/builder/builds/TDmZkXJm/3/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/3/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/3/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/19] Compiling EasyNodeEditor NodeMenuContent.swift
/Users/builder/builds/TDmZkXJm/3/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/3/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/3/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
                                           ^~~~~~~~~~
[6/19] Compiling EasyNodeEditor Input.swift
[7/19] Compiling EasyNodeEditor Middle.swift
[8/19] Compiling EasyNodeEditor EditorConfig.swift
/Users/builder/builds/TDmZkXJm/3/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/3/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
                                         ^
[9/19] Compiling EasyNodeEditor EasyNodeManager.swift
/Users/builder/builds/TDmZkXJm/3/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/3/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
                                         ^
[10/19] Compiling EasyNodeEditor NodeModelBase.swift
/Users/builder/builds/TDmZkXJm/3/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/3/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/19] Compiling EasyNodeEditor OutputNode.swift
[12/19] Compiling EasyNodeEditor TestModel.swift
[13/19] Compiling EasyNodeEditor Output.swift
[14/19] Compiling EasyNodeEditor NSTouchEventView.swift
[15/19] Compiling EasyNodeEditor EasyNodeEditor.swift
/Users/builder/builds/TDmZkXJm/3/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/3/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/3/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/3/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/3/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 {
^
[16/19] Compiling EasyNodeEditor CGPoint+.swift
/Users/builder/builds/TDmZkXJm/3/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/3/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/3/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/3/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/3/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 {
^
[17/19] Compiling EasyNodeEditor CGSize+.swift
/Users/builder/builds/TDmZkXJm/3/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/3/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/3/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/3/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/3/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 {
^
[18/19] Compiling EasyNodeEditor String+.swift
[19/19] Compiling EasyNodeEditor InputNode.swift
error: fatalError
Retrying in 0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
[1/5] Compiling EasyNodeEditor NodeMenuContent.swift
/Users/builder/builds/TDmZkXJm/3/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/3/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/3/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
                                           ^~~~~~~~~~
[2/5] Compiling EasyNodeEditor Node.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Compiling EasyNodeEditor TouchEventView.swift
[4/6] Emitting module EasyNodeEditor
/Users/builder/builds/TDmZkXJm/3/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/3/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/3/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/3/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/3/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/3/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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/EasyNodeEditor/ViewModules/NodeMenuContent.swift:10:8: note: add @available attribute to enclosing struct
struct NodeMenuContent: View, Identifiable {
       ^
[5/6] Compiling EasyNodeEditor Line.swift
/Users/builder/builds/TDmZkXJm/3/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/3/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 EasyNodeEditor.swift
/Users/builder/builds/TDmZkXJm/3/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/3/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/3/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
                                              ^
[7/7] Compiling EasyNodeEditor InputNode.swift
error: fatalError
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm