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 Starscream, reference master (c6bfd1), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 05:46:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/daltoniam/Starscream.git
Reference: master
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/daltoniam/Starscream
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c6bfd1a chore: update release tooling
Cloned https://github.com/daltoniam/Starscream.git
Revision (git rev-parse @):
c6bfd1af48efcc9a9ad203665db12375ba6b145a
SUCCESS checkout https://github.com/daltoniam/Starscream.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/daltoniam/Starscream.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.21s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (4.21s)
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: 'spi-builder-workspace': dependency 'swift-nio-zlib-support' is not used by any target
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Info.plist
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/23] Emitting module Starscream
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[5/25] Compiling Starscream Compression.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[6/25] Compiling Starscream WSCompression.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[7/25] Compiling Starscream Data+Extensions.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[8/25] Compiling Starscream Engine.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[9/25] Compiling Starscream NativeEngine.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[10/25] Compiling Starscream WSEngine.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[11/25] Compiling Starscream FoundationSecurity.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[12/25] Compiling Starscream Security.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[13/25] Compiling Starscream Server.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[14/25] Compiling Starscream Transport.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[15/25] Compiling Starscream resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[16/25] Compiling Starscream WebSocketServer.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[17/25] Compiling Starscream WebSocket.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[18/25] Compiling Starscream FoundationTransport.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[19/25] Compiling Starscream TCPTransport.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[20/25] Compiling Starscream Framer.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[21/25] Compiling Starscream HTTPHandler.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[22/25] Compiling Starscream StringHTTPHandler.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[23/25] Compiling Starscream FoundationHTTPHandler.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[24/25] Compiling Starscream FoundationHTTPServerHandler.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[25/25] Compiling Starscream FrameCollector.swift
/host/spi-builder-workspace/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
BUILD FAILURE 6.2 wasm