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 EmbraceIO, reference main (db82d3), with Swift 6.2 (beta) for Wasm on 11 Sep 2025 21:51:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/embrace-io/embrace-apple-sdk.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/embrace-io/embrace-apple-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at db82d3c [EMBR-8927][UI_TESTS_APP] Adds automated tests for SwiftUI Capture (#377)
Cloned https://github.com/embrace-io/embrace-apple-sdk.git
Revision (git rev-parse @):
db82d3cea83667d8db8aad437c5ea3be5136d230
SUCCESS checkout https://github.com/embrace-io/embrace-apple-sdk.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/embrace-io/embrace-apple-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/open-telemetry/opentelemetry-swift-core
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/kstenerud/KSCrash
[1/18627] Fetching kscrash
[374/31646] Fetching kscrash, opentelemetry-swift-core
[19266/103559] Fetching kscrash, opentelemetry-swift-core, swift-syntax
Fetched https://github.com/open-telemetry/opentelemetry-swift-core from cache (0.68s)
[25100/90540] Fetching kscrash, swift-syntax
Fetched https://github.com/kstenerud/KSCrash from cache (5.30s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.34s)
Computing version for https://github.com/open-telemetry/opentelemetry-swift-core
Computed https://github.com/open-telemetry/opentelemetry-swift-core at 2.1.1 (6.01s)
Fetching https://github.com/apple/swift-atomics.git
[1/1814] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.44s)
Computing version for https://github.com/kstenerud/KSCrash
Computed https://github.com/kstenerud/KSCrash at 2.3.0 (2.77s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.09s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 509.1.1 (1.05s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/open-telemetry/opentelemetry-swift-core
Working copy of https://github.com/open-telemetry/opentelemetry-swift-core resolved at 2.1.1
Creating working copy for https://github.com/kstenerud/KSCrash
Working copy of https://github.com/kstenerud/KSCrash resolved at 2.3.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Building for debugging...
[0/140] Compiling EMBWKNavigationDelegateProxy.m
In file included from /host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/source/EMBBinaryImageProvider.m:5:
/host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/include/EMBBinaryImageProvider.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/source/EMBDisplayLinkProxy.m:5:
/host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/include/EMBDisplayLinkProxy.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/140] Compiling EMBDisplayLinkProxy.m
[1/140] Compiling EMBBinaryImageProvider.m
In file included from /host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/source/EMBDisplayLinkProxy.m:5:
/host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/include/EMBDisplayLinkProxy.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/source/EMBBinaryImageProvider.m:5:
/host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/include/EMBBinaryImageProvider.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/140] Compiling EMBDisplayLinkProxy.m
[1/140] Compiling EMBBinaryImageProvider.m
In file included from /host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/source/EMBDevice.m:9:
/host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/include/EMBDevice.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/140] Compiling EMBDevice.m
In file included from /host/spi-builder-workspace/Tests/TestSupport/Objc/source/URLSessionDelegateImplementerButWithoutConforming.m:5:
/host/spi-builder-workspace/Tests/TestSupport/Objc/include/URLSessionDelegateImplementerButWithoutConforming.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/140] Compiling URLSessionDelegateImplementerButWithoutConforming.m
In file included from /host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/source/EMBDevice.m:9:
/host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/include/EMBDevice.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1[1/140] Compiling EMBDevice.m
[1/140] Compiling _AtomicsShims.c
BUILD FAILURE 6.2 wasm