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 BluetoothConnector, reference 2.1.0 (4031a7), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 15:31:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/lapfelix/bluetoothconnector.git
Reference: 2.1.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/lapfelix/bluetoothconnector
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at 4031a78 Set deployment target
Cloned https://github.com/lapfelix/bluetoothconnector.git
Revision (git rev-parse @):
4031a786653f6612466011cf1ed00a1fe8880e08
SUCCESS checkout https://github.com/lapfelix/bluetoothconnector.git at 2.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/lapfelix/bluetoothconnector.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Fetching https://github.com/apple/swift-argument-parser.git
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.46s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (6.30s)
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.2.3
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/10] Write sources
[4/10] Write swift-version-24593BA9C3E375BF.txt
[6/12] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/12] Emitting module ArgumentParserToolInfo
[8/13] Wrapping AST for ArgumentParserToolInfo for debugging
[10/50] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[11/50] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[12/50] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[13/50] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[14/50] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/55] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[16/55] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[17/55] Compiling ArgumentParser OptionGroup.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[18/55] Compiling ArgumentParser AsyncParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[19/55] Compiling ArgumentParser CommandConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[20/55] Compiling ArgumentParser EnumerableFlag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[21/55] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[22/55] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[23/55] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[24/55] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[25/55] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[26/55] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[27/55] Compiling ArgumentParser ExpressibleByArgument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[28/55] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[29/55] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[30/55] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[31/55] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[32/55] Compiling ArgumentParser ArgumentDefinition.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[33/55] Compiling ArgumentParser ArgumentSet.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[34/55] Compiling ArgumentParser CommandParser.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[35/55] Compiling ArgumentParser InputKey.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[36/55] Compiling ArgumentParser InputOrigin.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[37/55] Compiling ArgumentParser Name.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[38/55] Compiling ArgumentParser Parsed.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[39/55] Compiling ArgumentParser ParsedValues.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[40/55] Compiling ArgumentParser ParserError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[41/55] Compiling ArgumentParser SplitArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[42/55] Compiling ArgumentParser DumpHelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[43/55] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[44/55] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[45/55] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[46/55] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[47/55] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[48/55] Compiling ArgumentParser Platform.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[49/55] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[50/55] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
[51/55] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:35: error: no such module 'Foundation'
 11 |
 12 | @_implementationOnly import ArgumentParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                                   `- error: no such module 'Foundation'
 14 |
 15 | internal struct DumpHelpGenerator {
BUILD FAILURE 6.2 wasm