Build Information
Failed to build EmbraceIO, reference main (5885a4), with Swift 6.1 for Wasm on 22 Apr 2026 22:40:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
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 5885a48 Release: Release 6.18.0 (#570)
Cloned https://github.com/embrace-io/embrace-apple-sdk.git
Revision (git rev-parse @):
5885a48bb0774556207b62b175700673099eecbe
SUCCESS checkout https://github.com/embrace-io/embrace-apple-sdk.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/embrace-io/embrace-apple-sdk.git
https://github.com/embrace-io/embrace-apple-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/kstenerud/KSCrash
Fetching https://github.com/open-telemetry/opentelemetry-swift-core
[1/14002] Fetching opentelemetry-swift-core
[2522/39670] Fetching opentelemetry-swift-core, kscrash
[11717/114705] Fetching opentelemetry-swift-core, kscrash, swift-syntax
Fetched https://github.com/open-telemetry/opentelemetry-swift-core from cache (13.51s)
Fetched https://github.com/kstenerud/KSCrash from cache (13.55s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (13.66s)
Computing version for https://github.com/kstenerud/KSCrash
Computed https://github.com/kstenerud/KSCrash at 2.5.1 (15.31s)
Computing version for https://github.com/open-telemetry/opentelemetry-swift-core
Computed https://github.com/open-telemetry/opentelemetry-swift-core at 2.4.1 (4.86s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.81s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.07s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.1 (1.68s)
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
Creating working copy for https://github.com/kstenerud/KSCrash
Working copy of https://github.com/kstenerud/KSCrash resolved at 2.5.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.4.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.1
Building for debugging...
[0/169] Write sources
[19/169] Copying PrivacyInfo.xcprivacy
[19/169] Write sources
In file included from /host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/source/NewProxy/EMBURLSessionNewDelegateProxy.m:5:
/host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/source/NewProxy/EMBURLSessionNewDelegateProxy.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
5 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[26/169] Compiling EMBURLSessionNewDelegateProxy.m
[26/169] Compiling _SwiftSyntaxCShims PlatformMutex.c
In file included from /host/spi-builder-workspace/Sources/EmbraceAtomicsShim/EmbraceAtomicsShim.m:5:
/host/spi-builder-workspace/Sources/EmbraceAtomicsShim/include/EmbraceAtomicsShim.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
5 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[26/169] Compiling EmbraceAtomicsShim EmbraceAtomicsShim.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.
[26/169] 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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[26/169] Compiling EMBDevice.m
[26/169] Compiling _AtomicsShims.c
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.
[26/169] Compiling EMBDisplayLinkProxy.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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[26/169] Compiling EMBBinaryImageProvider.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/source/NewProxy/EMBURLSessionNewDelegateProxy.m:5:
/host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/source/NewProxy/EMBURLSessionNewDelegateProxy.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
5 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/143] Compiling EMBURLSessionNewDelegateProxy.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.
[0/143] Compiling URLSessionDelegateImplementerButWithoutConforming.m
[0/143] Compiling _AtomicsShims.c
[0/143] Compiling EMBWKNavigationDelegateProxy.m
[0/143] Compiling _SwiftSyntaxCShims PlatformMutex.c
[0/143] Compiling EMBURLSessionLegacyDelegateProxy.m
/host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/source/LegacyProxy/EMBURLSessionLegacyDelegateProxyFunctions.m:4:9: fatal error: 'Foundation/Foundation.h' file not found
4 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1[0/143] Compiling EMBURLSessionLegacyDelegateProxyFunctions.m
[0/143] Compiling EMBURLSessionLegacyDelegateProxy+FRPPatch.m
BUILD FAILURE 6.1 wasm