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 Resource Rewriter for Xcode, reference main (fe94bf), with Swift 6.2 (beta) for Linux on 21 Jun 2025 04:50:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/idrougge/ResourceRewriterForXcode.git
Reference: main
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
 * 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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/idrougge/ResourceRewriterForXcode.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/15380] Fetching swift-argument-parser
[15381/86303] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (5.52s)
Fetched https://github.com/apple/swift-syntax.git from cache (5.58s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (9.90s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.56s)
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.1
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.2 linux