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 BluetoothMessageProtocol, reference master (6f6570), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 09:38:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/FitnessKit/BluetoothMessageProtocol.git
Reference: master
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/FitnessKit/BluetoothMessageProtocol
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6f65703 doc
Cloned https://github.com/FitnessKit/BluetoothMessageProtocol.git
Revision (git rev-parse @):
6f6570355e5ebeb42fa5bbb18cf106994a09b363
SUCCESS checkout https://github.com/FitnessKit/BluetoothMessageProtocol.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/FitnessKit/BluetoothMessageProtocol.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/krzyzanowskim/CryptoSwift
Fetching https://github.com/FitnessKit/FitnessUnits
Fetching https://github.com/FitnessKit/DataDecoder
[1/758] Fetching fitnessunits
[434/1175] Fetching fitnessunits, datadecoder
[1176/14116] Fetching fitnessunits, datadecoder, cryptoswift
Fetched https://github.com/FitnessKit/DataDecoder from cache (0.31s)
Fetched https://github.com/FitnessKit/FitnessUnits from cache (0.31s)
[1942/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (1.98s)
Computing version for https://github.com/FitnessKit/DataDecoder
Computed https://github.com/FitnessKit/DataDecoder at 5.0.0 (2.51s)
Computing version for https://github.com/FitnessKit/FitnessUnits
Computed https://github.com/FitnessKit/FitnessUnits at 3.1.0 (0.45s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.8.4 (0.44s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 1.8.4
Creating working copy for https://github.com/FitnessKit/DataDecoder
Working copy of https://github.com/FitnessKit/DataDecoder resolved at 5.0.0
Creating working copy for https://github.com/FitnessKit/FitnessUnits
Working copy of https://github.com/FitnessKit/FitnessUnits resolved at 3.1.0
Building for debugging...
[0/6] Write sources
[1/6] Copying PrivacyInfo.xcprivacy
[3/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/135] Emitting module DataDecoder
/host/spi-builder-workspace/.build/checkouts/DataDecoder/Sources/DataDecoder/Decoder.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | internal enum DecoderSFloatValues: Int16 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/135] Emitting module FitnessUnits
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[9/138] Compiling CryptoSwift Digest.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[10/138] Compiling CryptoSwift DigestType.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[11/138] Compiling CryptoSwift AES+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[12/138] Compiling CryptoSwift Array+Extension.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[13/138] Compiling CryptoSwift Authenticator.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[14/138] Compiling CryptoSwift BatchedCollection.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[15/138] Compiling CryptoSwift CompactMap.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[16/138] Compiling CryptoSwift Cryptor.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[17/138] Compiling CryptoSwift Cryptors.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[18/138] Compiling CryptoSwift AES.Cryptors.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[19/138] Compiling CryptoSwift AES.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[20/138] Compiling CryptoSwift ASN1.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[21/138] Compiling DataDecoder Nibble.swift
/host/spi-builder-workspace/.build/checkouts/DataDecoder/Sources/DataDecoder/Decoder.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | internal enum DecoderSFloatValues: Int16 {
[22/138] Compiling FitnessUnits ValidatedBinaryFloatingPoint.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[23/138] Compiling FitnessUnits ValidatedBinaryInteger.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[24/138] Compiling FitnessUnits ValidatedMeasurement.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[25/138] Compiling CryptoSwift AEAD.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[26/138] Compiling CryptoSwift AEADChaCha20Poly1305.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[27/138] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[28/138] Compiling CryptoSwift Bit.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[29/138] Compiling CryptoSwift BlockCipher.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[30/138] Compiling CryptoSwift BlockDecryptor.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[31/138] Compiling CryptoSwift ASN1Decoder.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[32/138] Compiling CryptoSwift ASN1Encoder.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[33/138] Compiling CryptoSwift ASN1Scanner.swift
/host/spi-builder-workspace/.build/checkouts/FitnessUnits/Sources/FitnessUnits/Color.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | public protocol ColorType: Encodable {}
[34/138] Compiling DataDecoder DataExtension.swift
/host/spi-builder-workspace/.build/checkouts/DataDecoder/Sources/DataDecoder/Decoder.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | internal enum DecoderSFloatValues: Int16 {
[35/138] Compiling DataDecoder ANTToggleByte.swift
/host/spi-builder-workspace/.build/checkouts/DataDecoder/Sources/DataDecoder/Decoder.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | internal enum DecoderSFloatValues: Int16 {
[36/138] Compiling DataDecoder MACAddress.swift
/host/spi-builder-workspace/.build/checkouts/DataDecoder/Sources/DataDecoder/Decoder.swift:25:8: error: no such module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | internal enum DecoderSFloatValues: Int16 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/138] Emitting module CryptoSwift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
BUILD FAILURE 6.2 wasm