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 ReadingTimePublishPlugin, reference 0.3.0 (0a0bf1), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 21:43:34 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/alexito4/ReadingTimePublishPlugin.git
Reference: 0.3.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/alexito4/ReadingTimePublishPlugin
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 0a0bf14 fixed readme
Cloned https://github.com/alexito4/ReadingTimePublishPlugin.git
Revision (git rev-parse @):
0a0bf141a5b626c2444601cf0ed7b2bfcfdabcdf
SUCCESS checkout https://github.com/alexito4/ReadingTimePublishPlugin.git at 0.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/alexito4/ReadingTimePublishPlugin.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
Fetching https://github.com/johnsundell/publish.git
[1/2890] Fetching publish
Fetched https://github.com/johnsundell/publish.git from cache (0.34s)
Computing version for https://github.com/johnsundell/publish.git
Computed https://github.com/johnsundell/publish.git at 0.9.0 (0.94s)
Fetching https://github.com/johnsundell/sweep.git
Fetching https://github.com/johnsundell/shellout.git
Fetching https://github.com/johnsundell/codextended.git
Fetching https://github.com/johnsundell/collectionConcurrencyKit.git
[1/980] Fetching shellout
[785/1096] Fetching shellout, sweep
[1053/1277] Fetching shellout, sweep, codextended
[1278/1377] Fetching shellout, sweep, codextended, collectionconcurrencykit
Fetching https://github.com/johnsundell/files.git
Fetching https://github.com/johnsundell/plot.git
Fetched https://github.com/johnsundell/sweep.git from cache (0.44s)
[1234/1261] Fetching shellout, codextended, collectionconcurrencykit
Fetching https://github.com/johnsundell/ink.git
Fetched https://github.com/johnsundell/shellout.git from cache (0.49s)
Fetched https://github.com/johnsundell/codextended.git from cache (0.49s)
Fetched https://github.com/johnsundell/collectionConcurrencyKit.git from cache (0.49s)
[1/1248] Fetching files
[1249/3153] Fetching files, ink
[1383/5249] Fetching files, ink, plot
Fetched https://github.com/johnsundell/ink.git from cache (0.60s)
Fetched https://github.com/johnsundell/plot.git from cache (0.65s)
Fetched https://github.com/johnsundell/files.git from cache (0.66s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (1.90s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (3.43s)
Computing version for https://github.com/johnsundell/collectionConcurrencyKit.git
Computed https://github.com/johnsundell/collectionConcurrencyKit.git at 0.2.0 (0.87s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.73s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.6.0 (0.86s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 4.3.0 (3.19s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.14.0 (0.67s)
Creating working copy for https://github.com/johnsundell/publish.git
Working copy of https://github.com/johnsundell/publish.git resolved at 0.9.0
Creating working copy for https://github.com/johnsundell/plot.git
Working copy of https://github.com/johnsundell/plot.git resolved at 0.14.0
Creating working copy for https://github.com/johnsundell/codextended.git
Working copy of https://github.com/johnsundell/codextended.git resolved at 0.3.0
Creating working copy for https://github.com/johnsundell/collectionConcurrencyKit.git
Working copy of https://github.com/johnsundell/collectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/johnsundell/files.git
Working copy of https://github.com/johnsundell/files.git resolved at 4.3.0
Creating working copy for https://github.com/johnsundell/ink.git
Working copy of https://github.com/johnsundell/ink.git resolved at 0.6.0
Creating working copy for https://github.com/johnsundell/sweep.git
Working copy of https://github.com/johnsundell/sweep.git resolved at 0.4.0
Creating working copy for https://github.com/johnsundell/shellout.git
Working copy of https://github.com/johnsundell/shellout.git resolved at 2.3.0
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/111] Emitting module Codextended
/host/spi-builder-workspace/.build/checkouts/codextended/Sources/Codextended/Codextended.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | // MARK: - Encoding
[12/111] Compiling Codextended Codextended.swift
/host/spi-builder-workspace/.build/checkouts/codextended/Sources/Codextended/Codextended.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | // MARK: - Encoding
[13/111] Compiling Plot SiteMapElements.swift
/host/spi-builder-workspace/.build/checkouts/plot/Sources/Plot/API/Attribute.swift:7:8: error: no such module 'Foundation'
 5 | */
 6 |
 7 | import Foundation
   |        `- error: no such module 'Foundation'
 8 |
 9 | /// A representation of an element attribute, for example an HTML element's
[14/111] Compiling Plot TwitterCardType.swift
/host/spi-builder-workspace/.build/checkouts/plot/Sources/Plot/API/Attribute.swift:7:8: error: no such module 'Foundation'
 5 | */
 6 |
 7 | import Foundation
   |        `- error: no such module 'Foundation'
 8 |
 9 | /// A representation of an element attribute, for example an HTML element's
