The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftMarshal, reference main (40cc21), with Swift 6.4 for Android on 15 Oct 2026 22:28:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-1":/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.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ericodx/swift-marshal.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/ericodx/swift-marshal
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 40cc210 Merge pull request #13 from ericodx/fix/comment-trivia-reordering
Cloned https://github.com/ericodx/swift-marshal.git
Revision (git rev-parse @):
40cc210ddfcbeef468e85f37c9d528ceb2b76d5c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ericodx/swift-marshal.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/ericodx/swift-marshal.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-1":/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:d9a84d7647394b4473e054b8d8a8f0e0b43300080afc6972ec459a3a608366e4
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/80777] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (5.94s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (7.32s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.23s)
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 330]
[Planning deferred tasks]
[78 / 143] SwiftSyntax602
[86 / 151] _SwiftSyntaxCShims
[122 / 152] SwiftSyntax
[125 / 161] SwiftSyntax
[126 / 162] SwiftSyntax602
[128 / 163] SwiftSyntax602
[134 / 165] SwiftSyntax510
[143 / 167] SwiftSyntax509
[147 / 167] SwiftSyntax603
[149 / 167]
[149 / 167] SwiftSyntax
[155 / 168] SwiftParser
[160 / 177] SwiftParser
[161 / 177] SwiftParser
[164 / 177] SwiftParser
[168 / 177] SwiftParser
[169 / 177] SwiftParser-product
[170 / 178] SwiftParser
[170 / 178] swift-marshal-product
[173 / 187] swift-marshal-product
[174 / 187] swift-marshal-product
[175 / 188] swift-marshal-product
[176 / 188] swift-marshal-product
[177 / 188] swift-marshal-product
[178 / 188] swift-marshal-product
[180 / 188] swift-marshal-product
[181 / 188] SwiftParser
[182 / 188] swift-marshal-product
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/SwiftMarshal/SwiftMarshal.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile SwiftMarshal.swift
/host/spi-builder-workspace/Sources/SwiftMarshal/SwiftMarshal.swift:40:67: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
38 |
39 |             default:
40 |                 fputs("error: unknown command '\(subcommand)'\n", stderr)
   |                                                                   `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
41 |                 fputs(HelpText.usage + "\n", stderr)
42 |                 return .error
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/stdio.h:64:23: note: var declared here
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
    |                       `- note: var declared here
 65 |
 66 | /* C99 and earlier plus current C++ standards say these must be macros. */
/host/spi-builder-workspace/Sources/SwiftMarshal/SwiftMarshal.swift:41:46: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
39 |             default:
40 |                 fputs("error: unknown command '\(subcommand)'\n", stderr)
41 |                 fputs(HelpText.usage + "\n", stderr)
   |                                              `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
42 |                 return .error
43 |
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/stdio.h:64:23: note: var declared here
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
    |                       `- note: var declared here
 65 |
 66 | /* C99 and earlier plus current C++ standards say these must be macros. */
