The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WatchDuck, reference 0.1.3 (d530c6), with Swift 6.4 for Android on 22 Sep 2026 02:50:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BertanT/WatchDuck.git
Reference: 0.1.3
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/BertanT/WatchDuck
 * tag               0.1.3      -> FETCH_HEAD
HEAD is now at d530c63 Update changelog for release 0.1.3
Cloned https://github.com/BertanT/WatchDuck.git
Revision (git rev-parse @):
d530c6365f79301d8c2711a0c48cc6d8a9602cc0
SUCCESS checkout https://github.com/BertanT/WatchDuck.git at 0.1.3
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/BertanT/WatchDuck.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-argument-parser.git
[1/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (0.78s)
Fetching https://github.com/jpsim/Yams.git
[1/11861] Fetching yams
Fetched https://github.com/jpsim/Yams.git (1.14s)
Fetching https://github.com/JohnSundell/Plot.git
[1/2109] Fetching plot
Fetched https://github.com/JohnSundell/Plot.git (0.51s)
Fetching https://github.com/JohnSundell/ShellOut.git
[1/980] Fetching shellout
Fetched https://github.com/JohnSundell/ShellOut.git (0.99s)
Creating working copy for https://github.com/JohnSundell/Plot.git
Working copy of https://github.com/JohnSundell/Plot.git resolved at 0.14.0 (271926b)
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0 (e1577ac)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3 (3036ba9)
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.5.0 (41982a3)
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 245]
[Planning deferred tasks]
[54 / 101] WatchDuck_watchduck
[64 / 113] Yams
[67 / 122] CYaml
[70 / 122] CYaml
[73 / 122] ShellOut
[79 / 122] Plot
[88 / 122] Yams-product
[90 / 122] Yams-product
[93 / 122] Plot-product
[97 / 123] Plot
[102 / 125] ShellOut
[105 / 127] ArgumentParserToolInfo
[112 / 127]
[113 / 128] ArgumentParser
[116 / 137] ArgumentParser
[117 / 137] ArgumentParser
[118 / 137] ArgumentParser
[120 / 137] ArgumentParser
[121 / 137] ArgumentParser
[122 / 138] ArgumentParserToolInfo
[130 / 138] ArgumentParser
[131 / 139]
[134 / 148] watchduck-product
[135 / 149] watchduck-product
[136 / 149] watchduck-product
[138 / 149] watchduck-product
[139 / 149] watchduck-product
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

[140 / 150] watchduck-product
/host/spi-builder-workspace/Sources/Commands/Run.swift:29:46: error: type 'PackageResources' has no member 'defaultConfigURL'
 27 |         help: "The configuration JSON file path.",
 28 |         transform: URL.init(fileURLWithPath:))
 29 |     private var configURL = PackageResources.defaultConfigURL
    |                                              `- error: type 'PackageResources' has no member 'defaultConfigURL'
 30 |
 31 |     @Flag(
/host/spi-builder-workspace/Sources/Commands/Run.swift:22:8: error: type 'Run' does not conform to protocol 'Decodable'
 20 | import Foundation
 21 |
 22 | struct Run: AsyncParsableCommand {
    |        `- error: type 'Run' does not conform to protocol 'Decodable'
 23 |     static let configuration = CommandConfiguration(abstract: "Runs checks to update logs and the static webpage.")
 24 |
    :
 27 |         help: "The configuration JSON file path.",
 28 |         transform: URL.init(fileURLWithPath:))
 29 |     private var configURL = PackageResources.defaultConfigURL
    |                 `- note: cannot automatically synthesize 'Decodable' because '_' does not conform to 'Decodable'
 30 |
 31 |     @Flag(
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/Data/PackageResources.swift:111:68: error: cannot find 'defaultConfigURL' in scope
109 |
110 |                 \("!!! Please check the following before proceeding !!!".color(.red, bold: true))
111 |                 > WatchDuck will always use the configuration at \(defaultConfigURL.path) in system service mode.
    |                                                                    `- error: cannot find 'defaultConfigURL' in scope
