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 0.2.0 (3ba02f), with Swift 6.2 (beta) for Wasm on 6 Sep 2025 16:53:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 0.2.0
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
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 3ba02f8 Support for captures (#65)
Cloned https://github.com/DanielCardonaRojas/swift-mocking.git
Revision (git rev-parse @):
3ba02f8f90212b0521b6a039e70de6238fd4a50e
SUCCESS checkout https://github.com/DanielCardonaRojas/swift-mocking.git at 0.2.0
========================================
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-2":/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/pointfreeco/swift-macro-testing.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/908] Fetching swift-macro-testing
[483/3002] Fetching swift-macro-testing, swift-docc-plugin
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (0.34s)
[441/7599] Fetching swift-docc-plugin, xctest-dynamic-overlay
[5564/79462] Fetching swift-docc-plugin, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/apple/swift-docc-plugin from cache (0.52s)
[5017/77368] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (6.22s)
Fetched https://github.com/apple/swift-syntax.git from cache (6.26s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (9.06s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3504] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.37s)
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.79s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15372] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.85s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (3.46s)
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.36s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.6 (0.37s)
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.31s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.67s)
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-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/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.1
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
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-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.6
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 SwiftSyntax509
[39/72] Compiling SwiftSyntax509 Empty.swift
[40/73] Emitting module SwiftSyntax509
[41/73] Compiling SwiftSyntax509 Empty.swift
[42/74] Emitting module SwiftSyntax600
[43/74] Compiling SwiftSyntax600 Empty.swift
[45/75] Compiling SwiftSyntax510 Empty.swift
[46/75] Emitting module SwiftSyntax510
[49/78] Compiling SwiftSyntax510 Empty.swift
[50/78] Emitting module SwiftSyntax510
[52/79] Compiling SwiftSyntax600 Empty.swift
[53/79] Emitting module SwiftSyntax600
[53/80] Wrapping AST for SwiftSyntax509 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/80] 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.
[58/80] Compiling IssueReportingPackageSupport _Test.swift
[59/80] Emitting module IssueReportingPackageSupport
[60/119] 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.
[60/144] Wrapping AST for SwiftSyntax510 for debugging
[60/145] Wrapping AST for SwiftSyntax600 for debugging
BUILD FAILURE 6.2 wasm