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-http-error-handling, reference 0.1.2 (ee3026), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 01:32:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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-http-error-handling.git
Reference: 0.1.2
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-http-error-handling
 * tag               0.1.2      -> FETCH_HEAD
HEAD is now at ee3026b Rename `_AdditionalSnippetDependencies` product/target to be more specific to avoid name collisions across packages.
Cloned https://github.com/fumoboy007/swift-http-error-handling.git
Revision (git rev-parse @):
ee3026b915f6a43391992e5b9027c2b928a57406
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/fumoboy007/swift-http-error-handling.git at 0.1.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/fumoboy007/swift-http-error-handling.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/fumoboy007/swift-retry.git
[1/904] Fetching swift-http-types
[905/4740] Fetching swift-http-types, swift-log
[1941/4969] Fetching swift-http-types, swift-log, swift-retry
[2703/7051] Fetching swift-http-types, swift-log, swift-retry, swift-docc-plugin
Fetched https://github.com/fumoboy007/swift-retry.git from cache (0.43s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.43s)
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/fumoboy007/swift-retry.git
Computed https://github.com/fumoboy007/swift-retry.git at 0.2.4 (0.81s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.40s)
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.74s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.86s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.43s)
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
Creating working copy for https://github.com/fumoboy007/swift-retry.git
Working copy of https://github.com/fumoboy007/swift-retry.git resolved at 0.2.4
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-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/47] Write sources
[16/47] Write swift-version-24593BA9C3E375BF.txt
[18/60] Emitting module HTTPTypes
[19/61] Compiling HTTPTypes ISOLatin1String.swift
[20/61] Compiling HTTPTypes HTTPResponse.swift
[21/61] Compiling HTTPTypes HTTPParsedFields.swift
[22/61] Compiling HTTPTypes HTTPRequest.swift
[23/61] Compiling HTTPTypes NIOLock.swift
[24/61] Compiling Logging LogHandler.swift
[25/61] Compiling Logging MetadataProvider.swift
[26/61] Emitting module Logging
[27/61] Compiling Logging Locks.swift
[28/61] Compiling Logging Logging.swift
[29/62] Wrapping AST for Logging for debugging
[31/77] Compiling Retry Error+OriginalError.swift
[32/77] Compiling Retry NotRetryable.swift
[33/77] Compiling Retry Retryable.swift
[34/77] Compiling Retry RetryableRequest+SafeRetry.swift
[35/78] Compiling HTTPTypes HTTPField.swift
[36/78] Compiling HTTPTypes HTTPFieldName.swift
[37/78] Compiling HTTPTypes HTTPFields.swift
[39/79] Compiling Retry RetryableRequest.swift
[39/79] Wrapping AST for HTTPTypes for debugging
[41/85] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 | import HTTPTypes
 17 |
[42/85] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 | import HTTPTypes
 17 |
[43/85] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 | import HTTPTypes
 17 |
[44/85] Compiling Retry Logger+RetryMetadataKey.swift
[45/85] Compiling Retry RecoveryAction.swift
[46/85] Compiling Retry ConstantBackoff.swift
[47/85] Compiling Retry FullJitterExponentialBackoff.swift
[48/85] Compiling Retry RandomNumberGenerator.swift
[49/85] Compiling Retry StandardRandomNumberGenerator.swift
[50/85] Compiling Retry Backoff.swift
[51/85] Compiling Retry BackoffAlgorithm.swift
[52/85] Emitting module Retry
[53/85] Compiling Retry Retry.swift
[54/85] Compiling Retry RetryConfiguration.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/86] Emitting module HTTPTypesFoundation
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 | import HTTPTypes
 17 |
[56/86] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 | import HTTPTypes
 17 |
[57/86] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 | import HTTPTypes
 17 |
BUILD FAILURE 6.2 wasm