The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build AmiiboService, reference main (e9f08c), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 09:32:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/rock-n-code/amiibo-service.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/rock-n-code/amiibo-service
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e9f08c6 [Improvement] SwiftLibs package update (#22)
Cloned https://github.com/rock-n-code/amiibo-service.git
Revision (git rev-parse @):
e9f08c68da018271ef2b05a1f80b782a376fe71a
SUCCESS checkout https://github.com/rock-n-code/amiibo-service.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/rock-n-code/amiibo-service.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Fetching https://github.com/rock-n-code/swift-libs.git
Fetching https://github.com/apple/swift-docc-plugin
[1/1637] Fetching swift-libs
[34/3719] Fetching swift-libs, swift-docc-plugin
Fetched https://github.com/rock-n-code/swift-libs.git from cache (0.34s)
[1520/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.41s)
Computing version for https://github.com/rock-n-code/swift-libs.git
Computed https://github.com/rock-n-code/swift-libs.git at 0.2.2 (1.51s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.69s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.70s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.16s)
Creating working copy for https://github.com/rock-n-code/swift-libs.git
Working copy of https://github.com/rock-n-code/swift-libs.git resolved at 0.2.2
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/36] Emitting module SwiftLibsCommunication
/host/spi-builder-workspace/.build/checkouts/swift-libs/Libraries/Communication/Classes/MockURLProtocol.swift:13:8: error: no such module 'Foundation'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | #if canImport(FoundationNetworking)
[10/36] Compiling SwiftLibsCommunication MakeURLRequestError.swift
/host/spi-builder-workspace/.build/checkouts/swift-libs/Libraries/Communication/Classes/MockURLProtocol.swift:13:8: error: no such module 'Foundation'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | #if canImport(FoundationNetworking)
[11/36] Compiling SwiftLibsCommunication MakeURLRequestUseCase.swift
/host/spi-builder-workspace/.build/checkouts/swift-libs/Libraries/Communication/Classes/MockURLProtocol.swift:13:8: error: no such module 'Foundation'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | #if canImport(FoundationNetworking)
[12/36] Compiling SwiftLibsDependency Dependency.swift
[13/36] Compiling SwiftLibsDependency DependencyKey.swift
[14/36] Emitting module SwiftLibsDependency
[15/36] Compiling SwiftLibsCoordination WindowRouter.swift
[16/36] Compiling SwiftLibsFoundation TimeZone+Zone.swift
/host/spi-builder-workspace/.build/checkouts/swift-libs/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
[17/36] Compiling SwiftLibsFoundation String+Localisation.swift
/host/spi-builder-workspace/.build/checkouts/swift-libs/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
[18/37] Compiling SwiftLibsFoundation Optional+Nil.swift
/host/spi-builder-workspace/.build/checkouts/swift-libs/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
[19/37] Compiling SwiftLibsFoundation Collection+Empty.swift
/host/spi-builder-workspace/.build/checkouts/swift-libs/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
[20/37] Compiling SwiftLibsFoundation String+Empty.swift
/host/spi-builder-workspace/.build/checkouts/swift-libs/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
[21/37] Compiling SwiftLibsCommunication HTTPResponseCode.swift
/host/spi-builder-workspace/.build/checkouts/swift-libs/Libraries/Communication/Classes/MockURLProtocol.swift:13:8: error: no such module 'Foundation'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | #if canImport(FoundationNetworking)
[22/37] Compiling SwiftLibsFoundation BundleError.swift
/host/spi-builder-workspace/.build/checkouts/swift-libs/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
[23/37] Compiling SwiftLibsFoundation Bool+Init.swift
/host/spi-builder-workspace/.build/checkouts/swift-libs/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/37] Emitting module SwiftLibsFoundation
/host/spi-builder-workspace/.build/checkouts/swift-libs/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
[25/37] Compiling SwiftLibsFoundation Bundle+LocalisationBundle.swift
/host/spi-builder-workspace/.build/checkouts/swift-libs/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
[26/37] Compiling SwiftLibsCoordination PushNavigationRouter.swift
[27/37] Compiling SwiftLibsCoordination Router.swift
[28/37] Compiling SwiftLibsCoordination BaseNavigationRouter.swift
[29/37] Compiling SwiftLibsCoordination ModalNavigationRouter.swift
[30/37] Compiling SwiftLibsCommunication Endpoint.swift
/host/spi-builder-workspace/.build/checkouts/swift-libs/Libraries/Communication/Classes/MockURLProtocol.swift:13:8: error: no such module 'Foundation'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | #if canImport(FoundationNetworking)
[31/37] Compiling SwiftLibsCommunication Client.swift
/host/spi-builder-workspace/.build/checkouts/swift-libs/Libraries/Communication/Classes/MockURLProtocol.swift:13:8: error: no such module 'Foundation'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | #if canImport(FoundationNetworking)
[32/37] Compiling SwiftLibsDependency DependencyService.swift
[33/38] Emitting module SwiftLibsCoordination
[34/38] Compiling SwiftLibsCoordination Coordinator.swift
[37/39] Compiling SwiftLibsFoundation LossyCodableList.swift
/host/spi-builder-workspace/.build/checkouts/swift-libs/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
[38/39] Compiling SwiftLibsCommunication MockURLProtocol.swift
/host/spi-builder-workspace/.build/checkouts/swift-libs/Libraries/Communication/Classes/MockURLProtocol.swift:13:8: error: no such module 'Foundation'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | #if canImport(FoundationNetworking)
[39/39] Compiling SwiftLibsCommunication HTTPRequestMethod.swift
/host/spi-builder-workspace/.build/checkouts/swift-libs/Libraries/Communication/Classes/MockURLProtocol.swift:13:8: error: no such module 'Foundation'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | #if canImport(FoundationNetworking)
BUILD FAILURE 6.2 wasm