Build Information
Failed to build Nimble-SnapshotTesting, reference main (4262f2), with Swift 6.2 for Wasm on 9 Dec 2025 20:31:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tahirmt/nimble-snapshottesting.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/tahirmt/nimble-snapshottesting
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4262f24 Remove recordDelay argument (#23)
Cloned https://github.com/tahirmt/nimble-snapshottesting.git
Revision (git rev-parse @):
4262f2410da1326c25b5e17bb560ac9c4caada8f
SUCCESS checkout https://github.com/tahirmt/nimble-snapshottesting.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/tahirmt/nimble-snapshottesting.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/14859] Fetching quick
[2528/34663] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.49s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetched https://github.com/Quick/Nimble.git from cache (1.63s)
[1/15633] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.35s)
Computing version for https://github.com/Quick/Nimble.git
warning: 'nimble': /Package.swift:4:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
2 | import PackageDescription
3 |
4 | let package = Package(
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
5 | name: "Nimble",
6 | platforms: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/Quick/Nimble.git at 14.0.0 (5.61s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.24s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (5.77s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.24s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.69s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 7.6.2 (1.04s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/6041] Fetching swift-algorithms
[3566/22918] Fetching swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms.git from cache (0.44s)
[7258/16877] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.70s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.12s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.45s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (2.76s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (0.41s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.7 (0.43s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4651] Fetching swift-custom-dump
[4652/77685] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (7.21s)
Fetched https://github.com/swiftlang/swift-syntax from cache (7.28s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (8.00s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5600] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.80s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (1.43s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.0 (0.35s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 7.6.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.7
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.2
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 14.0.0
warning: 'nimble': /host/spi-builder-workspace/.build/checkouts/Nimble/Package.swift:4:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
2 | import PackageDescription
3 |
4 | let package = Package(
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
5 | name: "Nimble",
6 | platforms: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (1.10s)
warning: 'quick': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Quick/Sources/Quick/PrivacyInfo.xcprivacy
[1/1] Compiling plugin LintCommandPlugin
[2/2] Compiling plugin LintWarning
[3/3] Compiling plugin LintError
[4/4] Compiling plugin DefocusCommandPlugin
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/11] Write sources
[9/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/15] Emitting module Nimble
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift:5:14: error: no such module 'Foundation'
3 | import class Foundation.Thread
4 | #endif
5 | import class Foundation.NSObject
| `- error: no such module 'Foundation'
6 |
7 | /// "Global" state of Nimble is stored here. Only DSL functions should access / be aware of this
[12/15] Compiling Nimble AdapterProtocols.swift
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift:5:14: error: no such module 'Foundation'
3 | import class Foundation.Thread
4 | #endif
5 | import class Foundation.NSObject
| `- error: no such module 'Foundation'
6 |
7 | /// "Global" state of Nimble is stored here. Only DSL functions should access / be aware of this
BUILD FAILURE 6.2 wasm