The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftRewriter, reference 0.2.0 (5a14df), with Swift 6.4 for Linux on 16 Sep 2026 15:07:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/inamiy/swiftrewriter.git
Reference: 0.2.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/inamiy/swiftrewriter
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 5a14dfc Update README.md
Cloned https://github.com/inamiy/swiftrewriter.git
Revision (git rev-parse @):
5a14dfcc9f005f40f15f6028141b520a9a9a738d
SUCCESS checkout https://github.com/inamiy/swiftrewriter.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/inamiy/swiftrewriter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/thoughtbot/Curry.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/JohnSundell/Files.git
[1/2329] Fetching commandant
[141/3602] Fetching commandant, files
Fetched https://github.com/JohnSundell/Files.git (0.45s)
[1/601] Fetching curry
[602/80518] Fetching curry, swift-syntax
[80519/96923] Fetching curry, swift-syntax, swift-snapshot-testing
Fetched https://github.com/thoughtbot/Curry.git (3.07s)
Fetched https://github.com/apple/swift-syntax.git (3.09s)
Fetched https://github.com/Carthage/Commandant.git (3.31s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing (3.34s)
Computing version for https://github.com/thoughtbot/Curry.git
Computed https://github.com/thoughtbot/Curry.git at 4.0.2 (3.53s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50000.0 (0.20s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (1.04s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.18.0 (1.05s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.12.0 (0.18s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50000.0
Creating working copy for https://github.com/thoughtbot/Curry.git
Working copy of https://github.com/thoughtbot/Curry.git resolved at 4.0.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.12.0
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.18.0
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.3.0
Building for debugging...
[Provisioning 11 / 12]
[Pre-planning 1 / 215]
[Starting]
[59 / 112] SwiftSyntax
[60 / 112] Curry
[70 / 112] Files
[72 / 112] Files
[83 / 112] SwiftSyntax
[86 / 112] SwiftSyntax-product
[87 / 112] SwiftSyntax-product
[88 / 113] Commandant
[91 / 113] Curry-product
[92 / 113] Curry-product
[93 / 113] SwiftSyntax
[96 / 114] SwiftRewriter
[100 / 123] SwiftRewriter
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/AbsolutePosition.swift:3:1: warning: extension declares a conformance of imported type 'AbsolutePosition' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
 1 | import SwiftSyntax
 2 |
 3 | extension AbsolutePosition: Equatable
   | |- warning: extension declares a conformance of imported type 'AbsolutePosition' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 4 | {
 5 |     public static func == (l: AbsolutePosition, r: AbsolutePosition) -> Bool
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/Trivia.swift:5:1: warning: extension declares a conformance of imported type 'Trivia' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
  3 | // MARK: - Trivia
  4 |
  5 | extension Trivia: CustomStringConvertible
    | |- warning: extension declares a conformance of imported type 'Trivia' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  6 | {
  7 |     var pieces: [TriviaPiece]
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/Trivia.swift:56:1: warning: extension declares a conformance of imported type 'TriviaPiece' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
 54 | // MARK: - TriviaPiece
 55 |
 56 | extension TriviaPiece: CustomStringConvertible
    | |- warning: extension declares a conformance of imported type 'TriviaPiece' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 57 | {
 58 |     public var description: String
/host/spi-builder-workspace/Sources/SwiftRewriter/Protocols/Protocols.swift:41:1: warning: extension declares a conformance of imported type 'EnumDeclSyntax' to imported protocol 'DeclGroupSyntax'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
 39 |
 40 | // Workaround
 41 | extension EnumDeclSyntax: DeclGroupSyntax {}
    | |- warning: extension declares a conformance of imported type 'EnumDeclSyntax' to imported protocol 'DeclGroupSyntax'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 42 |
 43 | // MARK: - NestableDeclSyntax
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/AbsolutePosition.swift:3:1: warning: extension declares a conformance of imported type 'AbsolutePosition' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
 1 | import SwiftSyntax
 2 |
 3 | extension AbsolutePosition: Equatable
   | |- warning: extension declares a conformance of imported type 'AbsolutePosition' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 4 | {
 5 |     public static func == (l: AbsolutePosition, r: AbsolutePosition) -> Bool
[102 / 124] SwiftRewriter
[104 / 124] SwiftRewriter
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/Trivia.swift:5:1: warning: extension declares a conformance of imported type 'Trivia' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
  3 | // MARK: - Trivia
  4 |
  5 | extension Trivia: CustomStringConvertible
    | |- warning: extension declares a conformance of imported type 'Trivia' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  6 | {
  7 |     var pieces: [TriviaPiece]
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/Trivia.swift:56:1: warning: extension declares a conformance of imported type 'TriviaPiece' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
 54 | // MARK: - TriviaPiece
 55 |
 56 | extension TriviaPiece: CustomStringConvertible
    | |- warning: extension declares a conformance of imported type 'TriviaPiece' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 57 | {
 58 |     public var description: String
/host/spi-builder-workspace/Sources/SwiftRewriter/Protocols/Protocols.swift:41:1: warning: extension declares a conformance of imported type 'EnumDeclSyntax' to imported protocol 'DeclGroupSyntax'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
 39 |
 40 | // Workaround
 41 | extension EnumDeclSyntax: DeclGroupSyntax {}
    | |- warning: extension declares a conformance of imported type 'EnumDeclSyntax' to imported protocol 'DeclGroupSyntax'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 42 |
 43 | // MARK: - NestableDeclSyntax
[110 / 124] SwiftRewriter
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

[117 / 133] swift-rewriter-product
/host/spi-builder-workspace/Sources/swift-rewriter/main.swift:2:8: error: no such module 'Result'
 1 | import Foundation
 2 | import Result
   |        `- error: no such module 'Result'
 3 | import Commandant
 4 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/swift-rewriter/Commands/PrintASTCommand.swift /host/spi-builder-workspace/Sources/swift-rewriter/Commands/RunCommand.swift /host/spi-builder-workspace/Sources/swift-rewriter/Commands/VersionCommand.swift /host/spi-builder-workspace/Sources/swift-rewriter/Utilities/CommandProtocol.swift /host/spi-builder-workspace/Sources/swift-rewriter/Utilities/CommonOptions.swift /host/spi-builder-workspace/Sources/swift-rewriter/main.swift /host/spi-builder-workspace/Sources/swift-rewriter/rewriter.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 4.2 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftRewriter.build/Debug-linux-x86_64/swift-rewriter-p.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftRewriter.build/Debug-linux-x86_64/swift-rewriter-p.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftRewriter.build/Debug-linux-x86_64/swift-rewriter-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name swift_rewriter -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftRewriter.build/Debug-linux-x86_64/swift-rewriter-p.build/Objects-normal/x86_64/swift-rewriter_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftRewriter.build/Debug-linux-x86_64/swift-rewriter-p.build/Objects-normal/x86_64/Modules/swift_rewriter.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftRewriter.build/Debug-linux-x86_64/swift-rewriter-p.build/Objects-normal/x86_64/Modules/swift_rewriter.swiftsourceinfo -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftRewriter.build/Debug-linux-x86_64/swift-rewriter-p.build/Objects-normal/x86_64/swift-rewriter-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftRewriter.build/Debug-linux-x86_64/swift-rewriter-p.build/Objects-normal/x86_64/swift-rewriter-primary-emit-module.d -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftRewriter.build/Debug-linux-x86_64/swift-rewriter-p.build/Objects-normal/x86_64/Modules/swift_rewriter.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux