Build Information
Failed to build InstantMock, reference 2.5.6 (6a809d
), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 00:06:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/pirishd/InstantMock.git
Reference: 2.5.6
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/pirishd/InstantMock
* tag 2.5.6 -> FETCH_HEAD
HEAD is now at 6a809d1 Merge pull request #109 from pirishd/dev
Cloned https://github.com/pirishd/InstantMock.git
Revision (git rev-parse @):
6a809d12b58969acea71875ef4bb7f2f8c811f99
SUCCESS checkout https://github.com/pirishd/InstantMock.git at 2.5.6
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/pirishd/InstantMock.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
[3/43] Compiling InstantMock DefaultValueHandler.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[4/43] Compiling InstantMock ExpectationFactory.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[5/43] Compiling InstantMock CallInterceptor.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[6/43] Compiling InstantMock Expectation.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[7/43] Compiling InstantMock CallConfiguration.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[8/43] Compiling InstantMock CallInterceptorStorage.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[9/48] Compiling InstantMock ArgumentClosureCaptor+TwoArgs.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[10/48] Compiling InstantMock ArgumentFactory.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[11/48] Compiling InstantMock ArgumentStorage.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[12/48] Compiling InstantMock ArgumentsConfiguration.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[13/48] Compiling InstantMock ArgumentsMatcher.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[14/48] Compiling InstantMock DefaultClosureHandler.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/48] Emitting module InstantMock
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[16/48] Compiling InstantMock ArgumentClosureCaptor.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[17/48] Compiling InstantMock ArgumentClosureCaptor+FiveArgs.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[18/48] Compiling InstantMock ArgumentClosureCaptor+FourArgs.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[19/48] Compiling InstantMock ArgumentClosureCaptor+NoArg.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[20/48] Compiling InstantMock ArgumentClosureCaptor+OneArg.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[21/48] Compiling InstantMock ArgumentClosureCaptor+ThreeArgs.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[22/48] Compiling InstantMock ArgumentValue.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[23/48] Compiling InstantMock ArgumentVerify.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[24/48] Compiling InstantMock ArgumentVerifyMandatory.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[25/48] Compiling InstantMock ArgumentVerifyOptional.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[26/48] Compiling InstantMock ArgumentCaptor.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[27/48] Compiling InstantMock ArgumentCaptorValues.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[28/48] Compiling InstantMock Arg+Closure.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[29/48] Compiling InstantMock Arg.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[30/48] Compiling InstantMock Argument.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[31/48] Compiling InstantMock ArgumentAny.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[32/48] Compiling InstantMock ArgumentCapture.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[33/48] Compiling InstantMock ArgumentClosure.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[34/48] Compiling InstantMock Set+MockUsable.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[35/48] Compiling InstantMock String+MockUsable.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[36/48] Compiling InstantMock Property.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[37/48] Compiling InstantMock Assertion.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[38/48] Compiling InstantMock Verifier.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[39/48] Compiling InstantMock Dictionary+MockUsable.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[40/48] Compiling InstantMock Double+MockUsable.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[41/48] Compiling InstantMock Float+MockUsable.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[42/48] Compiling InstantMock Int+MockUsable.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[43/48] Compiling InstantMock MockUsable.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[44/48] Compiling InstantMock Stub.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[45/48] Compiling InstantMock Mock.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[46/48] Compiling InstantMock Array+MockUsable.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[47/48] Compiling InstantMock Bool+MockUsable.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
[48/48] Compiling InstantMock Date+MockUsable.swift
/host/spi-builder-workspace/Sources/InstantMock/MockUsable/Date+MockUsable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /** Extension for making `Date` easily usage in mocks */
BUILD FAILURE 6.2 wasm