Build Information
Failed to build SafeRetry, reference 1.0.0 (6cf46e), with Swift 6.2 for Wasm on 1 Nov 2026 10:00:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Toni77777/SafeRetry.git
Reference: 1.0.0
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/Toni77777/SafeRetry
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 6cf46eb Merge pull request #8 from Toni77777/release/1.0.0
Cloned https://github.com/Toni77777/SafeRetry.git
Revision (git rev-parse @):
6cf46eb93311ba86283561b6d6524271f4327f60
SUCCESS checkout https://github.com/Toni77777/SafeRetry.git at 1.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Toni77777/SafeRetry.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:c2cc4df169d3c45015ced899e997f329be5fc90bdbfce388bd8981e1ea44d639
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/21] Emitting module SafeRetry
/host/spi-builder-workspace/Sources/SafeRetry/Extensions/URLSession+SafeRetry.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
9 | // MARK: - URLSession + SafeRetry
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
12 |
13 | /// Fetches data for a request, retrying transient failures automatically.
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[4/23] Compiling SafeRetry PolicyRegistry.swift
[5/23] Compiling SafeRetry SafeRetry.swift
[6/23] Compiling SafeRetry PolicyEvent.swift
[7/23] Compiling SafeRetry CircuitBreaker.swift
[8/23] Compiling SafeRetry CircuitBreakerError.swift
[9/23] Compiling SafeRetry JitterStrategy.swift
[10/23] Compiling SafeRetry RetryPolicy.swift
[11/23] Compiling SafeRetry TimeoutError.swift
[12/23] Compiling SafeRetry TimeoutPolicy.swift
[13/23] Compiling SafeRetry DelayStrategy.swift
[14/23] Compiling SafeRetry FallbackPolicy.swift
[15/23] Compiling SafeRetry Errors+LocalizedError.swift
[16/23] Compiling SafeRetry RegistryError.swift
[17/23] Compiling SafeRetry ServerError.swift
[18/23] Compiling SafeRetry URLSession+SafeRetry.swift
/host/spi-builder-workspace/Sources/SafeRetry/Extensions/URLSession+SafeRetry.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
9 | // MARK: - URLSession + SafeRetry
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
12 |
13 | /// Fetches data for a request, retrying transient failures automatically.
/host/spi-builder-workspace/Sources/SafeRetry/Extensions/URLSession+SafeRetry.swift:52:22: error: cannot find type 'URLRequest' in scope
50 | /// `URLSession` itself observes the cancellation.
51 | public func data(
52 | for request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
53 | retrying policy: RetryPolicy
54 | ) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/SafeRetry/Extensions/URLSession+SafeRetry.swift:83:22: error: cannot find type 'URLRequest' in scope
81 | /// `URLError`, ``TimeoutError``, ``CircuitBreakerError``).
82 | public func data(
83 | for request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
84 | resilience chain: PolicyChain
85 | ) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/SafeRetry/Extensions/URLSession+SafeRetry.swift:97:22: error: cannot find type 'URLRequest' in scope
95 | /// 4xx responses pass through normally so callers can handle them.
96 | private func resilientData(
97 | for request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
98 | ) async throws -> (Data, URLResponse) {
99 | let (data, response) = try await self.data(for: request)
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[19/23] Compiling SafeRetry CircuitState.swift
/host/spi-builder-workspace/Sources/SafeRetry/Extensions/URLSession+SafeRetry.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
9 | // MARK: - URLSession + SafeRetry
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
12 |
13 | /// Fetches data for a request, retrying transient failures automatically.
/host/spi-builder-workspace/Sources/SafeRetry/Extensions/URLSession+SafeRetry.swift:52:22: error: cannot find type 'URLRequest' in scope
50 | /// `URLSession` itself observes the cancellation.
51 | public func data(
52 | for request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
53 | retrying policy: RetryPolicy
54 | ) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/SafeRetry/Extensions/URLSession+SafeRetry.swift:83:22: error: cannot find type 'URLRequest' in scope
81 | /// `URLError`, ``TimeoutError``, ``CircuitBreakerError``).
82 | public func data(
83 | for request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
84 | resilience chain: PolicyChain
85 | ) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/SafeRetry/Extensions/URLSession+SafeRetry.swift:97:22: error: cannot find type 'URLRequest' in scope
95 | /// 4xx responses pass through normally so callers can handle them.
96 | private func resilientData(
97 | for request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
98 | ) async throws -> (Data, URLResponse) {
99 | let (data, response) = try await self.data(for: request)
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[20/23] Compiling SafeRetry EventStream.swift
/host/spi-builder-workspace/Sources/SafeRetry/Extensions/URLSession+SafeRetry.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
9 | // MARK: - URLSession + SafeRetry
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
12 |
13 | /// Fetches data for a request, retrying transient failures automatically.
/host/spi-builder-workspace/Sources/SafeRetry/Extensions/URLSession+SafeRetry.swift:52:22: error: cannot find type 'URLRequest' in scope
50 | /// `URLSession` itself observes the cancellation.
51 | public func data(
52 | for request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
53 | retrying policy: RetryPolicy
54 | ) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/SafeRetry/Extensions/URLSession+SafeRetry.swift:83:22: error: cannot find type 'URLRequest' in scope
81 | /// `URLError`, ``TimeoutError``, ``CircuitBreakerError``).
82 | public func data(
83 | for request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
84 | resilience chain: PolicyChain
85 | ) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/SafeRetry/Extensions/URLSession+SafeRetry.swift:97:22: error: cannot find type 'URLRequest' in scope
95 | /// 4xx responses pass through normally so callers can handle them.
96 | private func resilientData(
97 | for request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
98 | ) async throws -> (Data, URLResponse) {
99 | let (data, response) = try await self.data(for: request)
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[21/23] Compiling SafeRetry FallbackChain.swift
[22/23] Compiling SafeRetry PolicyChain.swift
[23/23] Compiling SafeRetry Cancellation.swift
BUILD FAILURE 6.2 wasm