The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: 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/mtj0928/print-macro
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         android
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-54344844-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-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.94s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (4.16s)
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]
[30 / 231] SwiftSyntaxMacros
[132 / 240] SwiftSyntax600
[144 / 250] SwiftSyntax
[146 / 252] SwiftSyntax600
[150 / 252] SwiftSyntax600
[156 / 253] SwiftSyntax509
[156 / 253] SwiftSyntax
[169 / 280] SwiftParser
[171 / 280] SwiftDiagnostics
[177 / 280] SwiftParser
[184 / 280] SwiftParser
[186 / 280] SwiftParser
[188 / 280] SwiftParser
[193 / 280] SwiftParser
[195 / 280] SwiftDiagnostics
[196 / 280] SwiftDiagnostics
[197 / 280] SwiftDiagnostics
[198 / 280] SwiftOperators
[203 / 280]
[210 / 301] SwiftBasicFormat
[211 / 301] SwiftParserDiagnostics
[212 / 302] SwiftParserDiagnostics
[224 / 303] SwiftParserDiagnostics
[226 / 303] SwiftSyntaxBuilder
[230 / 303] SwiftParser
[234 / 303] SwiftOperators
[235 / 303] SwiftOperators
[237 / 303] SwiftOperators
[240 / 304] SwiftSyntaxBuilder
[246 / 314] SwiftSyntaxBuilder
[248 / 314] SwiftSyntaxBuilder
[249 / 314] SwiftSyntaxBuilder
[259 / 317] SwiftSyntaxMacros
[262 / 325] SwiftSyntaxMacros
[266 / 325] SwiftSyntaxMacros
[274 / 326] SwiftSyntaxMacros
[278 / 335] SwiftSyntaxMacroExpansion
[281 / 336] SwiftSyntaxMacroExpansion
[284 / 337] SwiftSyntaxMacroExpansion
[295 / 347] SwiftSyntaxBuilder
[297 / 347] SwiftCompilerPluginMessageHandling
[299 / 347] SwiftCompilerPluginMessageHandling
[302 / 347] SwiftCompilerPluginMessageHandling
[310 / 350] SwiftCompilerPlugin
[317 / 351] SwiftSyntaxMacroExpansion
[319 / 352] SwiftCompilerPluginMessageHandling
[321 / 353] SwiftSyntax
[324 / 354] SwiftSyntax
[331 / 354] SwiftSyntaxMacros
[339 / 355] 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:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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
[343 / 358] PrintMacroMacros
error: Build failed
BUILD FAILURE 6.4 android