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 (7b27f7), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 14:21:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/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 7b27f7f support swift-syntax 601
Cloned https://github.com/nixzhu/AnandaMacros.git
Revision (git rev-parse @):
7b27f7fca8a91b139d7a9d997aee6e81a0220bd6
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-1":/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/swiftlang/swift-syntax.git
Fetching https://github.com/nixzhu/Ananda.git
[1/710] Fetching ananda
[711/71637] Fetching ananda, swift-syntax
Fetched https://github.com/nixzhu/Ananda.git from cache (6.85s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.93s)
Computing version for https://github.com/nixzhu/Ananda.git
Computed https://github.com/nixzhu/Ananda.git at 1.0.0 (7.40s)
Fetching https://github.com/ibireme/yyjson.git
[1/3794] Fetching yyjson
Fetched https://github.com/ibireme/yyjson.git from cache (0.79s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.11.1 (3.91s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.76s)
Creating working copy for https://github.com/nixzhu/Ananda.git
Working copy of https://github.com/nixzhu/Ananda.git resolved at 1.0.0
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 601.0.1
Building for debugging...
[0/42] Write sources
[20/42] Compiling _SwiftSyntaxCShims dummy.c
[21/42] Compiling yyjson.c
[22/42] Write swift-version-24593BA9C3E375BF.txt
[24/54] Emitting module SwiftSyntax601
[25/54] Emitting module Ananda
[26/54] Emitting module SwiftSyntax509
[27/54] Compiling SwiftSyntax509 Empty.swift
[28/55] Compiling SwiftSyntax601 Empty.swift
[30/56] Emitting module SwiftSyntax510
[32/56] Compiling SwiftSyntax510 Empty.swift
[32/57] Wrapping AST for SwiftSyntax509 for debugging
[34/57] Wrapping AST for SwiftSyntax601 for debugging
[36/57] Compiling SwiftSyntax600 Empty.swift
[37/57] Emitting module SwiftSyntax600
[37/58] Wrapping AST for SwiftSyntax510 for debugging
[39/58] Wrapping AST for SwiftSyntax600 for debugging
[41/122] Compiling Ananda AnandaJSON.swift
[42/122] Compiling Ananda AnandaModel.swift
[43/122] Compiling Ananda AnandaValueExtractor.swift
[45/123] Compiling SwiftSyntax SourceLocation.swift
[46/123] Compiling SwiftSyntax SourcePresence.swift
[47/123] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[48/123] Compiling SwiftSyntax Syntax.swift
[49/123] Compiling SwiftSyntax SyntaxArena.swift
[50/123] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[51/123] Compiling SwiftSyntax SyntaxChildren.swift
[52/123] Compiling SwiftSyntax SyntaxCollection.swift
[53/123] Compiling SwiftSyntax SyntaxHashable.swift
[53/132] Compiling yyjson.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/136] 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 |
[56/136] 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 |
[57/136] 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 |
[58/136] 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