[15/111] Compiling Plot URLRepresentable.swift
/host/spi-builder-workspace/.build/checkouts/plot/Sources/Plot/API/Attribute.swift:7:8: error: no such module 'Foundation'
 5 | */
 6 |
 7 | import Foundation
   |        `- error: no such module 'Foundation'
 8 |
 9 | /// A representation of an element attribute, for example an HTML element's
[16/111] Compiling Plot XML.swift
/host/spi-builder-workspace/.build/checkouts/plot/Sources/Plot/API/Attribute.swift:7:8: error: no such module 'Foundation'
 5 | */
 6 |
 7 | import Foundation
   |        `- error: no such module 'Foundation'
 8 |
 9 | /// A representation of an element attribute, for example an HTML element's
[17/111] Compiling Plot XMLAttributes.swift
/host/spi-builder-workspace/.build/checkouts/plot/Sources/Plot/API/Attribute.swift:7:8: error: no such module 'Foundation'
 5 | */
 6 |
 7 | import Foundation
   |        `- error: no such module 'Foundation'
 8 |
 9 | /// A representation of an element attribute, for example an HTML element's
[18/111] Compiling Plot XMLElements.swift
/host/spi-builder-workspace/.build/checkouts/plot/Sources/Plot/API/Attribute.swift:7:8: error: no such module 'Foundation'
 5 | */
 6 |
 7 | import Foundation
   |        `- error: no such module 'Foundation'
 8 |
 9 | /// A representation of an element attribute, for example an HTML element's
[19/111] Compiling Plot AnyAttribute.swift
/host/spi-builder-workspace/.build/checkouts/plot/Sources/Plot/API/Attribute.swift:7:8: error: no such module 'Foundation'
 5 | */
 6 |
 7 | import Foundation
   |        `- error: no such module 'Foundation'
 8 |
 9 | /// A representation of an element attribute, for example an HTML element's
[20/111] Compiling Plot AnyElement.swift
/host/spi-builder-workspace/.build/checkouts/plot/Sources/Plot/API/Attribute.swift:7:8: error: no such module 'Foundation'
 5 | */
 6 |
 7 | import Foundation
   |        `- error: no such module 'Foundation'
 8 |
 9 | /// A representation of an element attribute, for example an HTML element's
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/111] Emitting module Files
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files.swift:25:8: error: no such module 'Foundation'
  23 |  */
  24 |
  25 | import Foundation
     |        `- error: no such module 'Foundation'
  26 |
  27 | // MARK: - Locations
/host/spi-builder-workspace/.build/checkouts/plot/Sources/Plot/API/Attribute.swift:7:8: error: no such module 'Foundation'
 5 | */
 6 |
 7 | import Foundation
   |        `- error: no such module 'Foundation'
 8 |
 9 | /// A representation of an element attribute, for example an HTML element's
error: emit-module command failed with exit code 1 (use -v to see invocation)
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/shellout/Sources/ShellOut.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | import Dispatch
  9 |
[22/111] Emitting module Ink
/host/spi-builder-workspace/.build/checkouts/ink/Sources/Ink/Internal/Table.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | struct Table: Fragment {
[23/111] Emitting module CollectionConcurrencyKit
BUILD FAILURE 6.2 wasm