The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftErrorHandler, reference 5.0.4 (b72c58), with Swift 6.2 for Wasm on 17 Jun 2025 12:26:46 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stefanrenne/SwiftErrorHandler.git
Reference: 5.0.4
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/stefanrenne/SwiftErrorHandler
 * tag               5.0.4      -> FETCH_HEAD
HEAD is now at b72c586 Merge branch 'feature/platform-seperation' into develop
Cloned https://github.com/stefanrenne/SwiftErrorHandler.git
Revision (git rev-parse @):
b72c586e336ab5b1d5b2f485a48e4d94aadccafa
SUCCESS checkout https://github.com/stefanrenne/SwiftErrorHandler.git at 5.0.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/stefanrenne/SwiftErrorHandler.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/18] Compiling SwiftErrorHandler AlertController+UIKit.swift
/host/spi-builder-workspace/Sources/SwiftErrorHandler/Generic/Actions/ActionHandler.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public typealias CustomActionHandler = (_ error: Error, _ onCompleted: OnErrorHandled) -> Void
[4/19] Compiling SwiftErrorHandler ErrorHandlerView.swift
/host/spi-builder-workspace/Sources/SwiftErrorHandler/Generic/Actions/ActionHandler.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public typealias CustomActionHandler = (_ error: Error, _ onCompleted: OnErrorHandled) -> Void
[5/19] Compiling SwiftErrorHandler ErrorMatcher.swift
/host/spi-builder-workspace/Sources/SwiftErrorHandler/Generic/Actions/ActionHandler.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public typealias CustomActionHandler = (_ error: Error, _ onCompleted: OnErrorHandled) -> Void
[6/19] Compiling SwiftErrorHandler ErrorAlert.swift
/host/spi-builder-workspace/Sources/SwiftErrorHandler/Generic/Actions/ActionHandler.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public typealias CustomActionHandler = (_ error: Error, _ onCompleted: OnErrorHandled) -> Void
[7/19] Compiling SwiftErrorHandler ErrorHandlerView+UIKit.swift
/host/spi-builder-workspace/Sources/SwiftErrorHandler/Generic/Actions/ActionHandler.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public typealias CustomActionHandler = (_ error: Error, _ onCompleted: OnErrorHandled) -> Void
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/19] Emitting module SwiftErrorHandler
/host/spi-builder-workspace/Sources/SwiftErrorHandler/Generic/Actions/ActionHandler.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public typealias CustomActionHandler = (_ error: Error, _ onCompleted: OnErrorHandled) -> Void
[9/19] Compiling SwiftErrorHandler Result+ErrorHandler.swift
/host/spi-builder-workspace/Sources/SwiftErrorHandler/Generic/Actions/ActionHandler.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public typealias CustomActionHandler = (_ error: Error, _ onCompleted: OnErrorHandled) -> Void
[10/19] Compiling SwiftErrorHandler ErrorHandler.swift
/host/spi-builder-workspace/Sources/SwiftErrorHandler/Generic/Actions/ActionHandler.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public typealias CustomActionHandler = (_ error: Error, _ onCompleted: OnErrorHandled) -> Void
[11/19] Compiling SwiftErrorHandler AlertController.swift
/host/spi-builder-workspace/Sources/SwiftErrorHandler/Generic/Actions/ActionHandler.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public typealias CustomActionHandler = (_ error: Error, _ onCompleted: OnErrorHandled) -> Void
[12/19] Compiling SwiftErrorHandler Error+String.swift
/host/spi-builder-workspace/Sources/SwiftErrorHandler/Generic/Actions/ActionHandler.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public typealias CustomActionHandler = (_ error: Error, _ onCompleted: OnErrorHandled) -> Void
[13/19] Compiling SwiftErrorHandler ActionHandler.swift
/host/spi-builder-workspace/Sources/SwiftErrorHandler/Generic/Actions/ActionHandler.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public typealias CustomActionHandler = (_ error: Error, _ onCompleted: OnErrorHandled) -> Void
[14/19] Compiling SwiftErrorHandler ConfirmableAlert.swift
/host/spi-builder-workspace/Sources/SwiftErrorHandler/Generic/Actions/ActionHandler.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public typealias CustomActionHandler = (_ error: Error, _ onCompleted: OnErrorHandled) -> Void
[15/19] Compiling SwiftErrorHandler RejectableAlert.swift
/host/spi-builder-workspace/Sources/SwiftErrorHandler/Generic/Actions/ActionHandler.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public typealias CustomActionHandler = (_ error: Error, _ onCompleted: OnErrorHandled) -> Void
[16/19] Compiling SwiftErrorHandler AlertAction.swift
/host/spi-builder-workspace/Sources/SwiftErrorHandler/Generic/Actions/ActionHandler.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public typealias CustomActionHandler = (_ error: Error, _ onCompleted: OnErrorHandled) -> Void
BUILD FAILURE 6.2 wasm