The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CoffeeCraft, reference 0.2.2 (5b6d2b), with Swift 6.1 for Wasm on 28 May 2025 12:37:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path:  $PWD
https://github.com/ygee07/CoffeeCraft.git
https://github.com/ygee07/CoffeeCraft.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CoffeeCraft",
  "name" : "CoffeeCraft",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "CoffeeBeans",
      "targets" : [
        "CoffeeBeans"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CoffeeUI",
      "targets" : [
        "CoffeeUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CoffeeUI",
      "module_type" : "SwiftTarget",
      "name" : "CoffeeUI",
      "path" : "Sources/CoffeeUI",
      "product_memberships" : [
        "CoffeeUI"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/CoffeeUI/Assets.xcassets",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "BackgroundView.swift",
        "BoxIconItem.swift",
        "BoxItem.swift",
        "CircularProgressBar.swift",
        "Color+Defaults.swift",
        "Icon.swift",
        "IconButton.swift",
        "LinearProgressBar.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CoffeeBeansTests",
      "module_type" : "SwiftTarget",
      "name" : "CoffeeBeansTests",
      "path" : "Tests/CoffeeBeansTests",
      "sources" : [
        "DateTests.swift",
        "StringTests.swift"
      ],
      "target_dependencies" : [
        "CoffeeBeans"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CoffeeBeans",
      "module_type" : "SwiftTarget",
      "name" : "CoffeeBeans",
      "path" : "Sources/CoffeeBeans",
      "product_memberships" : [
        "CoffeeBeans"
      ],
      "sources" : [
        "Date+Helpers.swift",
        "String+Converters.swift",
        "String+Validators.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/4] Write sources
[2/4] Copying Assets.xcassets
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/17] 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
[6/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
[7/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
[8/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/18] 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
[10/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
[11/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
[12/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
[13/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
[14/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) {
[15/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 |
[16/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) {
[17/18] Compiling CoffeeBeans String+Converters.swift
[18/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/15] 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
[4/15] 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
[5/15] 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
[6/15] 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
[7/15] 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
[8/15] 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
[9/15] 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
[10/15] 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
[11/15] 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) {
[12/15] 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) {
[13/15] 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
[14/15] 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/15] Compiling CoffeeBeans String+Converters.swift
BUILD FAILURE 6.1 wasm