The Swift Package Index logo.Swift Package Index

Build Information

Failed to build print-macro, reference 0.0.1 (ea8c98), with Swift 6.4 for Linux on 22 Sep 2026 12:25:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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/mtj0928/print-macro.git
Reference: 0.0.1
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/mtj0928/print-macro
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at ea8c985 Fix CI
Cloned https://github.com/mtj0928/print-macro.git
Revision (git rev-parse @):
ea8c985b9745f6fd33754a9a82694363e3d8552b
SUCCESS checkout https://github.com/mtj0928/print-macro.git at 0.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/mtj0928/print-macro.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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/swiftlang/swift-syntax.git
[1/80002] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (2.92s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (4.09s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 562]
[Planning deferred tasks]
[53 / 228] SwiftSyntax509
[135 / 238] SwiftSyntax
[141 / 247] SwiftSyntax
[142 / 248] SwiftSyntax600
[149 / 250] SwiftSyntax509
[153 / 250] SwiftSyntax
[166 / 277] SwiftParser
[170 / 277] SwiftDiagnostics
[175 / 277] SwiftSyntax
[182 / 277] SwiftParser
[183 / 277] SwiftParser
[184 / 277] SwiftParser
[189 / 277] SwiftParser
[190 / 277] SwiftDiagnostics
[191 / 277] SwiftDiagnostics
[192 / 277] SwiftOperators
[195 / 277] SwiftDiagnostics
[197 / 277] SwiftBasicFormat
[201 / 278] SwiftParser
[202 / 278]
[207 / 298] SwiftParserDiagnostics
[209 / 299] SwiftParserDiagnostics
[210 / 299] SwiftParserDiagnostics
[213 / 299] SwiftParserDiagnostics
[222 / 299] SwiftSyntaxBuilder
[225 / 300] SwiftParser
[227 / 300] SwiftOperators
[229 / 300] SwiftOperators
[232 / 300] SwiftOperators
[234 / 300] SwiftOperators
[238 / 310] SwiftParserDiagnostics
[241 / 310] SwiftSyntaxBuilder
[243 / 311] SwiftSyntaxBuilder
[247 / 312] SwiftSyntaxBuilder
[252 / 312] SwiftSyntaxMacros
[260 / 322] SwiftSyntaxMacros
[265 / 323] SwiftSyntaxMacros
[276 / 333] SwiftSyntaxMacroExpansion
[278 / 334] SwiftSyntaxMacros
[285 / 334] SwiftSyntaxMacroExpansion
[293 / 344] SwiftCompilerPluginMessageHandling
[294 / 344] SwiftCompilerPluginMessageHandling
[295 / 344] SwiftCompilerPluginMessageHandling
[299 / 344] SwiftCompilerPluginMessageHandling
[305 / 345] SwiftCompilerPluginMessageHandling
[314 / 348] SwiftCompilerPlugin
[316 / 349] SwiftCompilerPluginMessageHandling
[316 / 349] SwiftSyntax
[316 / 349] SwiftCompilerPluginMessageHandling
[318 / 350] SwiftSyntax
[321 / 351] SwiftSyntax
[328 / 351]
[336 / 352] PrintMacroMacros
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/PrintMacroMacros/PrintMacro.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile PrintMacro.swift
/host/spi-builder-workspace/Sources/PrintMacroMacros/PrintMacro.swift:53:34: error: value of type 'String' has no member 'trimmingCharacters'
51 |     func outputInPrint() -> String {
52 |         """
53 |         \(expression.description.trimmingCharacters(in: .whitespacesAndNewlines)): \\(\(name))
   |                                  `- error: value of type 'String' has no member 'trimmingCharacters'
54 |         """
55 |     }
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/PrintMacroMacros/PrintMacro.swift /host/spi-builder-workspace/Sources/PrintMacroMacros/PrintMacroPlugin.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/print-macro.build/Debug-linux-x86_64/PrintMacroMacros-t.build/Objects-normal/x86_64/PrintMacro.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/print-macro.build/Debug-linux-x86_64/PrintMacroMacros-t.build/Objects-normal/x86_64/PrintMacro.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/print-macro.build/Debug-linux-x86_64/PrintMacroMacros-t.build/Objects-normal/x86_64/PrintMacro.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/print-macro.build/Debug-linux-x86_64/PrintMacroMacros-t.build/Objects-normal/x86_64/PrintMacro.dia -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 6 -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 -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/_SwiftSyntaxCShims/include/module.modulemap -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/checkouts/swift-syntax/Sources/_SwiftSyntaxCShims/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/print-macro.build/Debug-linux-x86_64/PrintMacroMacros-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/print-macro.build/Debug-linux-x86_64/PrintMacroMacros-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/print-macro.build/Debug-linux-x86_64/PrintMacroMacros-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PrintMacroMacros -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/print-macro.build/Debug-linux-x86_64/PrintMacroMacros-t.build/Objects-normal/x86_64/PrintMacroMacros_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/print-macro.build/Debug-linux-x86_64/PrintMacroMacros-t.build/Objects-normal/x86_64/PrintMacro.o -index-unit-output-path /print-macro.build/Debug-linux-x86_64/PrintMacroMacros-t.build/Objects-normal/x86_64/PrintMacro.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[340 / 355] PrintMacroMacros
error: Build failed
BUILD FAILURE 6.4 linux