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 swift-retry, reference main (df9d7b), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 15:44:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fumoboy007/swift-retry.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/fumoboy007/swift-retry
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at df9d7b1 Log the full error instead of only the error type.
Cloned https://github.com/fumoboy007/swift-retry.git
Revision (git rev-parse @):
df9d7b185d2e433147ec0083a73c257e665eea0d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/fumoboy007/swift-retry.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/fumoboy007/swift-retry.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
[347/5918] Fetching swift-log, swift-docc-plugin
Fetched https://github.com/apple/swift-log.git from cache (0.43s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.44s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.81s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.4 (2.31s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3414] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.42s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.08s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/43] Write sources
[13/43] Write swift-version-24593BA9C3E375BF.txt
[15/48] Compiling Logging MetadataProvider.swift
[16/48] Compiling Logging Locks.swift
[17/48] Emitting module Logging
[18/48] Compiling Logging LogHandler.swift
[19/48] Compiling Logging Logging.swift
[20/49] Wrapping AST for Logging for debugging
[22/64] Compiling Retry Error+OriginalError.swift
[23/64] Compiling Retry NotRetryable.swift
[24/64] Compiling Retry Retryable.swift
/host/spi-builder-workspace/Sources/Retry/RetryableRequest/RetryableRequest+SafeRetry.swift:145:8: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
143 |       backoff: Backoff<ClockType> = .default(baseDelay: .seconds(1), maxDelay: .seconds(20)),
144 |       logger: Logging.Logger? = nil,
145 |       @_inheritActorContext @_implicitSelfCapture operation: (Self) async throws -> ReturnType,
    |        `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
146 |       recoverFromFailure: @escaping @Sendable (any Error) -> RecoveryAction<ClockType> = { _ in .retry }
147 |    ) async throws -> ReturnType where ClockType.Duration == Duration {
/host/spi-builder-workspace/Sources/Retry/RetryableRequest/RetryableRequest+SafeRetry.swift:185:8: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
183 |       backoff: Backoff<ClockType>,
184 |       logger: Logging.Logger? = nil,
185 |       @_inheritActorContext @_implicitSelfCapture operation: (Self) async throws -> ReturnType,
    |        `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
