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 OAuthKit, reference main (c7c362), with Swift 6.2 (beta) for Wasm on 26 Jun 2025 23:15:39 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/codefiesta/OAuthKit.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/codefiesta/OAuthKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c7c362d Error Response Tests (#101)
Cloned https://github.com/codefiesta/OAuthKit.git
Revision (git rev-parse @):
c7c362d3698e69293c5e4176f6a6d351575bc43a
SUCCESS checkout https://github.com/codefiesta/OAuthKit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/codefiesta/OAuthKit.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
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/25] Emitting module OAuthKit
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[4/28] Compiling OAuthKit EnvironmentValues+Extensions.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[5/28] Compiling OAuthKit String+Extensions.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[6/28] Compiling OAuthKit Task+Extensions.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[7/28] Compiling OAuthKit OAuth+Authorization.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[8/28] Compiling OAuthKit OAuth+DeviceCode.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[9/28] Compiling OAuthKit OAuth+GrantType.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[10/28] Compiling OAuthKit OAuth+Option.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[11/28] Compiling OAuthKit OAuth+PKCE.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[12/28] Compiling OAuthKit OAuth+Provider.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[13/28] Compiling OAuthKit OAuth+Request.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[14/28] Compiling OAuthKit OAuth+State.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[15/28] Compiling OAuthKit OAuth+Token.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[16/28] Compiling OAuthKit UUID+Extensions.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[17/28] Compiling OAuthKit Keychain.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[18/28] Compiling OAuthKit NetworkMonitor.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[19/28] Compiling OAuthKit URL+Extensions.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[20/28] Compiling OAuthKit URLRequest+Extensions.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[21/28] Compiling OAuthKit URLResponse+Extensions.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[22/28] Compiling OAuthKit Collection+Extensions.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[23/28] Compiling OAuthKit Data+Extensions.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[24/28] Compiling OAuthKit Date+Extensions.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[25/28] Compiling OAuthKit Digest+Extensions.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[26/28] Compiling OAuthKit OAuth.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[27/28] Compiling OAuthKit OAWebView.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
[28/28] Compiling OAuthKit OAWebViewCoordinator.swift
/host/spi-builder-workspace/Sources/OAuthKit/Extensions/Collection+Extensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Collection {
BUILD FAILURE 6.2 wasm