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 swift-template, reference 1.2.1 (7558b6), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 00:37:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/BinaryBirds/swift-template.git
Reference: 1.2.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/BinaryBirds/swift-template
 * tag               1.2.1      -> FETCH_HEAD
HEAD is now at 7558b64 Generate command ignores .git directory (#3)
Cloned https://github.com/BinaryBirds/swift-template.git
Revision (git rev-parse @):
7558b640d6f5a85c6daf85e7d983627ad2154553
SUCCESS checkout https://github.com/BinaryBirds/swift-template.git at 1.2.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/BinaryBirds/swift-template.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/binarybirds/build-kit
Fetching https://github.com/binarybirds/git-kit
Fetching https://github.com/binarybirds/path-kit
Fetching https://github.com/binarybirds/plural-kit.git
Fetching https://github.com/vapor/console-kit
Fetching https://github.com/binarybirds/shell-kit
[1/36] Fetching path-kit
[31/57] Fetching path-kit, build-kit
[58/74] Fetching path-kit, build-kit, plural-kit
[75/179] Fetching path-kit, build-kit, plural-kit, git-kit
[119/227] Fetching path-kit, build-kit, plural-kit, git-kit, shell-kit
Fetched https://github.com/binarybirds/build-kit from cache (0.32s)
[150/6224] Fetching path-kit, plural-kit, git-kit, shell-kit, console-kit
Fetched https://github.com/binarybirds/plural-kit.git from cache (0.33s)
[614/6207] Fetching path-kit, git-kit, shell-kit, console-kit
Fetched https://github.com/binarybirds/shell-kit from cache (0.33s)
[927/6159] Fetching path-kit, git-kit, console-kit
Fetched https://github.com/binarybirds/git-kit from cache (0.34s)
[939/6054] Fetching path-kit, console-kit
Fetched https://github.com/binarybirds/path-kit from cache (1.70s)
Fetched https://github.com/vapor/console-kit from cache (1.70s)
Computing version for https://github.com/binarybirds/plural-kit.git
Computed https://github.com/binarybirds/plural-kit.git at 1.0.0 (2.22s)
Computing version for https://github.com/binarybirds/build-kit
Computed https://github.com/binarybirds/build-kit at 1.0.1 (0.81s)
Computing version for https://github.com/binarybirds/git-kit
Computed https://github.com/binarybirds/git-kit at 1.0.1 (0.47s)
Computing version for https://github.com/binarybirds/shell-kit
Computed https://github.com/binarybirds/shell-kit at 1.0.1 (0.52s)
Computing version for https://github.com/binarybirds/path-kit
Computed https://github.com/binarybirds/path-kit at 1.1.0 (0.47s)
Computing version for https://github.com/vapor/console-kit
Computed https://github.com/vapor/console-kit at 4.15.2 (7.17s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.62s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (5.16s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.44s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1797] Fetching swift-atomics
[523/6233] Fetching swift-atomics, swift-system
[4931/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.68s)
Fetched https://github.com/apple/swift-system.git from cache (0.70s)
[7655/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.47s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.24s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.83s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/binarybirds/plural-kit.git
Working copy of https://github.com/binarybirds/plural-kit.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/binarybirds/git-kit
Working copy of https://github.com/binarybirds/git-kit resolved at 1.0.1
Creating working copy for https://github.com/binarybirds/path-kit
Working copy of https://github.com/binarybirds/path-kit resolved at 1.1.0
Creating working copy for https://github.com/vapor/console-kit
Working copy of https://github.com/vapor/console-kit resolved at 4.15.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/binarybirds/build-kit
Working copy of https://github.com/binarybirds/build-kit resolved at 1.0.1
Creating working copy for https://github.com/binarybirds/shell-kit
Working copy of https://github.com/binarybirds/shell-kit resolved at 1.0.1
Building for debugging...
[0/29] Write sources
[12/29] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/41] Emitting module PluralKit
/host/spi-builder-workspace/.build/checkouts/plural-kit/Sources/PluralKit/PluralKit.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public final class PluralKit {
[15/41] Emitting module Logging
[15/41] Compiling c-nioatomics.c
[16/41] Compiling c-atomics.c
[18/47] Compiling PluralKit String+Plural.swift
/host/spi-builder-workspace/.build/checkouts/plural-kit/Sources/PluralKit/PluralKit.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public final class PluralKit {
[19/47] Compiling PluralKit PluralKit.swift
/host/spi-builder-workspace/.build/checkouts/plural-kit/Sources/PluralKit/PluralKit.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public final class PluralKit {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/47] Emitting module ShellKit
/host/spi-builder-workspace/.build/checkouts/shell-kit/Sources/ShellKit/Shell.swift:9:8: error: no such module 'Foundation'
  7 |  */
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import Dispatch
 11 |
[21/47] Compiling ShellKit Shell.swift
/host/spi-builder-workspace/.build/checkouts/shell-kit/Sources/ShellKit/Shell.swift:9:8: error: no such module 'Foundation'
  7 |  */
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import Dispatch
 11 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/47] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/path-kit/Sources/PathKit/Path.swift:9:8: error: no such module 'Foundation'
  7 |  */
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// a custom file node representation object
BUILD FAILURE 6.2 wasm