186 |       recoverFromFailure: @escaping @Sendable (any Error) -> RecoveryAction<ClockType> = { _ in .retry }
187 |    ) async throws -> ReturnType {
/host/spi-builder-workspace/Sources/Retry/RetryableRequest/RetryableRequest+SafeRetry.swift:217:8: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
215 |    public func retry<ClockType, ReturnType>(
216 |       with configuration: RetryConfiguration<ClockType>,
217 |       @_inheritActorContext @_implicitSelfCapture operation: (Self) async throws -> ReturnType
    |        `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
218 |    ) async throws -> ReturnType {
219 |       precondition(isIdempotent, "The request is not idempotent: `\(self)`.")
[25/64] Compiling Retry RetryableRequest+SafeRetry.swift
/host/spi-builder-workspace/Sources/Retry/RetryableRequest/RetryableRequest+SafeRetry.swift:145:8: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
143 |       backoff: Backoff<ClockType> = .default(baseDelay: .seconds(1), maxDelay: .seconds(20)),
144 |       logger: Logging.Logger? = nil,
145 |       @_inheritActorContext @_implicitSelfCapture operation: (Self) async throws -> ReturnType,
    |        `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
146 |       recoverFromFailure: @escaping @Sendable (any Error) -> RecoveryAction<ClockType> = { _ in .retry }
147 |    ) async throws -> ReturnType where ClockType.Duration == Duration {
/host/spi-builder-workspace/Sources/Retry/RetryableRequest/RetryableRequest+SafeRetry.swift:185:8: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
183 |       backoff: Backoff<ClockType>,
184 |       logger: Logging.Logger? = nil,
185 |       @_inheritActorContext @_implicitSelfCapture operation: (Self) async throws -> ReturnType,
    |        `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
186 |       recoverFromFailure: @escaping @Sendable (any Error) -> RecoveryAction<ClockType> = { _ in .retry }
187 |    ) async throws -> ReturnType {
/host/spi-builder-workspace/Sources/Retry/RetryableRequest/RetryableRequest+SafeRetry.swift:217:8: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
215 |    public func retry<ClockType, ReturnType>(
216 |       with configuration: RetryConfiguration<ClockType>,
217 |       @_inheritActorContext @_implicitSelfCapture operation: (Self) async throws -> ReturnType
    |        `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
218 |    ) async throws -> ReturnType {
219 |       precondition(isIdempotent, "The request is not idempotent: `\(self)`.")
[26/65] Compiling Retry Backoff.swift
[27/65] Compiling Retry BackoffAlgorithm.swift
[28/65] Compiling Retry RandomNumberGenerator.swift
[29/65] Compiling Retry StandardRandomNumberGenerator.swift
[30/65] Compiling Retry Logger+RetryMetadataKey.swift
[31/65] Compiling Retry RecoveryAction.swift
[32/65] Compiling Retry RetryableRequest.swift
/host/spi-builder-workspace/Sources/Retry/RetryableRequest/RetryableRequest.swift:63:8: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
61 |    func unsafeRetryIgnoringIdempotency<ClockType, ReturnType>(
62 |       with configuration: RetryConfiguration<ClockType>,
63 |       @_inheritActorContext @_implicitSelfCapture operation: (Self) async throws -> ReturnType
   |        `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
64 |    ) async throws -> ReturnType
65 | }
[33/65] Emitting module Retry
/host/spi-builder-workspace/Sources/Retry/Retry.swift:174:5: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
172 |    backoff: Backoff<ContinuousClock> = .default(baseDelay: .seconds(1), maxDelay: .seconds(20)),
173 |    logger: Logging.Logger? = nil,
174 |    @_inheritActorContext @_implicitSelfCapture operation: () async throws -> ReturnType,
    |     `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
175 |    recoverFromFailure: @escaping @Sendable (any Error) -> RecoveryAction<ContinuousClock> = { _ in .retry }
176 | ) async throws -> ReturnType {
/host/spi-builder-workspace/Sources/Retry/Retry.swift:210:5: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
208 |    backoff: Backoff<ClockType> = .default(baseDelay: .seconds(1), maxDelay: .seconds(20)),
209 |    logger: Logging.Logger? = nil,
210 |    @_inheritActorContext @_implicitSelfCapture operation: () async throws -> ReturnType,
    |     `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
211 |    recoverFromFailure: @escaping @Sendable (any Error) -> RecoveryAction<ClockType> = { _ in .retry }
212 | ) async throws -> ReturnType where ClockType.Duration == Duration {
/host/spi-builder-workspace/Sources/Retry/Retry.swift:248:5: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
246 |    backoff: Backoff<ClockType>,
247 |    logger: Logging.Logger? = nil,
248 |    @_inheritActorContext @_implicitSelfCapture operation: () async throws -> ReturnType,
    |     `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
249 |    recoverFromFailure: @escaping @Sendable (any Error) -> RecoveryAction<ClockType> = { _ in .retry }
250 | ) async throws -> ReturnType {
/host/spi-builder-workspace/Sources/Retry/Retry.swift:279:5: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
277 | public func retry<ClockType, ReturnType>(
278 |    with configuration: RetryConfiguration<ClockType>,
279 |    @_inheritActorContext @_implicitSelfCapture operation: () async throws -> ReturnType
    |     `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
280 | ) async throws -> ReturnType {
281 |    let maxAttempts = configuration.maxAttempts
/host/spi-builder-workspace/Sources/Retry/RetryableRequest/RetryableRequest+SafeRetry.swift:145:8: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
143 |       backoff: Backoff<ClockType> = .default(baseDelay: .seconds(1), maxDelay: .seconds(20)),
144 |       logger: Logging.Logger? = nil,
145 |       @_inheritActorContext @_implicitSelfCapture operation: (Self) async throws -> ReturnType,
    |        `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
146 |       recoverFromFailure: @escaping @Sendable (any Error) -> RecoveryAction<ClockType> = { _ in .retry }
147 |    ) async throws -> ReturnType where ClockType.Duration == Duration {
/host/spi-builder-workspace/Sources/Retry/RetryableRequest/RetryableRequest+SafeRetry.swift:185:8: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
183 |       backoff: Backoff<ClockType>,
184 |       logger: Logging.Logger? = nil,
185 |       @_inheritActorContext @_implicitSelfCapture operation: (Self) async throws -> ReturnType,
    |        `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
186 |       recoverFromFailure: @escaping @Sendable (any Error) -> RecoveryAction<ClockType> = { _ in .retry }
187 |    ) async throws -> ReturnType {
/host/spi-builder-workspace/Sources/Retry/RetryableRequest/RetryableRequest+SafeRetry.swift:217:8: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
215 |    public func retry<ClockType, ReturnType>(
216 |       with configuration: RetryConfiguration<ClockType>,
217 |       @_inheritActorContext @_implicitSelfCapture operation: (Self) async throws -> ReturnType
    |        `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
218 |    ) async throws -> ReturnType {
219 |       precondition(isIdempotent, "The request is not idempotent: `\(self)`.")
/host/spi-builder-workspace/Sources/Retry/RetryableRequest/RetryableRequest.swift:63:8: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
61 |    func unsafeRetryIgnoringIdempotency<ClockType, ReturnType>(
62 |       with configuration: RetryConfiguration<ClockType>,
63 |       @_inheritActorContext @_implicitSelfCapture operation: (Self) async throws -> ReturnType
   |        `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
64 |    ) async throws -> ReturnType
65 | }
[34/65] Compiling Retry ConstantBackoff.swift
[35/65] Compiling Retry FullJitterExponentialBackoff.swift
[36/65] Compiling Retry Retry.swift
/host/spi-builder-workspace/Sources/Retry/Retry.swift:174:5: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
172 |    backoff: Backoff<ContinuousClock> = .default(baseDelay: .seconds(1), maxDelay: .seconds(20)),
173 |    logger: Logging.Logger? = nil,
174 |    @_inheritActorContext @_implicitSelfCapture operation: () async throws -> ReturnType,
    |     `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
175 |    recoverFromFailure: @escaping @Sendable (any Error) -> RecoveryAction<ContinuousClock> = { _ in .retry }
176 | ) async throws -> ReturnType {
/host/spi-builder-workspace/Sources/Retry/Retry.swift:210:5: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
208 |    backoff: Backoff<ClockType> = .default(baseDelay: .seconds(1), maxDelay: .seconds(20)),
209 |    logger: Logging.Logger? = nil,
210 |    @_inheritActorContext @_implicitSelfCapture operation: () async throws -> ReturnType,
    |     `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
211 |    recoverFromFailure: @escaping @Sendable (any Error) -> RecoveryAction<ClockType> = { _ in .retry }
212 | ) async throws -> ReturnType where ClockType.Duration == Duration {
/host/spi-builder-workspace/Sources/Retry/Retry.swift:248:5: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
246 |    backoff: Backoff<ClockType>,
247 |    logger: Logging.Logger? = nil,
248 |    @_inheritActorContext @_implicitSelfCapture operation: () async throws -> ReturnType,
    |     `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
249 |    recoverFromFailure: @escaping @Sendable (any Error) -> RecoveryAction<ClockType> = { _ in .retry }
250 | ) async throws -> ReturnType {
/host/spi-builder-workspace/Sources/Retry/Retry.swift:279:5: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
277 | public func retry<ClockType, ReturnType>(
278 |    with configuration: RetryConfiguration<ClockType>,
279 |    @_inheritActorContext @_implicitSelfCapture operation: () async throws -> ReturnType
    |     `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
280 | ) async throws -> ReturnType {
281 |    let maxAttempts = configuration.maxAttempts
[37/65] Compiling Retry RetryConfiguration.swift
/host/spi-builder-workspace/Sources/Retry/Retry.swift:174:5: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
172 |    backoff: Backoff<ContinuousClock> = .default(baseDelay: .seconds(1), maxDelay: .seconds(20)),
173 |    logger: Logging.Logger? = nil,
174 |    @_inheritActorContext @_implicitSelfCapture operation: () async throws -> ReturnType,
    |     `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
175 |    recoverFromFailure: @escaping @Sendable (any Error) -> RecoveryAction<ContinuousClock> = { _ in .retry }
176 | ) async throws -> ReturnType {
/host/spi-builder-workspace/Sources/Retry/Retry.swift:210:5: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
208 |    backoff: Backoff<ClockType> = .default(baseDelay: .seconds(1), maxDelay: .seconds(20)),
209 |    logger: Logging.Logger? = nil,
210 |    @_inheritActorContext @_implicitSelfCapture operation: () async throws -> ReturnType,
    |     `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
211 |    recoverFromFailure: @escaping @Sendable (any Error) -> RecoveryAction<ClockType> = { _ in .retry }
212 | ) async throws -> ReturnType where ClockType.Duration == Duration {
/host/spi-builder-workspace/Sources/Retry/Retry.swift:248:5: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
246 |    backoff: Backoff<ClockType>,
247 |    logger: Logging.Logger? = nil,
248 |    @_inheritActorContext @_implicitSelfCapture operation: () async throws -> ReturnType,
    |     `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
249 |    recoverFromFailure: @escaping @Sendable (any Error) -> RecoveryAction<ClockType> = { _ in .retry }
250 | ) async throws -> ReturnType {
/host/spi-builder-workspace/Sources/Retry/Retry.swift:279:5: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
277 | public func retry<ClockType, ReturnType>(
278 |    with configuration: RetryConfiguration<ClockType>,
279 |    @_inheritActorContext @_implicitSelfCapture operation: () async throws -> ReturnType
    |     `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
280 | ) async throws -> ReturnType {
281 |    let maxAttempts = configuration.maxAttempts
[38/66] Wrapping AST for Retry for debugging
[40/82] Compiling UseFakeClockType UseFakeClockType.swift
/host/spi-builder-workspace/Snippets/Advanced Use Cases/UseFakeClockType.swift:5:8: error: no such module 'Foundation'
 3 | // snippet.hide
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 | import Retry
 7 | import XCTest
[41/82] Emitting module ConfigureRetryBehavior
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/82] Emitting module UseFakeClockType
/host/spi-builder-workspace/Snippets/Advanced Use Cases/UseFakeClockType.swift:5:8: error: no such module 'Foundation'
 3 | // snippet.hide
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 | import Retry
 7 | import XCTest
[43/82] Compiling EnforceMinDelay EnforceMinDelay.swift
[44/82] Compiling ConfigureRetryBehavior ConfigureRetryBehavior.swift
[45/83] Emitting module EnforceMinDelay
[46/83] Emitting module EnableOrDisableRetriesForSpecificCodePaths
[47/83] Emitting module ReuseRetryConfiguration
[48/83] Emitting module EnableOrDisableRetriesForSpecificErrorCases
[49/83] Emitting module CustomBackoffAlgorithm
BUILD FAILURE 6.2 wasm