The Swift Package Index logo.Swift Package Index

Build Information

Failed to build archer, reference master (3aead0), with Swift 6.4 for Wasm on 21 Sep 2026 20:12:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/archer.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3aead02 adopt withSingleDash: true
Cloned https://github.com/tayloraswift/archer.git
Revision (git rev-parse @):
3aead02a105ebf24a150f23498589d5ca8037d41
SUCCESS checkout https://github.com/tayloraswift/archer.git at master
========================================
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-53886769-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/tayloraswift/swift-io
[1/697] Fetching swift-io
Fetched https://github.com/tayloraswift/swift-io (0.46s)
Fetching https://github.com/swiftwasm/WasmTransformer
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser
[1/809] Fetching wasmtransformer
[810/7707] Fetching wasmtransformer, swift-system
[7708/26625] Fetching wasmtransformer, swift-system, swift-argument-parser
Fetched https://github.com/swiftwasm/WasmTransformer (1.08s)
Fetched https://github.com/apple/swift-system (1.08s)
Fetched https://github.com/apple/swift-argument-parser (1.08s)
Computing version for https://github.com/swiftwasm/WasmTransformer
Computed https://github.com/swiftwasm/WasmTransformer at 0.5.0 (2.16s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.18s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.21s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
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/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)
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 334]
[Finalizing plan]
[65 / 126] _GitVersion
[75 / 152] ArgumentParserToolInfo
[77 / 152] ArgumentParserToolInfo
[94 / 152] WasmTransformer
[94 / 152] SystemCalls
[102 / 152] WasmTransformer-product
[104 / 152] WasmTransformer
[105 / 153] SystemPackage
[107 / 153] SystemPackage
[109 / 153] SystemPackage-product
[112 / 154] WasmTransformer
[114 / 154] WasmTransformer
[117 / 155] WasmTransformer
[124 / 157] SystemPackage
[129 / 175] ArgumentParser
[132 / 175] SystemIO
[136 / 175] ArgumentParser
[137 / 175] ArgumentParser
[139 / 175] SystemIO
[144 / 175] SystemIO-product
[151 / 177] SystemPackage
[157 / 177] ArgumentParser-product
[161 / 181] System_ArgumentParser
[172 / 188] System_ArgumentParser
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: error: value of type 'FilePath.Directory' has no member 'remove'
24 |     {
25 |         let scratch:FilePath.Directory = self.directory / ".archer"
26 |         try scratch.remove()
   |                     `- error: value of type 'FilePath.Directory' has no member 'remove'
27 |         try scratch.create()
28 |
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:34:31: error: extra arguments at positions #1, #2, #3, #4 in call
32 |         let mainJS:FilePath = self.directory / javascript
33 |
34 |         try SystemProcess.init(command: "cp", "-rf", "\(resources)", "\(scratch)")()
   |                               `- error: extra arguments at positions #1, #2, #3, #4 in call
35 |         try SystemProcess.init(command: "esbuild",
36 |             arguments: [
SystemIO.SystemProcess.init:2:9: note: 'init(invocation:id:)' declared here
1 | struct SystemProcess {
2 | private init(invocation: [String], id: pid_t)}
  |         `- note: 'init(invocation:id:)' declared here
3 |
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:34:31: error: missing arguments for parameters 'invocation', 'id' in call
32 |         let mainJS:FilePath = self.directory / javascript
33 |
34 |         try SystemProcess.init(command: "cp", "-rf", "\(resources)", "\(scratch)")()
   |                               `- error: missing arguments for parameters 'invocation', 'id' in call
35 |         try SystemProcess.init(command: "esbuild",
36 |             arguments: [
SystemIO.SystemProcess.init:2:9: note: 'init(invocation:id:)' declared here
1 | struct SystemProcess {
2 | private init(invocation: [String], id: pid_t)}
  |         `- note: 'init(invocation:id:)' declared here
3 |
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:34:27: error: cannot call value of non-function type 'SystemProcess'
32 |         let mainJS:FilePath = self.directory / javascript
33 |
34 |         try SystemProcess.init(command: "cp", "-rf", "\(resources)", "\(scratch)")()
   |                           `- error: cannot call value of non-function type 'SystemProcess'
35 |         try SystemProcess.init(command: "esbuild",
36 |             arguments: [
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:34:27: error: 'SystemProcess' initializer is inaccessible due to 'private' protection level
32 |         let mainJS:FilePath = self.directory / javascript
33 |
34 |         try SystemProcess.init(command: "cp", "-rf", "\(resources)", "\(scratch)")()
   |                           `- error: 'SystemProcess' initializer is inaccessible due to 'private' protection level
35 |         try SystemProcess.init(command: "esbuild",
36 |             arguments: [
SystemIO.SystemProcess.init:2:9: note: 'init(invocation:id:)' declared here
1 | struct SystemProcess {
2 | private init(invocation: [String], id: pid_t)}
  |         `- note: 'init(invocation:id:)' declared here
3 |
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:35:27: error: cannot call value of non-function type 'SystemProcess'
33 |
34 |         try SystemProcess.init(command: "cp", "-rf", "\(resources)", "\(scratch)")()
35 |         try SystemProcess.init(command: "esbuild",
   |                           `- error: cannot call value of non-function type 'SystemProcess'
36 |             arguments: [
37 |                 "--bundle",
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:35:27: error: 'SystemProcess' initializer is inaccessible due to 'private' protection level
33 |
34 |         try SystemProcess.init(command: "cp", "-rf", "\(resources)", "\(scratch)")()
35 |         try SystemProcess.init(command: "esbuild",
   |                           `- error: 'SystemProcess' initializer is inaccessible due to 'private' protection level
36 |             arguments: [
37 |                 "--bundle",
SystemIO.SystemProcess.init:2:9: note: 'init(invocation:id:)' declared here
1 | struct SystemProcess {
2 | private init(invocation: [String], id: pid_t)}
  |         `- note: 'init(invocation:id:)' declared here
3 |
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:35:31: error: extra arguments at positions #1, #2, #3 in call
33 |
34 |         try SystemProcess.init(command: "cp", "-rf", "\(resources)", "\(scratch)")()
35 |         try SystemProcess.init(command: "esbuild",
   |                               `- error: extra arguments at positions #1, #2, #3 in call
36 |             arguments: [
37 |                 "--bundle",
SystemIO.SystemProcess.init:2:9: note: 'init(invocation:id:)' declared here
1 | struct SystemProcess {
2 | private init(invocation: [String], id: pid_t)}
  |         `- note: 'init(invocation:id:)' declared here
3 |
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:35:31: error: missing arguments for parameters 'invocation', 'id' in call
33 |
34 |         try SystemProcess.init(command: "cp", "-rf", "\(resources)", "\(scratch)")()
35 |         try SystemProcess.init(command: "esbuild",
   |                               `- error: missing arguments for parameters 'invocation', 'id' in call
36 |             arguments: [
37 |                 "--bundle",
SystemIO.SystemProcess.init:2:9: note: 'init(invocation:id:)' declared here
1 | struct SystemProcess {
2 | private init(invocation: [String], id: pid_t)}
  |         `- note: 'init(invocation:id:)' declared here
3 |
/host/spi-builder-workspace/Sources/Archer/Archer.Bundle.swift:45:21: error: value of type 'FilePath.Directory' has no member 'remove'
43 |             echo: true)()
44 |
45 |         try scratch.remove()
   |                     `- error: value of type 'FilePath.Directory' has no member 'remove'
46 |     }
47 | }
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