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 Capriccio, reference 1.2.0 (f8aca2), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 05:32:37 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/shibapm/capriccio.git
Reference: 1.2.0
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/shibapm/capriccio
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at f8aca27 Version 1.2.0
Cloned https://github.com/shibapm/capriccio.git
Revision (git rev-parse @):
f8aca2720a6d48084ec8ec6fda9f595e41df7da4
SUCCESS checkout https://github.com/shibapm/capriccio.git at 1.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/shibapm/capriccio.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/iainsmith/SwiftGherkin
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/stencilproject/Stencil
Fetching https://github.com/apple/swift-argument-parser
[1/556] Fetching swiftgherkin
[557/5849] Fetching swiftgherkin, stencil
[610/16708] Fetching swiftgherkin, stencil, yams
[6828/32088] Fetching swiftgherkin, stencil, yams, swift-argument-parser
Fetched https://github.com/stencilproject/Stencil from cache (0.80s)
[17314/26795] Fetching swiftgherkin, yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.51s)
[11090/11415] Fetching swiftgherkin, yams
Fetched https://github.com/iainsmith/SwiftGherkin from cache (1.94s)
Fetched https://github.com/jpsim/Yams.git from cache (1.98s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (2.54s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.1.0 (0.47s)
Computing version for https://github.com/stencilproject/Stencil
Computed https://github.com/stencilproject/Stencil at 0.13.1 (2.86s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
[1/1411] Fetching pathkit
[354/2432] Fetching pathkit, spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.36s)
Fetched https://github.com/kylef/PathKit.git from cache (0.37s)
Computing version for https://github.com/iainsmith/SwiftGherkin
Computed https://github.com/iainsmith/SwiftGherkin at 0.2.0 (1.22s)
Fetching https://github.com/nicklockwood/Consumer.git
[1/591] Fetching consumer
Fetched https://github.com/nicklockwood/Consumer.git from cache (0.26s)
Computing version for https://github.com/nicklockwood/Consumer.git
Computed https://github.com/nicklockwood/Consumer.git at 0.3.5 (4.25s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (1.38s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.57s)
Creating working copy for https://github.com/nicklockwood/Consumer.git
Working copy of https://github.com/nicklockwood/Consumer.git resolved at 0.3.5
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/stencilproject/Stencil
Working copy of https://github.com/stencilproject/Stencil resolved at 0.13.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.1.0
Creating working copy for https://github.com/iainsmith/SwiftGherkin
Working copy of https://github.com/iainsmith/SwiftGherkin resolved at 0.2.0
Building for debugging...
[0/25] Write sources
[8/25] Compiling reader.c
[9/25] Compiling writer.c
[10/25] Compiling parser.c
[11/25] Compiling api.c
[12/25] Compiling emitter.c
[13/25] Write swift-version-24593BA9C3E375BF.txt
[13/25] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/72] Emitting module Yams
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[17/74] Compiling ArgumentParser ArgumentSetSequence.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 |
 14 | enum MessageInfo {
[18/74] Compiling ArgumentParser CommandParser.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 |
 14 | enum MessageInfo {
[19/74] Compiling ArgumentParser InputOrigin.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 |
 14 | enum MessageInfo {
[20/74] Compiling ArgumentParser Name.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 |
 14 | enum MessageInfo {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/77] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[22/77] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[23/77] Compiling Yams Constructor.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 |
 14 | enum MessageInfo {
[24/77] Compiling Yams Decoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 |
 14 | enum MessageInfo {
[25/77] Compiling Yams Emitter.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 |
 14 | enum MessageInfo {
[26/77] Compiling Yams Encoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 |
 14 | enum MessageInfo {
[27/77] Compiling Yams String+Yams.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 |
 14 | enum MessageInfo {
[28/77] Compiling Yams Tag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 |
 14 | enum MessageInfo {
[29/77] Compiling Yams YamlError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 |
 14 | enum MessageInfo {
[30/77] Compiling Yams shim.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 |
 14 | enum MessageInfo {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/77] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 |
 14 | enum MessageInfo {
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/77] Emitting module Consumer
/host/spi-builder-workspace/.build/checkouts/Consumer/Sources/Consumer.swift:34:8: error: no such module 'Foundation'
 32 | //
 33 |
 34 | import Foundation
    |        `- error: no such module 'Foundation'
 35 |
 36 | // MARK: Consumer
BUILD FAILURE 6.2 wasm