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 URLSchemeRouter, reference 1.0.1 (c55e98), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 14:11:17 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/finnvoor/URLSchemeRouter.git
Reference: 1.0.1
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/finnvoor/URLSchemeRouter
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at c55e989 Wrap DecodingError for more useful error descriptions
Cloned https://github.com/finnvoor/URLSchemeRouter.git
Revision (git rev-parse @):
c55e989434c2a99d5ae4ccb1c92f15c8d3c40420
SUCCESS checkout https://github.com/finnvoor/URLSchemeRouter.git at 1.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/finnvoor/URLSchemeRouter.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/kylehughes/URLQueryItemCoder.git
[1/1269] Fetching urlqueryitemcoder
Fetched https://github.com/kylehughes/URLQueryItemCoder.git from cache (1.20s)
Computing version for https://github.com/kylehughes/URLQueryItemCoder.git
Computed https://github.com/kylehughes/URLQueryItemCoder.git at 1.0.0 (5.34s)
Creating working copy for https://github.com/kylehughes/URLQueryItemCoder.git
Working copy of https://github.com/kylehughes/URLQueryItemCoder.git resolved at 1.0.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/31] Emitting module URLQueryItemCoder
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[5/34] Compiling URLQueryItemCoder KeyEncodingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[6/34] Compiling URLQueryItemCoder NonConformingFloatEncodingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[7/34] Compiling URLQueryItemCoder URLQueryItemEncoder+OutputFormatting.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[8/34] Compiling URLQueryItemCoder EncodingContainer+SingleValue.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[9/34] Compiling URLQueryItemCoder EncodingContainer+Unkeyed.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[10/34] Compiling URLQueryItemCoder EncodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[11/34] Compiling URLQueryItemCoder EncodingPrimitiveValue.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[12/34] Compiling URLQueryItemCoder StringlyKeyedDecodingContainerWrapper.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[13/34] Compiling URLQueryItemCoder URLQueryItemDecoder.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[14/34] Compiling URLQueryItemCoder EncodingContainer+Keyed+Wrapper.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[15/34] Compiling URLQueryItemCoder EncodingContainer+Keyed.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[16/34] Compiling URLQueryItemCoder DateDecodingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[17/34] Compiling URLQueryItemCoder DecodingStrategies.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[18/34] Compiling URLQueryItemCoder KeyDecodingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[19/34] Compiling URLQueryItemCoder NonConformingFloatDecodingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[20/34] Compiling URLQueryItemCoder LowLevelEncoder.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[21/34] Compiling URLQueryItemCoder DataEncodingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[22/34] Compiling URLQueryItemCoder DateEncodingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[23/34] Compiling URLQueryItemCoder EncodingStrategies.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[24/34] Compiling URLQueryItemCoder IntCodingKey.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[25/34] Compiling URLQueryItemCoder StringCodingKey.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[26/34] Compiling URLQueryItemCoder DecodingContainer+MultiValue.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[27/34] Compiling URLQueryItemCoder DecodingContainer+SingleValue.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[28/34] Compiling URLQueryItemCoder DecodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[29/34] Compiling URLQueryItemCoder DecodingPrimitiveValue.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[30/34] Compiling URLQueryItemCoder LowLevelDecoder.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[31/34] Compiling URLQueryItemCoder DataDecodingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[32/34] Compiling URLQueryItemCoder URLQueryItemEncoder.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[33/34] Compiling URLQueryItemCoder DecodingError+Context+Predefined.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
[34/34] Compiling URLQueryItemCoder String+SnakeCase.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryItemCoder/Sources/URLQueryItemCoder/Decoder/Generic Implementation/DecodingContainer+MultiValue.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | extension DecodingContainer {
BUILD FAILURE 6.2 wasm