The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ActionBuilder, reference v0.1.0-dev (3e7d7b), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 17:13:11 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/coughski/ActionBuilder.git
Reference: v0.1.0-dev
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/coughski/ActionBuilder
 * tag               v0.1.0-dev -> FETCH_HEAD
HEAD is now at 3e7d7b9 Update readme
Cloned https://github.com/coughski/ActionBuilder.git
Revision (git rev-parse @):
3e7d7b94ef9341d17103cc194c849ed43aa3fa52
SUCCESS checkout https://github.com/coughski/ActionBuilder.git at v0.1.0-dev
========================================
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.66s)
Creating working copy for https://github.com/coughski/ActionBuilder.git
Working copy of https://github.com/coughski/ActionBuilder.git resolved at v0.1.0-dev (3e7d7b9)
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
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