Build Information
Failed to build archer, reference 0.1.0 (baf588), with Swift 6.4 for Wasm on 21 Sep 2026 20:12:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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: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/tayloraswift/archer.git
Reference: 0.1.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/tayloraswift/archer
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at baf5882 switch S3 bucket
Cloned https://github.com/tayloraswift/archer.git
Revision (git rev-parse @):
baf58823159522c7095f6d1544be1d2dd4b83a3e
SUCCESS checkout https://github.com/tayloraswift/archer.git at 0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/tayloraswift/archer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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: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/tayloraswift/swift-io
[1/697] Fetching swift-io
Fetched https://github.com/tayloraswift/swift-io (0.39s)
Fetching https://github.com/swiftwasm/WasmTransformer
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
[1/809] Fetching wasmtransformer
[810/19727] Fetching wasmtransformer, swift-argument-parser
[4405/26625] Fetching wasmtransformer, swift-argument-parser, swift-system
Fetched https://github.com/swiftwasm/WasmTransformer (0.77s)
Fetched https://github.com/apple/swift-system (0.77s)
Fetched https://github.com/apple/swift-argument-parser (0.77s)
Computing version for https://github.com/swiftwasm/WasmTransformer
Computed https://github.com/swiftwasm/WasmTransformer at 0.5.0 (1.82s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.22s)
Creating working copy for https://github.com/swiftwasm/WasmTransformer
Working copy of https://github.com/swiftwasm/WasmTransformer resolved at 0.5.0
Creating working copy for https://github.com/tayloraswift/swift-io
Working copy of https://github.com/tayloraswift/swift-io resolved at master (413ba5a)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 334]
[Planning deferred tasks]
[65 / 126] ArgumentParserToolInfo
[75 / 144] SystemPackage
[76 / 152] SystemPackage
[77 / 152] ArgumentParserToolInfo
[88 / 152] WasmTransformer
[88 / 152] SystemPackage
[100 / 152] WasmTransformer
[101 / 152] SystemCalls
[105 / 152] SystemPackage
[106 / 152] SystemPackage
[107 / 152] SystemPackage
[108 / 152] SystemPackage
[110 / 153] SystemPackage-product
[113 / 154] SystemCalls
[117 / 154] WasmTransformer
[123 / 156]
[126 / 166] SystemIO
[127 / 175] ArgumentParser
[128 / 175] SystemIO
[129 / 175] SystemIO
[132 / 175] SystemIO
[134 / 175] SystemIO
[142 / 175] SystemIO-product
[145 / 175] ArgumentParser
[147 / 177] SystemPackage
[150 / 177] ArgumentParser
[158 / 178] SystemPackage
[161 / 181] System_ArgumentParser
[168 / 187] SystemPackage-product
[174 / 188] SystemIO
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile Archer.Bundle.swift
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:26:21: [1;31merror: [1;39mvalue of type 'FilePath.Directory' has no member 'remove'[0;0m
[0;36m24 |[0;0m {
[0;36m25 |[0;0m let scratch:FilePath.Directory = self.directory / ".archer"
[0;36m26 |[0;0m try [4;39mscratch[0;0m.[4;39mremove[0;0m()
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type 'FilePath.Directory' has no member 'remove'[0;0m
[0;36m27 |[0;0m try scratch.create()
[0;36m28 |[0;0m
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:34:27: [1;31merror: [1;39m'SystemProcess' initializer is inaccessible due to 'private' protection level[0;0m
[0;36m32 |[0;0m let mainJS:FilePath = self.directory / javascript
[0;36m33 |[0;0m
[0;36m34 |[0;0m try SystemProcess.[4;39minit[0;0m(command: "cp", "-rf", "\(resources)", "\(scratch)")()
[0;36m|[0;0m `- [1;31merror: [1;39m'SystemProcess' initializer is inaccessible due to 'private' protection level[0;0m
[0;36m35 |[0;0m try SystemProcess.init(command: "esbuild",
[0;36m36 |[0;0m arguments: [
SystemIO.SystemProcess.init:2:9: [1;39mnote: [1;39m'init(invocation:id:)' declared here[0;0m
[0;36m1 |[0;0m struct SystemProcess {
[0;36m2 |[0;0m private init(invocation: [String], id: pid_t)}
[0;36m|[0;0m `- [1;39mnote: [1;39m'init(invocation:id:)' declared here[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:34:31: [1;31merror: [1;39mextra arguments at positions #1, #2, #3, #4 in call[0;0m
[0;36m32 |[0;0m let mainJS:FilePath = self.directory / javascript
[0;36m33 |[0;0m
[0;36m34 |[0;0m try SystemProcess.init(command: "cp", "-rf", "\(resources)", "\(scratch)")()
[0;36m|[0;0m `- [1;31merror: [1;39mextra arguments at positions #1, #2, #3, #4 in call[0;0m
[0;36m35 |[0;0m try SystemProcess.init(command: "esbuild",
[0;36m36 |[0;0m arguments: [
SystemIO.SystemProcess.init:2:9: [1;39mnote: [1;39m'init(invocation:id:)' declared here[0;0m
[0;36m1 |[0;0m struct SystemProcess {
[0;36m2 |[0;0m private init(invocation: [String], id: pid_t)}
[0;36m|[0;0m `- [1;39mnote: [1;39m'init(invocation:id:)' declared here[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:34:31: [1;31merror: [1;39mmissing arguments for parameters 'invocation', 'id' in call[0;0m
[0;36m32 |[0;0m let mainJS:FilePath = self.directory / javascript
[0;36m33 |[0;0m
[0;36m34 |[0;0m try SystemProcess.init(command: "cp", "-rf", "\(resources)", "\(scratch)")()
[0;36m|[0;0m `- [1;31merror: [1;39mmissing arguments for parameters 'invocation', 'id' in call[0;0m
[0;36m35 |[0;0m try SystemProcess.init(command: "esbuild",
[0;36m36 |[0;0m arguments: [
SystemIO.SystemProcess.init:2:9: [1;39mnote: [1;39m'init(invocation:id:)' declared here[0;0m
[0;36m1 |[0;0m struct SystemProcess {
[0;36m2 |[0;0m private init(invocation: [String], id: pid_t)}
[0;36m|[0;0m `- [1;39mnote: [1;39m'init(invocation:id:)' declared here[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:34:27: [1;31merror: [1;39mcannot call value of non-function type 'SystemProcess'[0;0m
[0;36m32 |[0;0m let mainJS:FilePath = self.directory / javascript
[0;36m33 |[0;0m
[0;36m34 |[0;0m try SystemProcess.init(command: "cp", "-rf", "\(resources)", "\(scratch)")()
[0;36m|[0;0m `- [1;31merror: [1;39mcannot call value of non-function type 'SystemProcess'[0;0m
[0;36m35 |[0;0m try SystemProcess.init(command: "esbuild",
[0;36m36 |[0;0m arguments: [
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:35:31: [1;31merror: [1;39mextra arguments at positions #1, #2, #3 in call[0;0m
[0;36m33 |[0;0m
[0;36m34 |[0;0m try SystemProcess.init(command: "cp", "-rf", "\(resources)", "\(scratch)")()
[0;36m35 |[0;0m try SystemProcess.init(command: "esbuild",
[0;36m|[0;0m `- [1;31merror: [1;39mextra arguments at positions #1, #2, #3 in call[0;0m
[0;36m36 |[0;0m arguments: [
[0;36m37 |[0;0m "--bundle",
SystemIO.SystemProcess.init:2:9: [1;39mnote: [1;39m'init(invocation:id:)' declared here[0;0m
[0;36m1 |[0;0m struct SystemProcess {
[0;36m2 |[0;0m private init(invocation: [String], id: pid_t)}
[0;36m|[0;0m `- [1;39mnote: [1;39m'init(invocation:id:)' declared here[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:35:31: [1;31merror: [1;39mmissing arguments for parameters 'invocation', 'id' in call[0;0m
[0;36m33 |[0;0m
[0;36m34 |[0;0m try SystemProcess.init(command: "cp", "-rf", "\(resources)", "\(scratch)")()
[0;36m35 |[0;0m try SystemProcess.init(command: "esbuild",
[0;36m|[0;0m `- [1;31merror: [1;39mmissing arguments for parameters 'invocation', 'id' in call[0;0m
[0;36m36 |[0;0m arguments: [
[0;36m37 |[0;0m "--bundle",
SystemIO.SystemProcess.init:2:9: [1;39mnote: [1;39m'init(invocation:id:)' declared here[0;0m
[0;36m1 |[0;0m struct SystemProcess {
[0;36m2 |[0;0m private init(invocation: [String], id: pid_t)}
[0;36m|[0;0m `- [1;39mnote: [1;39m'init(invocation:id:)' declared here[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:35:27: [1;31merror: [1;39mcannot call value of non-function type 'SystemProcess'[0;0m
[0;36m33 |[0;0m
[0;36m34 |[0;0m try SystemProcess.init(command: "cp", "-rf", "\(resources)", "\(scratch)")()
[0;36m35 |[0;0m try SystemProcess.init(command: "esbuild",
[0;36m|[0;0m `- [1;31merror: [1;39mcannot call value of non-function type 'SystemProcess'[0;0m
[0;36m36 |[0;0m arguments: [
[0;36m37 |[0;0m "--bundle",
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:35:27: [1;31merror: [1;39m'SystemProcess' initializer is inaccessible due to 'private' protection level[0;0m
[0;36m33 |[0;0m
[0;36m34 |[0;0m try SystemProcess.init(command: "cp", "-rf", "\(resources)", "\(scratch)")()
[0;36m35 |[0;0m try SystemProcess.[4;39minit[0;0m(command: "esbuild",
[0;36m|[0;0m `- [1;31merror: [1;39m'SystemProcess' initializer is inaccessible due to 'private' protection level[0;0m
[0;36m36 |[0;0m arguments: [
[0;36m37 |[0;0m "--bundle",
SystemIO.SystemProcess.init:2:9: [1;39mnote: [1;39m'init(invocation:id:)' declared here[0;0m
[0;36m1 |[0;0m struct SystemProcess {
[0;36m2 |[0;0m private init(invocation: [String], id: pid_t)}
[0;36m|[0;0m `- [1;39mnote: [1;39m'init(invocation:id:)' declared here[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:45:21: [1;31merror: [1;39mvalue of type 'FilePath.Directory' has no member 'remove'[0;0m
[0;36m43 |[0;0m echo: true)()
[0;36m44 |[0;0m
[0;36m45 |[0;0m try [4;39mscratch[0;0m.[4;39mremove[0;0m()
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type 'FilePath.Directory' has no member 'remove'[0;0m
[0;36m46 |[0;0m }
[0;36m47 |[0;0m }
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift /host/spi-builder-workspace/Sources/Archer/Archer.Crusher.swift /host/spi-builder-workspace/Sources/Archer/Archer.swift /host/spi-builder-workspace/Sources/Archer/_CartonResources\ \(gen\).swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/archer.build/Debug-webassembly-wasm32/Archer-t.build/Objects-normal/wasm32/Archer.Bundle.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/archer.build/Debug-webassembly-wasm32/Archer-t.build/Objects-normal/wasm32/Archer.Bundle.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/archer.build/Debug-webassembly-wasm32/Archer-t.build/Objects-normal/wasm32/Archer.Bundle.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/archer.build/Debug-webassembly-wasm32/Archer-t.build/Objects-normal/wasm32/Archer.Bundle.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 DEBUG -D Xcode -serialize-debugging-options -enable-upcoming-feature ExistentialAny -enable-experimental-feature StrictConcurrency -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 -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include/module.modulemap -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-system/Sources/CSystem/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/archer.build/Debug-webassembly-wasm32/Archer-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/archer.build/Debug-webassembly-wasm32/Archer-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/archer.build/Debug-webassembly-wasm32/Archer-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Archer -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/archer.build/Debug-webassembly-wasm32/Archer-t.build/Objects-normal/wasm32/Archer_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/archer.build/Debug-webassembly-wasm32/Archer-t.build/Objects-normal/wasm32/Archer.Bundle.o -index-unit-output-path /archer.build/Debug-webassembly-wasm32/Archer-t.build/Objects-normal/wasm32/Archer.Bundle.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm