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 APIota, reference 0.2.0 (590dd9), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 22:39:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/danielrbrowne/APIota.git
Reference: 0.2.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/danielrbrowne/APIota
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 590dd92 README and API docs updates (#32)
Cloned https://github.com/danielrbrowne/APIota.git
Revision (git rev-parse @):
590dd92231b0428f2b6910f856845d1895c58af9
SUCCESS checkout https://github.com/danielrbrowne/APIota.git at 0.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/danielrbrowne/APIota.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/realm/SwiftLint
[1/150628] Fetching swiftlint
Fetched https://github.com/realm/SwiftLint from cache (42.28s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.59.1 (46.63s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/10859] Fetching yams
[1196/11788] Fetching yams, swiftytexttable
[1243/11888] Fetching yams, swiftytexttable, collectionconcurrencykit
[1401/28032] Fetching yams, swiftytexttable, collectionconcurrencykit, sourcekitten
[21178/98938] Fetching yams, swiftytexttable, collectionconcurrencykit, sourcekitten, swift-syntax
[37251/111879] Fetching yams, swiftytexttable, collectionconcurrencykit, sourcekitten, swift-syntax, cryptoswift
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (6.56s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (9.90s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (11.16s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (11.18s)
Fetched https://github.com/jpsim/Yams.git from cache (11.21s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (11.21s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (9.68s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (22.48s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.41s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (3.55s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (0.69s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.40s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.1 (0.41s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.31s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.74s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.36s)
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.0
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.59.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/14] Compiling APIota HTTPMethod.swift
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | #if canImport(FoundationNetworking)
  3 | import FoundationNetworking
[7/15] Compiling APIota HTTPMediaType.swift
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | #if canImport(FoundationNetworking)
  3 | import FoundationNetworking
[8/15] Compiling APIota HTTPStatusCode.swift
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | #if canImport(FoundationNetworking)
  3 | import FoundationNetworking
[9/15] Compiling APIota APIotaClientError.swift
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | #if canImport(FoundationNetworking)
  3 | import FoundationNetworking
[10/15] Compiling APIota APIotaURLEncodedFormEndpoint.swift
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | #if canImport(FoundationNetworking)
  3 | import FoundationNetworking
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/15] Emitting module APIota
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | #if canImport(FoundationNetworking)
  3 | import FoundationNetworking
[12/15] Compiling APIota APIotaClient.swift
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | #if canImport(FoundationNetworking)
  3 | import FoundationNetworking
[13/15] Compiling APIota APIotaCodableEndpoint.swift
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | #if canImport(FoundationNetworking)
  3 | import FoundationNetworking
[14/15] Compiling APIota HTTPHeaders.swift
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | #if canImport(FoundationNetworking)
  3 | import FoundationNetworking
[15/15] Compiling APIota HTTPHeader.swift
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | #if canImport(FoundationNetworking)
  3 | import FoundationNetworking
BUILD FAILURE 6.2 wasm