Build Information
Failed to build flare-client-swift, reference main (06b7e2), with Swift 6.3 for Wasm on 9 Sep 2026 12:32:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/spatie/flare-client-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/spatie/flare-client-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 06b7e20 Prepare the 1.0.0 release
Cloned https://github.com/spatie/flare-client-swift.git
Revision (git rev-parse @):
06b7e20c420f39084a1ba251b458f7ba52d69f97
SUCCESS checkout https://github.com/spatie/flare-client-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/spatie/flare-client-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:e92e38b97676c18adb57b57429ddfb766786102cb50cb918e0d9e8055d05b35d
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/microsoft/plcrashreporter.git
[1/17012] Fetching plcrashreporter
Fetched https://github.com/microsoft/plcrashreporter.git from cache (1.46s)
Computing version for https://github.com/microsoft/plcrashreporter.git
Computed https://github.com/microsoft/plcrashreporter.git at 1.12.2 (2.38s)
Creating working copy for https://github.com/microsoft/plcrashreporter.git
Working copy of https://github.com/microsoft/plcrashreporter.git resolved at 1.12.2
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/14] Compiling Flare FlareSendResult.swift
[5/15] Compiling Flare FlareValue.swift
[6/15] Compiling Flare FlareStackFrame.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/15] Compiling Flare FlareConfiguration.swift
[8/15] Compiling Flare FlareDiagnostics.swift
[9/15] Emitting module Flare
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:13:26: error: cannot find type 'URLRequest' in scope
11 |
12 | protocol HTTPTransport: Sendable {
13 | func send(_ request: URLRequest) async throws -> HTTPResult
| `- error: cannot find type 'URLRequest' in scope
14 | }
15 |
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:17:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | struct URLSessionTransport: HTTPTransport {
17 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |
19 | init(timeout: TimeInterval) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:29:26: error: cannot find type 'URLRequest' in scope
27 | }
28 |
29 | func send(_ request: URLRequest) async throws -> HTTPResult {
| `- error: cannot find type 'URLRequest' in scope
30 | let (_, response) = try await session.data(for: request)
31 | guard let response = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:17:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'
15 |
16 | struct URLSessionTransport: HTTPTransport {
17 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'
18 |
19 | init(timeout: TimeInterval) {
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:39:49: error: cannot find type 'URLSessionTaskDelegate' in scope
37 | }
38 |
39 | private final class RedirectDelegate: NSObject, URLSessionTaskDelegate {
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
40 | // A redirect must not forward the project key to another endpoint.
41 | func urlSession(
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:45:29: error: cannot find type 'URLRequest' in scope
43 | task: URLSessionTask,
44 | willPerformHTTPRedirection response: HTTPURLResponse,
45 | newRequest request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
46 | completionHandler: @escaping @Sendable (URLRequest?) -> Void
47 | ) {
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:46:49: error: cannot find type 'URLRequest' in scope
44 | willPerformHTTPRedirection response: HTTPURLResponse,
45 | newRequest request: URLRequest,
46 | completionHandler: @escaping @Sendable (URLRequest?) -> Void
| `- error: cannot find type 'URLRequest' in scope
47 | ) {
48 | completionHandler(nil)
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:42:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | // A redirect must not forward the project key to another endpoint.
41 | func urlSession(
42 | _ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | task: URLSessionTask,
44 | willPerformHTTPRedirection response: HTTPURLResponse,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:43:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | func urlSession(
42 | _ session: URLSession,
43 | task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | willPerformHTTPRedirection response: HTTPURLResponse,
45 | newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:44:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | _ session: URLSession,
43 | task: URLSessionTask,
44 | willPerformHTTPRedirection response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | newRequest request: URLRequest,
46 | completionHandler: @escaping @Sendable (URLRequest?) -> Void
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[10/15] Compiling Flare FlareClient.swift
/host/spi-builder-workspace/Sources/Flare/FlareClient.swift:54:23: error: cannot find 'URLRequest' in scope
52 |
53 | let payload = try FlarePayload(report: filtered)
54 | var request = URLRequest(url: URL(string: "https://ingress.flareapp.io/v1/errors")!)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.timeoutInterval = configuration.timeout
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:13:26: error: cannot find type 'URLRequest' in scope
11 |
12 | protocol HTTPTransport: Sendable {
13 | func send(_ request: URLRequest) async throws -> HTTPResult
| `- error: cannot find type 'URLRequest' in scope
14 | }
15 |
[11/15] Compiling Flare FlareClientError.swift
/host/spi-builder-workspace/Sources/Flare/FlareClient.swift:54:23: error: cannot find 'URLRequest' in scope
52 |
53 | let payload = try FlarePayload(report: filtered)
54 | var request = URLRequest(url: URL(string: "https://ingress.flareapp.io/v1/errors")!)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.timeoutInterval = configuration.timeout
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:13:26: error: cannot find type 'URLRequest' in scope
11 |
12 | protocol HTTPTransport: Sendable {
13 | func send(_ request: URLRequest) async throws -> HTTPResult
| `- error: cannot find type 'URLRequest' in scope
14 | }
15 |
[12/15] Compiling Flare HTTPTransport.swift
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:13:26: error: cannot find type 'URLRequest' in scope
11 |
12 | protocol HTTPTransport: Sendable {
13 | func send(_ request: URLRequest) async throws -> HTTPResult
| `- error: cannot find type 'URLRequest' in scope
14 | }
15 |
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:17:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | struct URLSessionTransport: HTTPTransport {
17 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |
19 | init(timeout: TimeInterval) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:29:26: error: cannot find type 'URLRequest' in scope
27 | }
28 |
29 | func send(_ request: URLRequest) async throws -> HTTPResult {
| `- error: cannot find type 'URLRequest' in scope
30 | let (_, response) = try await session.data(for: request)
31 | guard let response = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:17:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'
15 |
16 | struct URLSessionTransport: HTTPTransport {
17 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'
18 |
19 | init(timeout: TimeInterval) {
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:39:49: error: cannot find type 'URLSessionTaskDelegate' in scope
37 | }
38 |
39 | private final class RedirectDelegate: NSObject, URLSessionTaskDelegate {
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
40 | // A redirect must not forward the project key to another endpoint.
41 | func urlSession(
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:45:29: error: cannot find type 'URLRequest' in scope
43 | task: URLSessionTask,
44 | willPerformHTTPRedirection response: HTTPURLResponse,
45 | newRequest request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
46 | completionHandler: @escaping @Sendable (URLRequest?) -> Void
47 | ) {
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:46:49: error: cannot find type 'URLRequest' in scope
44 | willPerformHTTPRedirection response: HTTPURLResponse,
45 | newRequest request: URLRequest,
46 | completionHandler: @escaping @Sendable (URLRequest?) -> Void
| `- error: cannot find type 'URLRequest' in scope
47 | ) {
48 | completionHandler(nil)
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:42:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | // A redirect must not forward the project key to another endpoint.
41 | func urlSession(
42 | _ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | task: URLSessionTask,
44 | willPerformHTTPRedirection response: HTTPURLResponse,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:43:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | func urlSession(
42 | _ session: URLSession,
43 | task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | willPerformHTTPRedirection response: HTTPURLResponse,
45 | newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:44:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | _ session: URLSession,
43 | task: URLSessionTask,
44 | willPerformHTTPRedirection response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | newRequest request: URLRequest,
46 | completionHandler: @escaping @Sendable (URLRequest?) -> Void
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:20:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
18 |
19 | init(timeout: TimeInterval) {
20 | let configuration = URLSessionConfiguration.ephemeral
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
21 | configuration.httpShouldSetCookies = false
22 | configuration.urlCache = nil
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:26:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
24 | configuration.timeoutIntervalForRequest = validTimeout
25 | configuration.timeoutIntervalForResource = validTimeout
26 | session = URLSession(configuration: configuration, delegate: RedirectDelegate(), delegateQueue: nil)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
27 | }
28 |
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:26:105: error: 'nil' requires a contextual type
24 | configuration.timeoutIntervalForRequest = validTimeout
25 | configuration.timeoutIntervalForResource = validTimeout
26 | session = URLSession(configuration: configuration, delegate: RedirectDelegate(), delegateQueue: nil)
| `- error: 'nil' requires a contextual type
27 | }
28 |
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:30:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
28 |
29 | func send(_ request: URLRequest) async throws -> HTTPResult {
30 | let (_, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
31 | guard let response = response as? HTTPURLResponse else {
32 | throw FlareClientError.invalidResponse
/host/spi-builder-workspace/Sources/Flare/HTTPTransport.swift:48:27: error: 'nil' requires a contextual type
46 | completionHandler: @escaping @Sendable (URLRequest?) -> Void
47 | ) {
48 | completionHandler(nil)
| `- error: 'nil' requires a contextual type
49 | }
50 | }
[13/15] Compiling Flare FlareGrouping.swift
[14/15] Compiling Flare FlarePayload.swift
[15/15] Compiling Flare FlareReport.swift
BUILD FAILURE 6.3 wasm