The Swift Package Index logo.Swift Package Index

Build Information

Failed to build webber-tools, reference master (d342e5), with Swift 6.4 for Wasm on 19 Sep 2026 23:04:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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/swifweb/webber-tools.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/swifweb/webber-tools
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d342e52 🛠 Improve swift errors printing
Cloned https://github.com/swifweb/webber-tools.git
Revision (git rev-parse @):
d342e526c7b924f5aef5d190e09a6370b098ea80
SUCCESS checkout https://github.com/swifweb/webber-tools.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/swifweb/webber-tools.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.11s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (1.31s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.0
Building for debugging...
[Pre-planning 1 / 185]
[Planning deferred tasks]
[30 / 468] CCryptoBoringSSLShims
[42 / 468] CCryptoBoringSSL
[49 / 468] CCryptoBoringSSL
[62 / 468] CCryptoBoringSSL
[70 / 468] CCryptoBoringSSL
[83 / 468] CCryptoBoringSSL
[93 / 468] CCryptoBoringSSL
[100 / 468] CCryptoBoringSSL
[108 / 468] CCryptoBoringSSL
[126 / 468] CCryptoBoringSSL
[136 / 468] CCryptoBoringSSL
[163 / 468] CCryptoBoringSSL
[179 / 468] CCryptoBoringSSL
[200 / 468] CCryptoBoringSSL
[206 / 468] CCryptoBoringSSL
[216 / 468] CCryptoBoringSSL
[234 / 468] CCryptoBoringSSL
[249 / 468] CCryptoBoringSSL
[264 / 468] CCryptoBoringSSL
[286 / 468] CCryptoBoringSSL
[304 / 468] CCryptoBoringSSL
[319 / 468] CCryptoBoringSSL
[331 / 468] CCryptoBoringSSL
[347 / 468] CCryptoBoringSSL
[364 / 468] CCryptoBoringSSL
[385 / 468] CCryptoBoringSSL
[402 / 468] CCryptoBoringSSL
[423 / 468] CCryptoBoringSSL
[437 / 468] CCryptoBoringSSL
[449 / 472] CCryptoBoringSSL
[450 / 472] CryptoBoringWrapper
[463 / 482] Crypto
[464 / 482] Crypto
[466 / 482] Crypto
[475 / 492] CryptoBoringWrapper
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/WebberTools/DirectoryMonitor.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile DirectoryMonitor.swift
/host/spi-builder-workspace/Sources/WebberTools/DirectoryMonitor.swift:11:30: error: cannot find 'DispatchQueue' in scope
  9 |
 10 | public class DirectoryMonitor {
 11 |     lazy var dispatchQueue = DispatchQueue(label: "xlivepreview.directorymonitor", attributes: .concurrent)
    |                              `- error: cannot find 'DispatchQueue' in scope
 12 |
 13 |     var fileDescriptor: Int32 = -1
/host/spi-builder-workspace/Sources/WebberTools/DirectoryMonitor.swift:32:19: warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 30 |         set {
 31 |             _childChanged = newValue
 32 |             Timer.scheduledTimer(withTimeInterval: 1, repeats: false) { _ in
    |                   `- warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 33 |                 guard self._childChanged else { return }
 34 |                 self._childChanged = false
/host/spi-builder-workspace/Sources/WebberTools/DirectoryMonitor.swift:47:29: warning: result of call to 'fileExists(atPath:isDirectory:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 45 |         self.url = url
 46 |         var isDir : ObjCBool = false
 47 |         FileManager.default.fileExists(atPath: url.path, isDirectory: &isDir)
    |                             `- warning: result of call to 'fileExists(atPath:isDirectory:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 48 |         self.mode = isDir.boolValue ? .dir : .file
 49 |         self.parent = parent
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/WebberTools/Bash.swift /host/spi-builder-workspace/Sources/WebberTools/CompilationError.swift /host/spi-builder-workspace/Sources/WebberTools/CompilationErrorsParser.swift -primary-file /host/spi-builder-workspace/Sources/WebberTools/DirectoryMonitor.swift /host/spi-builder-workspace/Sources/WebberTools/FS.swift /host/spi-builder-workspace/Sources/WebberTools/Preview.swift /host/spi-builder-workspace/Sources/WebberTools/String+SHA.swift /host/spi-builder-workspace/Sources/WebberTools/Swift.swift /host/spi-builder-workspace/Sources/WebberTools/SwiftPackage.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/webber-tools.build/Debug-webassembly-wasm32/WebberTools-t.build/Objects-normal/wasm32/DirectoryMonitor.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/webber-tools.build/Debug-webassembly-wasm32/WebberTools-t.build/Objects-normal/wasm32/DirectoryMonitor.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/webber-tools.build/Debug-webassembly-wasm32/WebberTools-t.build/Objects-normal/wasm32/DirectoryMonitor.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/webber-tools.build/Debug-webassembly-wasm32/WebberTools-t.build/Objects-normal/wasm32/DirectoryMonitor.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 -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-crypto/Sources/CCryptoBoringSSLShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/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-crypto/Sources/CCryptoBoringSSLShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/webber-tools.build/Debug-webassembly-wasm32/WebberTools-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/webber-tools.build/Debug-webassembly-wasm32/WebberTools-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/webber-tools.build/Debug-webassembly-wasm32/WebberTools-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WebberTools -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/webber-tools.build/Debug-webassembly-wasm32/WebberTools-t.build/Objects-normal/wasm32/WebberTools_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/webber-tools.build/Debug-webassembly-wasm32/WebberTools-t.build/Objects-normal/wasm32/DirectoryMonitor.o -index-unit-output-path /webber-tools.build/Debug-webassembly-wasm32/WebberTools-t.build/Objects-normal/wasm32/DirectoryMonitor.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm