Build Information
Failed to build EasyNodeEditor with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.28.7
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/builds/J1XnyXFH/0/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
Revision (git rev-parse @):
82c0f17e2b0c9ed1a6cb0a134d1754a3ba657a46
SUCCESS checkout https://github.com/yukiny0811/easy-node-editor.git at v0.3.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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 from cache
Fetched https://github.com/yukiny0811/easy-node-editor.git (0.21s)
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 v0.3.0
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
https://github.com/yukiny0811/easy-node-editor.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/17] Compiling EasyNodeEditor String+.swift
[2/17] Compiling EasyNodeEditor InputNode.swift
[3/19] Compiling EasyNodeEditor Input.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/19] Compiling EasyNodeEditor Middle.swift
[5/19] Compiling EasyNodeEditor OutputNode.swift
[6/19] Compiling EasyNodeEditor TestModel.swift
[7/19] Compiling EasyNodeEditor EasyNodeEditor.swift
/Users/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/19] Compiling EasyNodeEditor CGPoint+.swift
/Users/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/19] Compiling EasyNodeEditor CGSize+.swift
/Users/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/19] Compiling EasyNodeEditor EditorConfig.swift
/Users/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/19] Compiling EasyNodeEditor EasyNodeManager.swift
/Users/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/19] Compiling EasyNodeEditor NodeModelBase.swift
/Users/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/19] Compiling EasyNodeEditor Output.swift
[14/19] Compiling EasyNodeEditor NSTouchEventView.swift
[15/19] Emitting module EasyNodeEditor
/Users/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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 {
^
[16/19] Compiling EasyNodeEditor TouchEventView.swift
/Users/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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 {
^
[17/19] Compiling EasyNodeEditor Line.swift
/Users/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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 {
^
[18/19] Compiling EasyNodeEditor Node.swift
/Users/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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 NodeMenuContent.swift
/Users/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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
^~~~~~~~~~
[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] Compiling EasyNodeEditor Line.swift
/Users/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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 {
^
[5/6] Emitting module EasyNodeEditor
/Users/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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 {
^
[6/7] Compiling EasyNodeEditor EasyNodeEditor.swift
/Users/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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
^
[7/7] Compiling EasyNodeEditor InputNode.swift
error: fatalError
BUILD FAILURE 5.9 macosSpm