/host/spi-builder-workspace/Sources/SwiftMarshal/SwiftMarshal.swift:48:61: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
46 |             return code
47 |         } catch {
48 |             fputs("error: \(error.localizedDescription)\n", stderr)
   |                                                             `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
49 |             return .error
50 |         }
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/stdio.h:64:23: note: var declared here
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
    |                       `- note: var declared here
 65 |
 66 | /* C99 and earlier plus current C++ standards say these must be macros. */
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/SwiftMarshal/CLI/ArgumentParsingError.swift /host/spi-builder-workspace/Sources/SwiftMarshal/CLI/ExitCode.swift /host/spi-builder-workspace/Sources/SwiftMarshal/CLI/HelpText.swift /host/spi-builder-workspace/Sources/SwiftMarshal/CLI/ValidationError.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Commands/CheckCommand.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Commands/CommandParsing.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Commands/CommonCommandOptions.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Commands/FixCommand.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Commands/InitCommand.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Commands/InitError.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Commands/ResolvedCommand.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Configuration/Configuration.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Configuration/ConfigurationLoader.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Configuration/ConfigurationMapper.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Configuration/ConfigurationService.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Configuration/ExtensionsStrategy.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Configuration/MemberOrderingRule.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Configuration/MethodKind.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Configuration/RawConfiguration.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Configuration/RawMemberRule.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Models/MemberDeclaration.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Models/MemberDiscoveryInfo.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Models/MemberKind.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Models/SyntaxMemberDeclaration.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Models/SyntaxTypeDeclaration.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Models/TypeDiscoveryInfo.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Models/TypeKind.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Models/Visibility.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Reordering/ReorderEngine.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Visitors/Builders/MemberOutputBuilder.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Visitors/Builders/SyntaxMemberDeclarationBuilder.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Visitors/Builders/SyntaxTypeDeclarationBuilder.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Visitors/Builders/TypeOutputBuilder.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Visitors/UnifiedMemberDiscoveryVisitor.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Visitors/UnifiedTypeDiscoveryVisitor.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Core/Visitors/UnifiedVisitorBase.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Infrastructure/Files/FileIOActor.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Infrastructure/Files/FileReader.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Infrastructure/Files/FileReadingError.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Infrastructure/Files/FileReadingHelper.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Infrastructure/Files/FileWritingError.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Infrastructure/Files/SwiftFileResolver.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Infrastructure/Project/ProjectDetector.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Infrastructure/Project/ProjectKind.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Infrastructure/Protocols/FileReading.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/CheckResult.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/FixResult.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/Pipeline.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/PipelineCoordinator.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/Stages/Classify/SyntaxClassifyOutput.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/Stages/Classify/SyntaxClassifyStage.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/Stages/Parse/ParseInput.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/Stages/Parse/ParseOutput.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/Stages/Parse/ParseStage.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/Stages/Protocols/Stage.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/Stages/Reorder/ReorderOutput.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/Stages/Reorder/ReorderReportStage.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/Stages/Reorder/TypeReorderResult.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/Stages/Report/ReportOutput.swift /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/Stages/Rewrite/ApplyRewriteStage.swift -primary-file /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/Stages/Rewrite/IndexedSyntaxMember.swift -primary-file /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/Stages/Rewrite/MemberReorderingRewriter.swift -primary-file /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/Stages/Rewrite/RewriteOutput.swift -primary-file /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/Stages/Rewrite/RewritePlanOutput.swift -primary-file /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/Stages/Rewrite/RewritePlanStage.swift -primary-file /host/spi-builder-workspace/Sources/SwiftMarshal/Pipeline/Stages/Rewrite/TypeRewritePlan.swift -primary-file /host/spi-builder-workspace/Sources/SwiftMarshal/SwiftMarshal.swift -primary-file /host/spi-builder-workspace/Sources/SwiftMarshal/Version.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/Objects-normal/aarch64/supplementaryOutputs-24 -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/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 -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name swift_marshal -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/Objects-normal/aarch64/swift-marshal_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/Objects-normal/aarch64/IndexedSyntaxMember.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/Objects-normal/aarch64/MemberReorderingRewriter.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/Objects-normal/aarch64/RewriteOutput.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/Objects-normal/aarch64/RewritePlanOutput.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/Objects-normal/aarch64/RewritePlanStage.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/Objects-normal/aarch64/TypeRewritePlan.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/Objects-normal/aarch64/SwiftMarshal.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/Objects-normal/aarch64/Version.o -index-unit-output-path /SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/Objects-normal/aarch64/IndexedSyntaxMember.o -index-unit-output-path /SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/Objects-normal/aarch64/MemberReorderingRewriter.o -index-unit-output-path /SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/Objects-normal/aarch64/RewriteOutput.o -index-unit-output-path /SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/Objects-normal/aarch64/RewritePlanOutput.o -index-unit-output-path /SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/Objects-normal/aarch64/RewritePlanStage.o -index-unit-output-path /SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/Objects-normal/aarch64/TypeRewritePlan.o -index-unit-output-path /SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/Objects-normal/aarch64/SwiftMarshal.o -index-unit-output-path /SwiftMarshal.build/Debug-android-aarch64/swift-marshal-p.build/Objects-normal/aarch64/Version.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android