The Swift Package Index logo.Swift Package Index

Build Information

Failed to build APIKit, reference 5.4.0 (b839e5), with Swift 6.2 for Wasm on 19 Jun 2025 19:22:52 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/ishkawa/APIKit.git
Reference: 5.4.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/ishkawa/APIKit
 * tag               5.4.0      -> FETCH_HEAD
HEAD is now at b839e53 Set version 5.4.0
Cloned https://github.com/ishkawa/APIKit.git
Revision (git rev-parse @):
b839e53b870104798035b279d2a6168b0a2227b1
SUCCESS checkout https://github.com/ishkawa/APIKit.git at 5.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ishkawa/APIKit.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
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/APIKit/Info.plist
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 APIKit
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[4/27] Compiling APIKit DataParser.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[5/27] Compiling APIKit FormURLEncodedDataParser.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[6/27] Compiling APIKit JSONDataParser.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[7/27] Compiling APIKit SessionAdapter.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[8/27] Compiling APIKit URLSessionAdapter.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[9/27] Compiling APIKit Unavailable.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[10/27] Compiling APIKit Request.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[11/27] Compiling APIKit URLEncodedSerialization.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[12/27] Compiling APIKit Session.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[13/27] Compiling APIKit CallbackQueue.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[14/27] Compiling APIKit Combine.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[15/27] Compiling APIKit Concurrency.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[16/27] Compiling APIKit ProtobufDataParser.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[17/27] Compiling APIKit StringDataParser.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[18/27] Compiling APIKit RequestError.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[19/27] Compiling APIKit ResponseError.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[20/27] Compiling APIKit SessionTaskError.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[21/27] Compiling APIKit HTTPMethod.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[22/27] Compiling APIKit JSONBodyParameters.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[23/27] Compiling APIKit MultipartFormDataBodyParameters.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[24/27] Compiling APIKit ProtobufBodyParameters.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[25/27] Compiling APIKit BodyParameters.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[26/27] Compiling APIKit Data+InputStream.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
[27/27] Compiling APIKit FormURLEncodedBodyParameters.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/BodyParameters.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// `RequestBodyEntity` represents entity of HTTP body.
BUILD FAILURE 6.2 wasm