The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AtProtocol, reference 0.0.1 (190207), with Swift 6.2 for Wasm on 20 Jun 2025 17:55:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/SparrowTek/AtProtocol.git
Reference: 0.0.1
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/SparrowTek/AtProtocol
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at 190207d add spi.yml for support on Swift Package Index
Cloned https://github.com/SparrowTek/AtProtocol.git
Revision (git rev-parse @):
190207d4afc9c68bafcb14408d05771551a27de0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SparrowTek/AtProtocol.git at 0.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SparrowTek/AtProtocol.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/26] Emitting module AtProtocol
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[4/29] Compiling AtProtocol Timeline.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[5/29] Compiling AtProtocol Viewer.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[6/29] Compiling AtProtocol AtProtoAPI.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[7/29] Compiling AtProtocol NetworkRouter.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[8/29] Compiling AtProtocol NetworkingProtocol.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[9/29] Compiling AtProtocol StatusCode.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[10/29] Compiling AtProtocol BskyAPI.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[11/29] Compiling AtProtocol JSONParameterEncoder.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[12/29] Compiling AtProtocol ParameterEncoding.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[13/29] Compiling AtProtocol AtProtocol.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/AtError.swift:7:14: warning: Should error be type string or AtErrorType?
 5 |
 6 | public struct ErrorMessage: Codable, Sendable {
 7 |     #warning("Should error be type string or AtErrorType?")
   |              `- warning: Should error be type string or AtErrorType?
 8 |     public let error: String
 9 |     public let message: String?
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[14/29] Compiling AtProtocol AtError.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/AtError.swift:7:14: warning: Should error be type string or AtErrorType?
 5 |
 6 | public struct ErrorMessage: Codable, Sendable {
 7 |     #warning("Should error be type string or AtErrorType?")
   |              `- warning: Should error be type string or AtErrorType?
 8 |     public let error: String
 9 |     public let message: String?
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[15/29] Compiling AtProtocol Creator.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/AtError.swift:7:14: warning: Should error be type string or AtErrorType?
 5 |
 6 | public struct ErrorMessage: Codable, Sendable {
 7 |     #warning("Should error be type string or AtErrorType?")
   |              `- warning: Should error be type string or AtErrorType?
 8 |     public let error: String
 9 |     public let message: String?
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[16/29] Compiling AtProtocol Feed.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/AtError.swift:7:14: warning: Should error be type string or AtErrorType?
 5 |
 6 | public struct ErrorMessage: Codable, Sendable {
 7 |     #warning("Should error be type string or AtErrorType?")
   |              `- warning: Should error be type string or AtErrorType?
 8 |     public let error: String
 9 |     public let message: String?
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[17/29] Compiling AtProtocol LoginObject.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[18/29] Compiling AtProtocol Preferences.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[19/29] Compiling AtProtocol Profile.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[20/29] Compiling AtProtocol Session.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[21/29] Compiling AtProtocol AtProto.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[22/29] Compiling AtProtocol Bsky.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[23/29] Compiling AtProtocol Networking.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[24/29] Compiling AtProtocol URLParameterEncoder.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[25/29] Compiling AtProtocol CharacterSet.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[26/29] Compiling AtProtocol Encodable.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[27/29] Compiling AtProtocol EndpointType.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[28/29] Compiling AtProtocol HTTPMethod.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
[29/29] Compiling AtProtocol HTTPTask.swift
/host/spi-builder-workspace/Sources/AtProtocol/Models/Feed.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Feed: Codable, Sendable {
BUILD FAILURE 6.2 wasm