Build Information
Failed to build Subtweak, reference 0.2.0 (770d1a), with Swift 6.4 for Wasm on 19 Sep 2026 19:25:38 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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/juri/subtweak.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/juri/subtweak
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 770d1a6 Add a missing period from help
Cloned https://github.com/juri/subtweak.git
Revision (git rev-parse @):
770d1a6db2f9954f876a6b3d7f6995a1c7e69da5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/juri/subtweak.git at 0.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/juri/subtweak.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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/pointfreeco/swift-parsing.git
Fetching https://github.com/pointfreeco/swift-custom-dump.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/5666] Fetching swift-custom-dump
[5667/24584] Fetching swift-custom-dump, swift-argument-parser
Fetched https://github.com/pointfreeco/swift-custom-dump.git (0.74s)
Fetched https://github.com/apple/swift-argument-parser.git (0.74s)
[1/98270] Fetching swift-parsing
Fetched https://github.com/pointfreeco/swift-parsing.git (3.73s)
Computing version for https://github.com/pointfreeco/swift-parsing.git
Computed https://github.com/pointfreeco/swift-parsing.git at 0.15.2 (3.96s)
Fetching https://github.com/pointfreeco/swift-case-paths
[1/5332] Fetching swift-case-paths
Fetched https://github.com/pointfreeco/swift-case-paths (0.50s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.10.0 (1.65s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6136] Fetching swift-issue-reporting
[6137/86120] Fetching swift-issue-reporting, swift-syntax
Fetched https://github.com/pointfreeco/swift-issue-reporting (2.91s)
Fetched https://github.com/swiftlang/swift-syntax (2.93s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.0 (3.17s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.17s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (1.15s)
Computing version for https://github.com/pointfreeco/swift-custom-dump.git
Computed https://github.com/pointfreeco/swift-custom-dump.git at 1.7.3 (0.18s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.0
Creating working copy for https://github.com/pointfreeco/swift-parsing.git
Working copy of https://github.com/pointfreeco/swift-parsing.git resolved at 0.15.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump.git
Working copy of https://github.com/pointfreeco/swift-custom-dump.git resolved at 1.7.3
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.10.0
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 975]
[Planning deferred tasks]
[200 / 420] SwiftSyntax602
[247 / 427] Subtitles
[248 / 427] Subtitles
[263 / 443] SwiftSyntax509
[277 / 446] SwiftSyntax510
[282 / 447] ArgumentParserToolInfo
[288 / 447] SwiftSyntax602
[290 / 447] SwiftSyntax602
[293 / 447] IssueReporting
[299 / 457] SwiftSyntax
[305 / 459] SwiftSyntax
[306 / 460] SwiftSyntax
[307 / 460] Subtitles
[313 / 460]
[320 / 480] ArgumentParser
[322 / 480] CasePathsCore
[324 / 480] CasePathsCore
[330 / 480] CasePathsCore
[331 / 480] CasePathsCore
[334 / 480] ArgumentParser
[342 / 481] ArgumentParser
[343 / 481] ArgumentParser-product
[344 / 481] ArgumentParser-product
[345 / 481] ArgumentParser-product
[347 / 481] ArgumentParser
[347 / 481]
[348 / 481] ArgumentParser
[351 / 482] SwiftSyntax
[364 / 510] SwiftParser
[365 / 510] SwiftDiagnostics
[372 / 510] SwiftBasicFormat
[377 / 510] SwiftParser
[377 / 510] SwiftSyntax
[380 / 510] SwiftParser
[381 / 510] SwiftParser
[383 / 510] SwiftParser
[387 / 510] SwiftParser
[390 / 510] SwiftDiagnostics
[391 / 510] SwiftDiagnostics
[393 / 510] SwiftOperators
[396 / 510] SwiftParserDiagnostics
[397 / 510] SwiftDiagnostics
[399 / 510] SwiftBasicFormat
[406 / 531] SwiftParserDiagnostics
[408 / 532] SwiftParserDiagnostics
[409 / 532] SwiftParserDiagnostics
[410 / 532] SwiftOperators
[421 / 533] SwiftSyntaxBuilder
[422 / 533] SwiftSyntaxBuilder
[424 / 533] SwiftParser
[428 / 533] SwiftOperators
[431 / 533] SwiftOperators
[432 / 533] SwiftOperators
[434 / 533]
[439 / 543] SwiftSyntaxBuilder
[441 / 544] SwiftSyntaxBuilder
[442 / 544] SwiftSyntaxBuilder
[445 / 544] SwiftSyntaxBuilder
[449 / 544] SwiftSyntaxBuilder
[455 / 546]
[458 / 555] SwiftIfConfig
[460 / 555] SwiftIfConfig
[462 / 555] SwiftIfConfig
[464 / 555] SwiftIfConfig
[470 / 556]
[472 / 565] SwiftSyntaxMacros
[479 / 566] SwiftSyntaxMacros
[487 / 568]
[494 / 577] SwiftSyntaxMacroExpansion
[498 / 578] SwiftSyntaxMacroExpansion
[499 / 578] SwiftSyntaxMacros
[510 / 588] SwiftCompilerPluginMessageHandling
[512 / 588] SwiftSyntaxMacroExpansion
[514 / 588] SwiftCompilerPluginMessageHandling
[516 / 588] SwiftCompilerPluginMessageHandling
[523 / 591] SwiftCompilerPlugin
[531 / 594] SwiftCompilerPlugin
[533 / 595] CasePathsMacrosSupport
[538 / 595] SwiftCompilerPluginMessageHandling
[540 / 596] CasePathsMacrosSupport
[542 / 597] SwiftCompilerPluginMessageHandling
[544 / 598] SwiftSyntax
[547 / 599] SwiftSyntax
[554 / 599] SwiftIfConfig
[564 / 600] CasePathsMacros
[568 / 603] CasePathsMacros
[572 / 604] CasePathsMacros
[580 / 612] CasePaths
[586 / 613] CasePaths
[594 / 622] Parsing
[594 / 623] Parsing
[598 / 623] Parsing
[598 / 624] Parsing
[611 / 629] SRTParse
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/SubEdit/IO.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile IO.swift
/host/spi-builder-workspace/Sources/SubEdit/IO.swift:34:47: [1;31merror: [1;39m'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported[0;0m
[0;36m32 |[0;0m try FileHandle.standardOutput.write(contentsOf: data)
[0;36m33 |[0;0m case let .url(url):
[0;36m34 |[0;0m try data.write(to: url, options: .[4;39matomic[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39m'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported[0;0m
[0;36m35 |[0;0m }
[0;36m36 |[0;0m }
FoundationEssentials.Data.WritingOptions.atomic:4:23: [1;39mnote: [1;39m'atomic' has been explicitly marked unavailable here[0;0m
[0;36m2 |[0;0m struct WritingOptions {
[0;36m3 |[0;0m @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
[0;36m4 |[0;0m public static let atomic: Data.WritingOptions }
[0;36m|[0;0m `- [1;39mnote: [1;39m'atomic' has been explicitly marked unavailable here[0;0m
[0;36m5 |[0;0m }
[0;36m6 |[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/SubEdit/IO.swift /host/spi-builder-workspace/Sources/SubEdit/SubEditor.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Subtweak.build/Debug-webassembly-wasm32/SubEdit-t.build/Objects-normal/wasm32/IO.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Subtweak.build/Debug-webassembly-wasm32/SubEdit-t.build/Objects-normal/wasm32/IO.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Subtweak.build/Debug-webassembly-wasm32/SubEdit-t.build/Objects-normal/wasm32/IO.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Subtweak.build/Debug-webassembly-wasm32/SubEdit-t.build/Objects-normal/wasm32/IO.dia -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -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 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/CasePathsMacros\#CasePathsMacros -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 -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -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-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Subtweak.build/Debug-webassembly-wasm32/SubEdit-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Subtweak.build/Debug-webassembly-wasm32/SubEdit-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Subtweak.build/Debug-webassembly-wasm32/SubEdit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SubEdit -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Subtweak.build/Debug-webassembly-wasm32/SubEdit-t.build/Objects-normal/wasm32/SubEdit_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/Subtweak.build/Debug-webassembly-wasm32/SubEdit-t.build/Objects-normal/wasm32/IO.o -index-unit-output-path /Subtweak.build/Debug-webassembly-wasm32/SubEdit-t.build/Objects-normal/wasm32/IO.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm