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 AnandaMacros, reference main (3c9314), with Swift 6.2 (beta) for Wasm on 11 Aug 2025 13:11:11 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.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nixzhu/AnandaMacros.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/nixzhu/AnandaMacros
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3c93144 update deps
Cloned https://github.com/nixzhu/AnandaMacros.git
Revision (git rev-parse @):
3c9314464707ed99b8a27886c44521084ef53d7a
SUCCESS checkout https://github.com/nixzhu/AnandaMacros.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nixzhu/AnandaMacros.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/nixzhu/Ananda.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/726] Fetching ananda
[727/72418] Fetching ananda, swift-syntax
Fetched https://github.com/nixzhu/Ananda.git from cache (5.25s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.37s)
Computing version for https://github.com/nixzhu/Ananda.git
Computed https://github.com/nixzhu/Ananda.git at 1.1.0 (6.93s)
Fetching https://github.com/ibireme/yyjson.git
[1/4058] Fetching yyjson
Fetched https://github.com/ibireme/yyjson.git from cache (1.62s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.11.1 (4.67s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (0.90s)
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.11.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/nixzhu/Ananda.git
Working copy of https://github.com/nixzhu/Ananda.git resolved at 1.1.0
Building for debugging...
[0/40] Write sources
[19/40] Compiling _SwiftSyntaxCShims dummy.c
[20/40] Write swift-version-24593BA9C3E375BF.txt
[21/46] Compiling yyjson.c
[23/51] Emitting module SwiftSyntax600
[24/51] Compiling SwiftSyntax600 Empty.swift
[25/52] Emitting module SwiftSyntax509
[26/52] Compiling SwiftSyntax509 Empty.swift
[27/52] Emitting module SwiftSyntax510
[28/52] Compiling SwiftSyntax510 Empty.swift
[31/54] Wrapping AST for SwiftSyntax600 for debugging
[32/54] Wrapping AST for SwiftSyntax510 for debugging
[33/54] Wrapping AST for SwiftSyntax509 for debugging
[35/118] Compiling Ananda AnandaModel.swift
[36/118] Compiling Ananda AnandaValueExtractor.swift
[37/118] Compiling Ananda AnandaPathItem.swift
[38/118] Emitting module Ananda
[39/118] Compiling Ananda AnandaJSON.swift
[40/119] Compiling yyjson.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/124] Emitting module Ananda
/host/spi-builder-workspace/.build/checkouts/Ananda/Sources/Ananda/AnandaJSON.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import yyjson
  3 |
[43/124] Compiling Ananda AnandaValueExtractor.swift
/host/spi-builder-workspace/.build/checkouts/Ananda/Sources/Ananda/AnandaJSON.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import yyjson
  3 |
[44/124] Compiling Ananda AnandaPathItem.swift
/host/spi-builder-workspace/.build/checkouts/Ananda/Sources/Ananda/AnandaJSON.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import yyjson
  3 |
[45/124] Compiling Ananda AnandaModel.swift
/host/spi-builder-workspace/.build/checkouts/Ananda/Sources/Ananda/AnandaJSON.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import yyjson
  3 |
[46/124] Compiling Ananda AnandaJSON.swift
/host/spi-builder-workspace/.build/checkouts/Ananda/Sources/Ananda/AnandaJSON.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import yyjson
  3 |
BUILD FAILURE 6.2 wasm