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 Versionator, reference main (890cc9), with Swift 6.2 (beta) for Wasm on 4 Sep 2025 11:11:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/Versionator.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/elegantchaos/Versionator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 890cc91 Updated workflow
Cloned https://github.com/elegantchaos/Versionator.git
Revision (git rev-parse @):
890cc911b43669ad2c5a3e3fb6d973af4aab6c11
SUCCESS checkout https://github.com/elegantchaos/Versionator.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/elegantchaos/Versionator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/elegantchaos/Runner.git
[1/676] Fetching runner
Fetched https://github.com/elegantchaos/Runner.git from cache (1.06s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 2.1.3 (1.46s)
Fetching https://github.com/elegantchaos/ChaosByteStreams
[1/116] Fetching chaosbytestreams
Fetched https://github.com/elegantchaos/ChaosByteStreams from cache (0.53s)
Computing version for https://github.com/elegantchaos/ChaosByteStreams
Computed https://github.com/elegantchaos/ChaosByteStreams at 1.0.6 (0.88s)
Creating working copy for https://github.com/elegantchaos/Runner.git
Working copy of https://github.com/elegantchaos/Runner.git resolved at 2.1.3
Creating working copy for https://github.com/elegantchaos/ChaosByteStreams
Working copy of https://github.com/elegantchaos/ChaosByteStreams resolved at 1.0.6
[1/1] Compiling plugin VersionatorPlugin
Building for debugging...
[1/22] Write sources
[9/22] Write swift-version-24593BA9C3E375BF.txt
[11/34] Compiling ChaosByteStreams String+ByteStreams.swift
/host/spi-builder-workspace/.build/checkouts/ChaosByteStreams/Sources/ChaosByteStreams/Data+ByteStreams.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Byte stream extensions for data.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/34] Emitting module ChaosByteStreams
/host/spi-builder-workspace/.build/checkouts/ChaosByteStreams/Sources/ChaosByteStreams/Data+ByteStreams.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Byte stream extensions for data.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/34] Emitting module VersionatorUtils
/host/spi-builder-workspace/Sources/VersionatorUtils/String+AsyncSequence.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension String {
[14/34] Compiling VersionatorUtils String+AsyncSequence.swift
/host/spi-builder-workspace/Sources/VersionatorUtils/String+AsyncSequence.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension String {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/34] Emitting module ChaosByteStreams
/host/spi-builder-workspace/.build/checkouts/ChaosByteStreams/Sources/ChaosByteStreams/DataBuffer.swift:77:21: error: cannot find type 'AsyncLineSequence' in scope
 75 |
 76 |   /// Return a line sequence that reads from this buffer.
 77 |   public var lines: AsyncLineSequence<AsyncBytes> { get async { await bytes.lines } }
    |                     `- error: cannot find type 'AsyncLineSequence' in scope
 78 |
 79 |   /// Wait for the buffer to close, then return it as a `String`.
/host/spi-builder-workspace/.build/checkouts/ChaosByteStreams/Sources/ChaosByteStreams/DataBuffer.swift:77:53: error: getter of noncopyable type cannot be 'async' or 'throws'
 75 |
 76 |   /// Return a line sequence that reads from this buffer.
 77 |   public var lines: AsyncLineSequence<AsyncBytes> { get async { await bytes.lines } }
    |                                                     `- error: getter of noncopyable type cannot be 'async' or 'throws'
 78 |
 79 |   /// Wait for the buffer to close, then return it as a `String`.
/host/spi-builder-workspace/.build/checkouts/ChaosByteStreams/Sources/ChaosByteStreams/DataBuffer.swift:77:21: error: cannot find type 'AsyncLineSequence' in scope
 75 |
 76 |   /// Return a line sequence that reads from this buffer.
 77 |   public var lines: AsyncLineSequence<AsyncBytes> { get async { await bytes.lines } }
    |                     `- error: cannot find type 'AsyncLineSequence' in scope
 78 |
 79 |   /// Wait for the buffer to close, then return it as a `String`.
[16/34] Emitting module VersionatorUtils
BUILD FAILURE 6.2 wasm