The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swiftui-buymeacoffee, reference main (9f0240), with Swift 6.4 for Wasm on 8 Nov 2026 09:30:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexandrehsaad/swiftui-buymeacoffee.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/alexandrehsaad/swiftui-buymeacoffee
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9f02404 docs: align tutorial chapter title
Cloned https://github.com/alexandrehsaad/swiftui-buymeacoffee.git
Revision (git rev-parse @):
9f024046d6fa082833abc98e2d5b476dc30d468e
SUCCESS checkout https://github.com/alexandrehsaad/swiftui-buymeacoffee.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/alexandrehsaad/swiftui-buymeacoffee.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:439c9a525449f13061cf4a8f755895df6bdc90ef7885bc03630392396f826d74
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/swiftlang/swift-docc-plugin.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/swiftlang/swift-format.git
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin.git (0.49s)
[1/15611] Fetching swift-format
Fetched https://github.com/swiftlang/swift-format.git (0.82s)
[1/16611] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (3.27s)
Computing version for https://github.com/swiftlang/swift-format.git
Computed https://github.com/swiftlang/swift-format.git at 603.0.0 (4.23s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/swiftlang/swift-markdown.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/7824] Fetching swift-markdown
[7669/27168] Fetching swift-markdown, swift-argument-parser
Fetched https://github.com/swiftlang/swift-markdown.git (0.86s)
Fetched https://github.com/apple/swift-argument-parser.git (0.86s)
[1/81882] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.51s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.5.0 (4.43s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3864] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.56s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.77s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.26s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.7 (0.15s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5669] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.44s)
Computing version for https://github.com/swiftlang/swift-markdown.git
Computed https://github.com/swiftlang/swift-markdown.git at 0.9.0 (0.65s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18677] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git (0.93s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.9.0 (1.12s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.15s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6183] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.67s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.2 (0.87s)
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.14s)
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.9.0
Creating working copy for https://github.com/swiftlang/swift-format.git
Working copy of https://github.com/swiftlang/swift-format.git resolved at 603.0.0
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.2
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/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at 0.9.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.7
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Creating working copy for https://github.com/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.16s)
Building for debugging...
[Constructing description]
[Planning deferred tasks]
warning: no rule to process file '/host/spi-builder-workspace/Sources/BuyMeACoffee/Resources/Localizable.xcstrings' of type 'text.json.xcstrings' for architecture 'wasm32'
warning: no rule to process file '/host/spi-builder-workspace/Sources/BuyMeACoffee/Resources/Assets.xcassets' of type 'folder.assetcatalog' for architecture 'wasm32'
[39 / 62] BuyMeACoffee
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButton/Models/BuyMeACoffeeBorder.swift:9:8: error: no such module 'SwiftUI'
 7 | // See CONTRIBUTORS.txt for the list of BuyMeACoffee project authors
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// The border treatment applied by a `BuyMeACoffeeButtonStyle`.
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/out/Intermediates.noindex/swiftui-buymeacoffee.build/Debug-webassembly-wasm32/BuyMeACoffee-t.build/DerivedSources/resource_bundle_accessor.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButton/Models/BuyMeACoffeeBorder.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButton/Models/BuyMeACoffeeFont.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButton/Models/BuyMeACoffeeIcon.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButton/Models/BuyMeACoffeeLabel.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButton/Models/BuyMeACoffeeText.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButton/Models/BuyMeACoffeeTint.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButton/Models/Color+BuyMeACoffee.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButton/Models/ControlSize+BuyMeACoffee.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButton/Models/DynamicTypeSize+BuyMeACoffee.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButton/Models/URL+BuyMeACoffee.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButton/Views/BuyMeACoffeeButton.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButton/Views/BuyMeACoffeeButtonLabel.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButton/Views/BuyMeACoffeeImage.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButton/Views/BuyMeACoffeeTitle.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButton/Views/EnvironmentValues+BuyMeACoffee.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonPreview/BuyMeACoffeeButtonPreview.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/ButtonStyle+BuyMeACoffeeButtonStyle.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/ButtonStyle+BuyMeACoffeeGlassButtonStyle.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeButtonStyle.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeGlassButtonStyle.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/View+BuyMeACoffee.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/Helpers/ButtonSizingFrameMaxWidthInfinity.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/Helpers/ColorScheme+CustomStringConvertible.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/Helpers/Locale+Values.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/Helpers/View+Backports.swift /host/spi-builder-workspace/Sources/BuyMeACoffee/Helpers/View+Helpers.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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_AVAILABLE -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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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/swiftui-buymeacoffee.build/Debug-webassembly-wasm32/BuyMeACoffee-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swiftui-buymeacoffee.build/Debug-webassembly-wasm32/BuyMeACoffee-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swiftui-buymeacoffee.build/Debug-webassembly-wasm32/BuyMeACoffee-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name BuyMeACoffee -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swiftui-buymeacoffee.build/Debug-webassembly-wasm32/BuyMeACoffee-t.build/Objects-normal/wasm32/BuyMeACoffee_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 -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swiftui-buymeacoffee.build/Debug-webassembly-wasm32/BuyMeACoffee-t.build/Objects-normal/wasm32/Modules/BuyMeACoffee.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swiftui-buymeacoffee.build/Debug-webassembly-wasm32/BuyMeACoffee-t.build/Objects-normal/wasm32/Modules/BuyMeACoffee.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swiftui-buymeacoffee.build/Debug-webassembly-wasm32/BuyMeACoffee-t.build/Objects-normal/wasm32/BuyMeACoffee-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swiftui-buymeacoffee.build/Debug-webassembly-wasm32/BuyMeACoffee-t.build/Objects-normal/wasm32/BuyMeACoffee-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swiftui-buymeacoffee.build/Debug-webassembly-wasm32/BuyMeACoffee-t.build/Objects-normal/wasm32/BuyMeACoffee-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swiftui-buymeacoffee.build/Debug-webassembly-wasm32/BuyMeACoffee-t.build/Objects-normal/wasm32/Modules/BuyMeACoffee.swiftmodule
[48 / 80] SnapshotTesting
error: Build failed
BUILD FAILURE 6.4 wasm