Build Information
Failed to build CoffeeCraft, reference 0.2.2 (5b6d2b), with Swift 6.3 for Wasm on 13 Apr 2026 12:19:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ygee07/CoffeeCraft.git
Reference: 0.2.2
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/ygee07/CoffeeCraft
* tag 0.2.2 -> FETCH_HEAD
HEAD is now at 5b6d2b7 feat: initialize date with integer
Cloned https://github.com/ygee07/CoffeeCraft.git
Revision (git rev-parse @):
5b6d2b7239b93a41da1c3952b7934c3b7552f92d
SUCCESS checkout https://github.com/ygee07/CoffeeCraft.git at 0.2.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/ygee07/CoffeeCraft.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/4] Copying Assets.xcassets
[1/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/17] Emitting module CoffeeUI
/host/spi-builder-workspace/Sources/CoffeeUI/BackgroundView.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// View with a colored background
[6/18] Compiling CoffeeUI BoxItem.swift
/host/spi-builder-workspace/Sources/CoffeeUI/BackgroundView.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// View with a colored background
[7/18] Compiling CoffeeUI BackgroundView.swift
/host/spi-builder-workspace/Sources/CoffeeUI/BackgroundView.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// View with a colored background
[8/18] Compiling CoffeeUI BoxIconItem.swift
/host/spi-builder-workspace/Sources/CoffeeUI/BackgroundView.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// View with a colored background
[9/18] Compiling CoffeeUI LinearProgressBar.swift
/host/spi-builder-workspace/Sources/CoffeeUI/BackgroundView.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// View with a colored background
[10/18] Compiling CoffeeUI Icon.swift
/host/spi-builder-workspace/Sources/CoffeeUI/BackgroundView.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// View with a colored background
[11/18] Compiling CoffeeUI IconButton.swift
/host/spi-builder-workspace/Sources/CoffeeUI/BackgroundView.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// View with a colored background
[12/18] Compiling CoffeeUI CircularProgressBar.swift
/host/spi-builder-workspace/Sources/CoffeeUI/BackgroundView.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// View with a colored background
[13/18] Compiling CoffeeUI Color+Defaults.swift
/host/spi-builder-workspace/Sources/CoffeeUI/BackgroundView.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// View with a colored background
[14/18] Compiling CoffeeBeans String+Validators.swift
/host/spi-builder-workspace/Sources/CoffeeBeans/String+Validators.swift:8:20: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
6 | var isEmail: Bool {
7 | let regex = "[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,64}"
8 | let pred = NSPredicate(format:"SELF MATCHES %@", regex)
| `- error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
9 | return pred.evaluate(with: self)
10 | }
Foundation.NSPredicate.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class NSPredicate {
2 | @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 | public convenience init(format predicateFormat: String, _ args: any CVarArg...)}
| `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/CoffeeBeans/String+Validators.swift:15:20: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
13 | var isMoney: Bool {
14 | let regex = "[0-9,]*[.]{0,1}[0-9]*"
15 | let pred = NSPredicate(format:"SELF MATCHES %@", regex)
| `- error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
16 | return pred.evaluate(with: self)
17 | }
Foundation.NSPredicate.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class NSPredicate {
2 | @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 | public convenience init(format predicateFormat: String, _ args: any CVarArg...)}
| `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 |
[15/18] Compiling CoffeeUI resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/CoffeeUI/BackgroundView.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// View with a colored background
[16/18] Compiling CoffeeBeans String+Converters.swift
[17/18] Emitting module CoffeeBeans
/host/spi-builder-workspace/Sources/CoffeeBeans/Date+Helpers.swift:10:1: warning: extension declares a conformance of imported type 'Date' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
8 | import Foundation
9 |
10 | extension Date: ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'Date' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 |
12 | public init(integerLiteral value: Int) {
[18/18] Compiling CoffeeBeans Date+Helpers.swift
/host/spi-builder-workspace/Sources/CoffeeBeans/Date+Helpers.swift:10:1: warning: extension declares a conformance of imported type 'Date' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
8 | import Foundation
9 |
10 | extension Date: ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'Date' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 |
12 | public init(integerLiteral value: Int) {
BUILD FAILURE 6.3 wasm