Build Information
Failed to build Resource Rewriter for Xcode, reference 1.1.0 (fe94bf
), with Swift 6.1 for Linux on 28 Apr 2025 10:00:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/idrougge/ResourceRewriterForXcode.git
Reference: 1.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/idrougge/ResourceRewriterForXcode
* tag 1.1.0 -> FETCH_HEAD
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 1.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/idrougge/ResourceRewriterForXcode.git
https://github.com/idrougge/ResourceRewriterForXcode.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/14950] Fetching swift-argument-parser
[14951/85195] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (5.71s)
Fetched https://github.com/apple/swift-syntax.git from cache (5.75s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (7.77s)
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.44s)
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/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 |
[1/1] Compiling plugin Rewrite colour resource strings
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/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 |
[1/1] Compiling plugin Rewrite colour resource strings
BUILD FAILURE 6.1 linux