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-steam, reference main (9b0e73), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 00:48:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/sebj/Steam.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/sebj/Steam
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9b0e731 Build & test on macOS 14 M1 runner
Cloned https://github.com/sebj/Steam.git
Revision (git rev-parse @):
9b0e731c6ec4d66a81e0476fec904f5b482074e8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sebj/Steam.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sebj/Steam.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/apple/swift-docc-plugin
Fetching https://github.com/1024jp/GzipSwift.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/soyersoyer/SwCrypt.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/592] Fetching swcrypt
[576/2149] Fetching swcrypt, gzipswift
[2071/15090] Fetching swcrypt, gzipswift, cryptoswift
[2134/17172] Fetching swcrypt, gzipswift, cryptoswift, swift-docc-plugin
[7710/56627] Fetching swcrypt, gzipswift, cryptoswift, swift-docc-plugin, swift-protobuf
Fetched https://github.com/soyersoyer/SwCrypt.git from cache (2.09s)
Fetched https://github.com/apple/swift-docc-plugin from cache (2.10s)
Fetched https://github.com/1024jp/GzipSwift.git from cache (2.10s)
[31880/52396] Fetching cryptoswift, swift-protobuf
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.12s)
[19728/39455] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (6.94s)
Computing version for https://github.com/soyersoyer/SwCrypt.git
Computed https://github.com/soyersoyer/SwCrypt.git at 5.1.4 (9.65s)
Computing version for https://github.com/1024jp/GzipSwift.git
Computed https://github.com/1024jp/GzipSwift.git at 5.2.0 (0.39s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.6.0 (0.42s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.20.3 (2.36s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.42s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.64s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.09s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.6.0
Creating working copy for https://github.com/1024jp/GzipSwift.git
Working copy of https://github.com/1024jp/GzipSwift.git resolved at 5.2.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.20.3
Creating working copy for https://github.com/soyersoyer/SwCrypt.git
Working copy of https://github.com/soyersoyer/SwCrypt.git resolved at 5.1.4
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Steam/Protobuf': File not found.
warning: 'swift-protobuf': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/CMakeLists.txt
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/10] Write sources
[8/10] Compiling system-zlib anchor.c
[9/10] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/187] Emitting module SwCrypt
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1:8: error: no such module 'Foundation'
   1 | import Foundation
     |        `- error: no such module 'Foundation'
   2 |
   3 | open class SwKeyStore {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/187] Emitting module CryptoSwift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/ASN1/ASN1.swift:17:8: error: no such module 'Foundation'
15 | //  ASN1 Code inspired by Asn1Parser.swift from SwiftyRSA
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// A Partial ASN.1 (Abstract Syntax Notation 1) Encoder & Decoder Implementation.
[13/200] Compiling SwiftProtobuf TimeUtils.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | #if !swift(>=4.2)
[14/200] Compiling SwiftProtobuf UnknownStorage.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | #if !swift(>=4.2)
[15/200] Compiling SwiftProtobuf UnsafeBufferPointer+Shims.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | #if !swift(>=4.2)
[16/200] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | #if !swift(>=4.2)
[17/200] Compiling SwiftProtobuf Varint.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | #if !swift(>=4.2)
[18/200] Compiling SwiftProtobuf Version.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | #if !swift(>=4.2)
[19/200] Compiling SwiftProtobuf Visitor.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | #if !swift(>=4.2)
[20/200] Compiling SwiftProtobuf WireFormat.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | #if !swift(>=4.2)
[21/200] Compiling SwiftProtobuf ZigZag.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | #if !swift(>=4.2)
[22/200] Compiling SwiftProtobuf any.pb.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | #if !swift(>=4.2)
[23/210] Compiling SwCrypt SwCrypt.swift
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1:8: error: no such module 'Foundation'
   1 | import Foundation
     |        `- error: no such module 'Foundation'
   2 |
   3 | open class SwKeyStore {
BUILD FAILURE 6.2 wasm