112 |                     A sample configuration will be created there if it does not exist. To learn more about how to edit the configuration, see \(docsURL).
113 |
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/out/Intermediates.noindex/WatchDuck.build/Debug-android-aarch64/watchduck-p.build/DerivedSources/resource_bundle_accessor.swift /host/spi-builder-workspace/Sources/Checks/HTTPResponseCodeCheck.swift /host/spi-builder-workspace/Sources/Commands/Run.swift /host/spi-builder-workspace/Sources/Commands/ServiceInstall.swift /host/spi-builder-workspace/Sources/Commands/WatchDuck.swift /host/spi-builder-workspace/Sources/Data/AnyWDCheck.swift /host/spi-builder-workspace/Sources/Data/PackageResources.swift /host/spi-builder-workspace/Sources/Data/WDCheck.swift /host/spi-builder-workspace/Sources/Data/WDConfig.swift /host/spi-builder-workspace/Sources/Data/WDLog.swift /host/spi-builder-workspace/Sources/Data/WDOutage.swift /host/spi-builder-workspace/Sources/Data/WDStatus.swift /host/spi-builder-workspace/Sources/HTML/FileComponents.swift /host/spi-builder-workspace/Sources/HTML/WDHTML.swift /host/spi-builder-workspace/Sources/HTML/WDPageFooter.swift /host/spi-builder-workspace/Sources/HTML/WDPageHeader.swift /host/spi-builder-workspace/Sources/HTML/WDPageListSubtext.swift /host/spi-builder-workspace/Sources/HTML/WDPageStatusList.swift /host/spi-builder-workspace/Sources/Helpers/ANSIColors.swift /host/spi-builder-workspace/Sources/Helpers/CLISpinner.swift /host/spi-builder-workspace/Sources/Helpers/Extensions/Bundle+StaticURL.swift /host/spi-builder-workspace/Sources/Helpers/Extensions/Bundle+StaticURLs.swift /host/spi-builder-workspace/Sources/Helpers/Extensions/ClosedRange+ContainsRange.swift /host/spi-builder-workspace/Sources/Helpers/Extensions/Error+UnderlyingLocalizedDescription.swift /host/spi-builder-workspace/Sources/Helpers/Extensions/HTTPURLResponse+TextEncoding.swift /host/spi-builder-workspace/Sources/Helpers/Extensions/KeyedDecodingContainer+AssignIfPresent.swift /host/spi-builder-workspace/Sources/Helpers/Extensions/Sequence+Uniqued.swift /host/spi-builder-workspace/Sources/Helpers/Extensions/String+CFString.swift /host/spi-builder-workspace/Sources/Helpers/Extensions/String+Color+Bold.swift /host/spi-builder-workspace/Sources/Helpers/Extensions/String.Encoding+IANACharset.swift /host/spi-builder-workspace/Sources/Helpers/Extensions/Task+SleepTimeInterval.swift /host/spi-builder-workspace/Sources/Helpers/Extensions/URL+CurrentDirectory.swift /host/spi-builder-workspace/Sources/Helpers/Extensions/URL+StaticString.swift /host/spi-builder-workspace/Sources/Helpers/Extensions/URLRequest+PreferredTextEncoding.swift /host/spi-builder-workspace/Sources/Helpers/Extensions/URLSession+RetryingData.swift /host/spi-builder-workspace/Sources/Helpers/HTTPMethod.swift /host/spi-builder-workspace/Sources/Helpers/OSUtils.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/Yams/Sources/CYaml/include/module.modulemap -Xcc -fno-omit-frame-pointer -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/Yams/Sources/CYaml/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/WatchDuck.build/Debug-android-aarch64/watchduck-p.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/WatchDuck.build/Debug-android-aarch64/watchduck-p.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/WatchDuck.build/Debug-android-aarch64/watchduck-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name watchduck -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/WatchDuck.build/Debug-android-aarch64/watchduck-p.build/Objects-normal/aarch64/watchduck_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/WatchDuck.build/Debug-android-aarch64/watchduck-p.build/Objects-normal/aarch64/Modules/watchduck.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/WatchDuck.build/Debug-android-aarch64/watchduck-p.build/Objects-normal/aarch64/Modules/watchduck.swiftsourceinfo -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/WatchDuck.build/Debug-android-aarch64/watchduck-p.build/Objects-normal/aarch64/watchduck-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/WatchDuck.build/Debug-android-aarch64/watchduck-p.build/Objects-normal/aarch64/watchduck-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/WatchDuck.build/Debug-android-aarch64/watchduck-p.build/Objects-normal/aarch64/Modules/watchduck.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android