Build Information
Failed to build ActionBuilder, reference main (1fb303
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 09:55:59 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/coughski/ActionBuilder.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/coughski/ActionBuilder
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1fb3033 Update README.md
Cloned https://github.com/coughski/ActionBuilder.git
Revision (git rev-parse @):
1fb30332e78345ac5e14fecf3d646e9cb9a0db80
SUCCESS checkout https://github.com/coughski/ActionBuilder.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",
"dependencies": [
{
"identity": "actionbuilder",
"name": "ActionBuilder",
"url": "https://github.com/coughski/ActionBuilder.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ActionBuilder",
"dependencies": [
]
}
]
}
Fetching https://github.com/coughski/ActionBuilder.git
[1/35] Fetching actionbuilder
Fetched https://github.com/coughski/ActionBuilder.git from cache (0.96s)
Creating working copy for https://github.com/coughski/ActionBuilder.git
Working copy of https://github.com/coughski/ActionBuilder.git resolved at main (1fb3033)
warning: '.resolve-product-dependencies': dependency 'actionbuilder' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/coughski/ActionBuilder.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module ActionBuilder
/Users/admin/builder/spi-builder-workspace/Sources/ActionBuilder/ActionBuilder.swift:258:29: error: cannot find type 'UIColor' in scope
256 | public let action: SKAction
257 |
258 | public init(with color: UIColor, colorBlendFactor: CGFloat = 0.5, over interval: TimeInterval = 1) {
| `- error: cannot find type 'UIColor' in scope
259 | action = .colorize(with: color, colorBlendFactor: colorBlendFactor, duration: interval)
260 | }
[4/4] Compiling ActionBuilder ActionBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/ActionBuilder/ActionBuilder.swift:258:29: error: cannot find type 'UIColor' in scope
256 | public let action: SKAction
257 |
258 | public init(with color: UIColor, colorBlendFactor: CGFloat = 0.5, over interval: TimeInterval = 1) {
| `- error: cannot find type 'UIColor' in scope
259 | action = .colorize(with: color, colorBlendFactor: colorBlendFactor, duration: interval)
260 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionBuilder/ActionBuilder.swift:50:18: warning: call to main actor-isolated instance method 'run' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | func changeTarget(to node: SKNode) -> Custom {
49 | Custom {
50 | node.run(action)
| `- warning: call to main actor-isolated instance method 'run' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | }
52 | }
SpriteKit.SKNode:80:26: note: calls to instance method 'run' from outside of its actor context are implicitly asynchronous
78 | open func objectForKeyedSubscript(_ name: String) -> [SKNode]
79 | open func inParentHierarchy(_ parent: SKNode) -> Bool
80 | @MainActor open func run(_ action: SKAction)
| `- note: calls to instance method 'run' from outside of its actor context are implicitly asynchronous
81 | @available(swift, obsoleted: 3, renamed: "run(_:)")
82 | open func runAction(_ action: SKAction)
BUILD FAILURE 6.0 macosSpm