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 MastodonSwift, reference 2.1.2 (26d970), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 23:43:39 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/Swiftodon/Mastodon.swift.git
Reference: 2.1.2
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/Swiftodon/Mastodon.swift
 * tag               2.1.2      -> FETCH_HEAD
HEAD is now at 26d970a Merge pull request #34 from Swiftodon/fix/Status.url-optional
Cloned https://github.com/Swiftodon/Mastodon.swift.git
Revision (git rev-parse @):
26d970a92d31cbb0b797f8031746e07f656aee2b
SUCCESS checkout https://github.com/Swiftodon/Mastodon.swift.git at 2.1.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Swiftodon/Mastodon.swift.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
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/38] Emitting module MastodonSwift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[4/42] Compiling MastodonSwift Blocks.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[5/42] Compiling MastodonSwift Favourites.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[6/42] Compiling MastodonSwift FollowRequests.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[7/42] Compiling MastodonSwift Follows.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[8/42] Compiling MastodonSwift Instances.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[9/42] Compiling MastodonSwift Tag.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[10/42] Compiling MastodonSwift Primitive+AsString.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[11/42] Compiling MastodonSwift String+AsURL.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[12/42] Compiling MastodonSwift URL+OptionalString.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[13/42] Compiling MastodonSwift MastodonClient+Convenience.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[14/42] Compiling MastodonSwift Mastodon.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[15/42] Compiling MastodonSwift Media.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[16/42] Compiling MastodonSwift Mutes.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[17/42] Compiling MastodonSwift Notifications.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[18/42] Compiling MastodonSwift OAuth.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[19/42] Compiling MastodonSwift AccessToken.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[20/42] Compiling MastodonSwift Account.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[21/42] Compiling MastodonSwift App.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[22/42] Compiling MastodonSwift Application.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[23/42] Compiling MastodonSwift Attachment.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[24/42] Compiling MastodonSwift Reports.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[25/42] Compiling MastodonSwift Search.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[26/42] Compiling MastodonSwift Statuses.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[27/42] Compiling MastodonSwift Timelines.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[28/42] Compiling MastodonSwift MastodonClient.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[29/42] Compiling MastodonSwift MultipartFormData.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[30/42] Compiling MastodonSwift TargetType.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[31/42] Compiling MastodonSwift Accounts.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[32/42] Compiling MastodonSwift Apps.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[33/42] Compiling MastodonSwift Notification.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[34/42] Compiling MastodonSwift Relationship.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[35/42] Compiling MastodonSwift Report.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[36/42] Compiling MastodonSwift Result.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[37/42] Compiling MastodonSwift Status.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[38/42] Compiling MastodonSwift Card.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[39/42] Compiling MastodonSwift Context.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[40/42] Compiling MastodonSwift Error.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[41/42] Compiling MastodonSwift Instance.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
[42/42] Compiling MastodonSwift Mention.swift
/host/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct AccessToken: Codable {
BUILD FAILURE 6.2 wasm