Build Information
Failed to build Subtweak, reference main (5ceadc), with Swift 6.4 for Wasm on 19 Sep 2026 19:25:39 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: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: 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/juri/subtweak
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5ceadc4 Try disabling setup-swift
Cloned https://github.com/juri/subtweak.git
Revision (git rev-parse @):
5ceadc45871dd781a128ec104b3d1c482b22cf21
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/juri/subtweak.git at main
========================================
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-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: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-custom-dump.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/pointfreeco/swift-parsing.git
[1/5666] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump.git (0.48s)
[1/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (1.45s)
[1/98270] Fetching swift-parsing
Fetched https://github.com/pointfreeco/swift-parsing.git (3.60s)
Computing version for https://github.com/pointfreeco/swift-parsing.git
Computed https://github.com/pointfreeco/swift-parsing.git at 0.15.2 (3.81s)
Fetching https://github.com/pointfreeco/swift-case-paths
[1/5332] Fetching swift-case-paths
Fetched https://github.com/pointfreeco/swift-case-paths (0.52s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.10.0 (1.64s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
Fetching https://github.com/swiftlang/swift-syntax
[1/6136] Fetching swift-issue-reporting
[6137/86120] Fetching swift-issue-reporting, swift-syntax
Fetched https://github.com/pointfreeco/swift-issue-reporting (2.95s)
Fetched https://github.com/swiftlang/swift-syntax (2.97s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.0 (3.24s)
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.19s)
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.20s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (1.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/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-parsing.git
Working copy of https://github.com/pointfreeco/swift-parsing.git resolved at 0.15.2
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
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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 975]
[Planning deferred tasks]
[199 / 421] SwiftSyntax602
[249 / 440] SwiftSyntax510
[249 / 440] Subtitles
[260 / 440] IssueReporting
[261 / 440] SwiftSyntax602
[269 / 442] SwiftSyntax602
[277 / 444] SwiftSyntax600
[286 / 447] IssueReporting
[288 / 447] CasePathsCore
[293 / 447] SwiftSyntax601
[297 / 448]
[299 / 458] CasePathsCore
[306 / 469] SwiftSyntax
[306 / 469] ArgumentParserToolInfo
[309 / 470] CasePathsCore
[314 / 470] Subtitles
[321 / 470] CasePathsCore
[324 / 470] CasePathsCore
[326 / 470] CasePathsCore
[330 / 471] ArgumentParserToolInfo
[338 / 481] ArgumentParser
[339 / 481] ArgumentParser
[340 / 481] ArgumentParser
[345 / 481] ArgumentParser
[346 / 481] ArgumentParser-product
[348 / 481] ArgumentParser-product
[348 / 481] ArgumentParser
[351 / 482] SwiftSyntax
[363 / 510] SwiftDiagnostics
[366 / 510] SwiftDiagnostics
[369 / 510] SwiftDiagnostics
[383 / 510] SwiftParser
[385 / 510] SwiftParser
[386 / 510] SwiftParser
[387 / 510] SwiftParser
[388 / 510] SwiftDiagnostics
[389 / 510] SwiftOperators
[391 / 510] SwiftDiagnostics-product
[393 / 510] SwiftDiagnostics
[395 / 510] SwiftBasicFormat
[397 / 510] SwiftBasicFormat
[398 / 510] SwiftParserDiagnostics
[402 / 512]
[405 / 531] SwiftBasicFormat
[406 / 531] SwiftBasicFormat
[408 / 532] SwiftParserDiagnostics
[420 / 532] SwiftParserDiagnostics
[421 / 532] SwiftSyntaxBuilder
[422 / 532] SwiftSyntaxBuilder
[424 / 532] SwiftOperators
[425 / 533] SwiftParser
[427 / 533] SwiftParserDiagnostics
[429 / 533] SwiftOperators
[432 / 533] SwiftOperators
[433 / 533] SwiftOperators
[439 / 543] SwiftSyntaxBuilder
[440 / 543] SwiftSyntaxBuilder
[441 / 544] SwiftSyntaxBuilder
[443 / 544] SwiftSyntaxBuilder
[445 / 544] SwiftSyntaxBuilder
[450 / 544] SwiftSyntaxBuilder
[459 / 555] SwiftIfConfig
[460 / 555] SwiftIfConfig
[461 / 556] SwiftSyntaxBuilder
[467 / 556] SwiftIfConfig
[475 / 566] SwiftSyntaxMacros
[482 / 566] SwiftSyntaxMacros
[487 / 567] SwiftSyntaxMacroExpansion
[496 / 578] SwiftSyntaxMacroExpansion
[499 / 578] SwiftSyntaxMacroExpansion
[500 / 578] SwiftSyntaxMacroExpansion
[509 / 588] SwiftCompilerPluginMessageHandling
[512 / 588] SwiftCompilerPluginMessageHandling
[513 / 588] SwiftCompilerPluginMessageHandling
[515 / 588] SwiftCompilerPluginMessageHandling
[523 / 591] SwiftCompilerPlugin
[533 / 595] CasePathsMacrosSupport
[538 / 595] SwiftSyntaxMacroExpansion
[540 / 596] 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
[595 / 623] Parsing
[596 / 623] CasePaths
[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 /host/spi-builder-workspace/Sources/SubEdit/Encoding.swift -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 6 -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