Build Information
Failed to build SwiftMarshal, reference main (40cc21), with Swift 6.4 for Linux on 15 Oct 2026 22:36:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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: linux
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-54344843-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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ef1451f51398a5019879493c5c492376e60274346858404d898204a8a77273d4
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80777] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.89s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (4.89s)
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.18s)
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 330]
[Planning deferred tasks]
[81 / 149] SwiftSyntax601
[121 / 152] SwiftSyntax
[122 / 152] SwiftSyntax
[125 / 161] SwiftSyntax
[133 / 164] SwiftSyntax603
[136 / 164] SwiftSyntax509
[137 / 165] SwiftSyntax510
[143 / 167] SwiftSyntax602
[149 / 167] SwiftSyntax
[149 / 167]
[149 / 167] SwiftSyntax
[160 / 177] SwiftParser
[161 / 177] SwiftParser
[168 / 177] SwiftParser
[169 / 177] SwiftParser-product
[170 / 178]
[172 / 187] swift-marshal-product
[173 / 187] swift-marshal-product
[174 / 187] swift-marshal-product
[175 / 188] swift-marshal-product
[175 / 188] SwiftSyntax
[177 / 188] swift-marshal-product
[179 / 188] swift-marshal-product
error: SwiftCompile normal x86_64 /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: [1;31merror: [1;39mreference to var 'stderr' is not concurrency-safe because it involves shared mutable state[0;0m
[0;36m38 |[0;0m
[0;36m39 |[0;0m default:
[0;36m40 |[0;0m fputs("error: unknown command '\(subcommand)'\n", stderr)
[0;36m|[0;0m `- [1;31merror: [1;39mreference to var 'stderr' is not concurrency-safe because it involves shared mutable state[0;0m
[0;36m41 |[0;0m fputs(HelpText.usage + "\n", stderr)
[0;36m42 |[0;0m return .error
/usr/include/stdio.h:151:14: [1;39mnote: [1;39mvar declared here[0;0m
[0;36m149 |[0;0m extern FILE *stdin; /* Standard input stream. */
[0;36m150 |[0;0m extern FILE *stdout; /* Standard output stream. */
[0;36m151 |[0;0m extern FILE *stderr; /* Standard error output stream. */
[0;36m|[0;0m `- [1;39mnote: [1;39mvar declared here[0;0m
[0;36m152 |[0;0m /* C89/C99 say they're macros. Make them happy. */
[0;36m153 |[0;0m #define stdin stdin
/host/spi-builder-workspace/Sources/SwiftMarshal/SwiftMarshal.swift:41:46: [1;31merror: [1;39mreference to var 'stderr' is not concurrency-safe because it involves shared mutable state[0;0m
[0;36m39 |[0;0m default:
[0;36m40 |[0;0m fputs("error: unknown command '\(subcommand)'\n", stderr)
[0;36m41 |[0;0m fputs(HelpText.usage + "\n", stderr)
[0;36m|[0;0m `- [1;31merror: [1;39mreference to var 'stderr' is not concurrency-safe because it involves shared mutable state[0;0m
[0;36m42 |[0;0m return .error
[0;36m43 |[0;0m
/usr/include/stdio.h:151:14: [1;39mnote: [1;39mvar declared here[0;0m
[0;36m149 |[0;0m extern FILE *stdin; /* Standard input stream. */
[0;36m150 |[0;0m extern FILE *stdout; /* Standard output stream. */
[0;36m151 |[0;0m extern FILE *stderr; /* Standard error output stream. */
[0;36m|[0;0m `- [1;39mnote: [1;39mvar declared here[0;0m
[0;36m152 |[0;0m /* C89/C99 say they're macros. Make them happy. */
[0;36m153 |[0;0m #define stdin stdin
/host/spi-builder-workspace/Sources/SwiftMarshal/SwiftMarshal.swift:48:61: [1;31merror: [1;39mreference to var 'stderr' is not concurrency-safe because it involves shared mutable state[0;0m
[0;36m46 |[0;0m return code
[0;36m47 |[0;0m } catch {
[0;36m48 |[0;0m fputs("error: \(error.localizedDescription)\n", stderr)
[0;36m|[0;0m `- [1;31merror: [1;39mreference to var 'stderr' is not concurrency-safe because it involves shared mutable state[0;0m
[0;36m49 |[0;0m return .error
[0;36m50 |[0;0m }
/usr/include/stdio.h:151:14: [1;39mnote: [1;39mvar declared here[0;0m
[0;36m149 |[0;0m extern FILE *stdin; /* Standard input stream. */
[0;36m150 |[0;0m extern FILE *stdout; /* Standard output stream. */
[0;36m151 |[0;0m extern FILE *stderr; /* Standard error output stream. */
[0;36m|[0;0m `- [1;39mnote: [1;39mvar declared here[0;0m
[0;36m152 |[0;0m /* C89/C99 say they're macros. Make them happy. */
[0;36m153 |[0;0m #define stdin stdin
Failed frontend command:
/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-linux-x86_64/swift-marshal-p.build/Objects-normal/x86_64/supplementaryOutputs-24 -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/SwiftMarshal.build/Debug-linux-x86_64/swift-marshal-p.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-linux-x86_64/swift-marshal-p.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-linux-x86_64/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-linux-x86_64/swift-marshal-p.build/Objects-normal/x86_64/swift-marshal_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/SwiftMarshal.build/Debug-linux-x86_64/swift-marshal-p.build/Objects-normal/x86_64/IndexedSyntaxMember.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-linux-x86_64/swift-marshal-p.build/Objects-normal/x86_64/MemberReorderingRewriter.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-linux-x86_64/swift-marshal-p.build/Objects-normal/x86_64/RewriteOutput.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-linux-x86_64/swift-marshal-p.build/Objects-normal/x86_64/RewritePlanOutput.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-linux-x86_64/swift-marshal-p.build/Objects-normal/x86_64/RewritePlanStage.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-linux-x86_64/swift-marshal-p.build/Objects-normal/x86_64/TypeRewritePlan.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-linux-x86_64/swift-marshal-p.build/Objects-normal/x86_64/SwiftMarshal.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftMarshal.build/Debug-linux-x86_64/swift-marshal-p.build/Objects-normal/x86_64/Version.o -index-unit-output-path /SwiftMarshal.build/Debug-linux-x86_64/swift-marshal-p.build/Objects-normal/x86_64/IndexedSyntaxMember.o -index-unit-output-path /SwiftMarshal.build/Debug-linux-x86_64/swift-marshal-p.build/Objects-normal/x86_64/MemberReorderingRewriter.o -index-unit-output-path /SwiftMarshal.build/Debug-linux-x86_64/swift-marshal-p.build/Objects-normal/x86_64/RewriteOutput.o -index-unit-output-path /SwiftMarshal.build/Debug-linux-x86_64/swift-marshal-p.build/Objects-normal/x86_64/RewritePlanOutput.o -index-unit-output-path /SwiftMarshal.build/Debug-linux-x86_64/swift-marshal-p.build/Objects-normal/x86_64/RewritePlanStage.o -index-unit-output-path /SwiftMarshal.build/Debug-linux-x86_64/swift-marshal-p.build/Objects-normal/x86_64/TypeRewritePlan.o -index-unit-output-path /SwiftMarshal.build/Debug-linux-x86_64/swift-marshal-p.build/Objects-normal/x86_64/SwiftMarshal.o -index-unit-output-path /SwiftMarshal.build/Debug-linux-x86_64/swift-marshal-p.build/Objects-normal/x86_64/Version.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux