Build Information
Failed to build Resource Rewriter for Xcode, reference main (fe94bf
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 15:57:42 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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/idrougge/ResourceRewriterForXcode.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/idrougge/ResourceRewriterForXcode
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at fe94bf2 Merge pull request #2 from idrougge/colour
Cloned https://github.com/idrougge/ResourceRewriterForXcode.git
Revision (git rev-parse @):
fe94bf2424c91b6c28af54c94216147d90f1252d
SUCCESS checkout https://github.com/idrougge/ResourceRewriterForXcode.git at main
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/12395] Fetching swift-argument-parser
[12396/79080] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.35s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.35s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (2.94s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.46s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
========================================
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": "resourcerewriterforxcode",
"name": "Resource Rewriter for Xcode",
"url": "https://github.com/idrougge/ResourceRewriterForXcode.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ResourceRewriterForXcode",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/apple/swift-syntax.git",
"version": "509.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/idrougge/ResourceRewriterForXcode.git
[1/27] Fetching resourcerewriterforxcode
Fetched https://github.com/idrougge/ResourceRewriterForXcode.git from cache (0.66s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.83s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.83s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.03s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.04s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/idrougge/ResourceRewriterForXcode.git
Working copy of https://github.com/idrougge/ResourceRewriterForXcode.git resolved at main (fe94bf2)
Found 2 product dependencies
- swift-argument-parser
- swift-syntax
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/idrougge/ResourceRewriterForXcode.git
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.0.0",
"upper_bound" : "510.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
}
],
"manifest_display_name" : "Resource Rewriter for Xcode",
"name" : "Resource Rewriter for Xcode",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Rewrite image resource strings",
"targets" : [
"Rewrite image resource strings"
],
"type" : {
"plugin" : null
}
},
{
"name" : "Rewrite colour resource strings",
"targets" : [
"Rewrite colour resource strings"
],
"type" : {
"plugin" : null
}
},
{
"name" : "ResourceRewriterForXcode",
"targets" : [
"ResourceRewriterForXcode"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "Rewrite_image_resource_strings",
"module_type" : "PluginTarget",
"name" : "Rewrite image resource strings",
"path" : "Plugins/Rewrite image resource strings",
"plugin_capability" : {
"intent" : {
"type" : "sourceCodeFormatting"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "Your `UIImage(named:)` calls will be rewritten as `UImage(resource:)` calls.\nPlease commit before running.",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"product_memberships" : [
"Rewrite image resource strings"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"ResourceRewriterForXcode"
],
"type" : "plugin"
},
{
"c99name" : "Rewrite_colour_resource_strings",
"module_type" : "PluginTarget",
"name" : "Rewrite colour resource strings",
"path" : "Plugins/Rewrite colour resource strings",
"plugin_capability" : {
"intent" : {
"type" : "sourceCodeFormatting"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "Your `UIColor(named:)` calls will be rewritten as `UIColor(resource:)` calls.\nPlease commit before running.",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"product_memberships" : [
"Rewrite colour resource strings"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"ResourceRewriterForXcode"
],
"type" : "plugin"
},
{
"c99name" : "ResourceRewriterForXcodeTests",
"module_type" : "SwiftTarget",
"name" : "ResourceRewriterForXcodeTests",
"path" : "Tests",
"sources" : [
"ColourTests.swift",
"ImageTests.swift"
],
"target_dependencies" : [
"ResourceRewriterForXcode"
],
"type" : "test"
},
{
"c99name" : "ResourceRewriterForXcode",
"module_type" : "SwiftTarget",
"name" : "ResourceRewriterForXcode",
"path" : "Sources",
"product_dependencies" : [
"ArgumentParser",
"SwiftSyntax",
"SwiftParser"
],
"product_memberships" : [
"Rewrite image resource strings",
"Rewrite colour resource strings",
"ResourceRewriterForXcode"
],
"sources" : [
"ResourceRewriterForXcode.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
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
[1/1] Compiling plugin GenerateManual
error: emit-module command failed with exit code 1 (use -v to see invocation)
/Users/admin/builder/spi-builder-workspace/Plugins/Rewrite colour resource strings/plugin.swift:9:8: error: no such module 'XcodeProjectPlugin'
7 |
8 | import PackagePlugin
9 | import XcodeProjectPlugin
| `- error: no such module 'XcodeProjectPlugin'
10 | import Foundation
11 |
[2/2] Compiling plugin Rewrite colour resource strings
BUILD FAILURE 6.0 macosSpm