Build Information
Failed to build firebase-swift, reference main (5aa061), with Swift 6.2 for Wasm on 2 Dec 2025 09:50:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/zunda-pixel/firebase-swift.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/zunda-pixel/firebase-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5aa0610 Bump actions/checkout from 5 to 6 (#52)
Cloned https://github.com/zunda-pixel/firebase-swift.git
Revision (git rev-parse @):
5aa0610da95f1de11485940a067e7067bf39cb92
SUCCESS checkout https://github.com/zunda-pixel/firebase-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/zunda-pixel/firebase-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/swift-sdk.json
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/zunda-pixel/http-client
[1/156] Fetching http-client
[157/1099] Fetching http-client, swift-http-types
Fetched https://github.com/zunda-pixel/http-client from cache (0.28s)
Fetched https://github.com/apple/swift-http-types from cache (0.28s)
Computing version for https://github.com/zunda-pixel/http-client
Computed https://github.com/zunda-pixel/http-client at 0.3.1 (0.93s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.5.1 (0.46s)
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.5.1
Creating working copy for https://github.com/zunda-pixel/http-client
Working copy of https://github.com/zunda-pixel/http-client resolved at 0.3.1
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/16] Compiling HTTPTypes ISOLatin1String.swift
[9/17] Compiling HTTPTypes HTTPParsedFields.swift
[10/17] Compiling HTTPTypes HTTPResponse.swift
[11/17] Compiling HTTPTypes HTTPRequest.swift
[12/17] Compiling HTTPTypes NIOLock.swift
[13/17] Compiling HTTPTypes HTTPRequest+URL.swift
[14/17] Compiling HTTPTypes HTTPField.swift
[15/17] Compiling HTTPTypes HTTPFieldName.swift
[16/17] Emitting module HTTPTypes
[17/17] Compiling HTTPTypes HTTPFields.swift
[19/24] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[20/24] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/24] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[22/24] Emitting module HTTPTypesFoundation
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:51:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
49 |
50 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
51 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
52 | /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
53 | ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:155:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
153 |
154 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
155 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
156 | /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
157 | ///
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[23/24] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[24/24] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:51:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
49 |
50 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
51 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
52 | /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
53 | ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:155:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
153 |
154 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
155 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
156 | /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
157 | ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:59:19: error: cannot find type 'URLSessionTaskDelegate' in scope
57 | public func data(
58 | for request: HTTPRequest,
59 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
60 | ) async throws -> (Data, HTTPResponse) {
61 | guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:80:19: error: cannot find type 'URLSessionTaskDelegate' in scope
78 | for request: HTTPRequest,
79 | fromFile fileURL: URL,
80 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
81 | ) async throws -> (Data, HTTPResponse) {
82 | guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:101:19: error: cannot find type 'URLSessionTaskDelegate' in scope
99 | for request: HTTPRequest,
100 | from bodyData: Data,
101 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
102 | ) async throws -> (Data, HTTPResponse) {
103 | guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:120:19: error: cannot find type 'URLSessionTaskDelegate' in scope
118 | public func download(
119 | for request: HTTPRequest,
120 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
121 | ) async throws -> (URL, HTTPResponse) {
122 | guard let urlRequest = URLRequest(httpRequest: request) else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
BUILD FAILURE 6.2 wasm