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 1.4.1 (0cbb9e), with Swift 6.2 (beta) for Wasm on 25 Jun 2025 10:14:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 1.4.1
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
 * tag               1.4.1      -> FETCH_HEAD
HEAD is now at 0cbb9ea tvOS (#99)
Cloned https://github.com/codefiesta/OAuthKit.git
Revision (git rev-parse @):
0cbb9eaaac0ae92848ffbdf2268d9c488004c1ac
SUCCESS checkout https://github.com/codefiesta/OAuthKit.git at 1.4.1
========================================
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-4609320-3":/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/24] 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/24] 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 {
[5/24] 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 {
[6/24] 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 {
[7/27] 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 {
[8/27] 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 {
[9/27] 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 {
[10/27] 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 {
[11/27] 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 {
[12/27] 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 {
[13/27] 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/27] 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/27] 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/27] 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 {
[17/27] 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 {
[18/27] 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 {
[19/27] 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 {
[20/27] 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 {
[21/27] 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 {
[22/27] 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/27] 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/27] 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/27] 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 {
[26/27] 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 {
[27/27] 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