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-mocking, reference main (7742ad), with Swift 6.2 (beta) for Wasm on 13 Sep 2025 03:17:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DanielCardonaRojas/swift-mocking.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/DanielCardonaRojas/swift-mocking
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7742ad9 Rearrange TOC
Cloned https://github.com/DanielCardonaRojas/swift-mocking.git
Revision (git rev-parse @):
7742ad948d2fd22531a2fd864ed6c242bfc5134d
SUCCESS checkout https://github.com/DanielCardonaRojas/swift-mocking.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/DanielCardonaRojas/swift-mocking.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
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/pointfreeco/swift-macro-testing.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/apple/swift-syntax.git
[1/908] Fetching swift-macro-testing
[909/3002] Fetching swift-macro-testing, swift-docc-plugin
[1370/8501] Fetching swift-macro-testing, swift-docc-plugin, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (0.38s)
[5614/7593] Fetching swift-docc-plugin, xctest-dynamic-overlay
Fetched https://github.com/apple/swift-docc-plugin from cache (0.39s)
[3576/77413] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (6.02s)
Fetched https://github.com/apple/swift-syntax.git from cache (6.08s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (8.47s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3509] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.38s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.6.3 (0.78s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15367] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.61s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (4.04s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.43s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (0.34s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.6 (0.34s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4598] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.30s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.61s)
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/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.6.3
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.5
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.6
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.1
warning: 'swift-macro-testing': Conflicting identity for swift-syntax: dependency 'github.com/swiftlang/swift-syntax' and dependency 'github.com/apple/swift-syntax' both point to the same package identity 'swift-syntax'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/pointfreeco/swift-macro-testing->github.com/swiftlang/swift-syntax (B) /host/spi-builder-workspace->github.com/apple/swift-syntax. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
warning: 'swift-snapshot-testing': Conflicting identity for swift-syntax: dependency 'github.com/swiftlang/swift-syntax' and dependency 'github.com/apple/swift-syntax' both point to the same package identity 'swift-syntax'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/pointfreeco/swift-macro-testing->github.com/swiftlang/swift-syntax (B) /host/spi-builder-workspace->github.com/apple/swift-syntax. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/56] Write sources
[34/56] Compiling _SwiftSyntaxCShims dummy.c
[36/56] Write swift-version-24593BA9C3E375BF.txt
[38/72] Emitting module SwiftSyntax600
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/72] Emitting module SwiftMockingOptions
/host/spi-builder-workspace/Sources/SwiftMockingOptions/MockableOptions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A set of options that control the code generation behavior of the `@Mockable` macro.
[40/72] Emitting module SwiftSyntax509
[41/72] Compiling SwiftSyntax509 Empty.swift
[42/73] Emitting module SwiftSyntax600
[43/73] Compiling SwiftSyntax600 Empty.swift
[45/74] Emitting module SwiftSyntax510
[46/74] Compiling SwiftSyntax510 Empty.swift
[48/77] Wrapping AST for SwiftSyntax600 for debugging
[50/77] Emitting module SwiftSyntax509
[51/77] Compiling SwiftSyntax509 Empty.swift
[51/77] Wrapping AST for SwiftSyntax509 for debugging
[53/78] Compiling SwiftMockingOptions MockableOptions.swift
/host/spi-builder-workspace/Sources/SwiftMockingOptions/MockableOptions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A set of options that control the code generation behavior of the `@Mockable` macro.
[55/78] Emitting module IssueReportingPackageSupport
[56/78] Emitting module SwiftSyntax510
[57/78] Emitting module SwiftMockingOptions
[57/78] Wrapping AST for SwiftSyntax510 for debugging
BUILD FAILURE 6.2 wasm