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 FitDataProtocol, reference 2.1.6 (b93ef5), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 05:23:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/FitnessKit/FitDataProtocol.git
Reference: 2.1.6
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/FitDataProtocol
 * tag               2.1.6      -> FETCH_HEAD
HEAD is now at b93ef5e update def message
Cloned https://github.com/FitnessKit/FitDataProtocol.git
Revision (git rev-parse @):
b93ef5ea736d32ec0ab16d4eea5b09972887cd8e
SUCCESS checkout https://github.com/FitnessKit/FitDataProtocol.git at 2.1.6
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/FitnessKit/FitDataProtocol.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/FitnessKit/FitnessUnits
Fetching https://github.com/FitnessKit/AntMessageProtocol
Fetching https://github.com/FitnessKit/DataDecoder
[1/758] Fetching fitnessunits
[17/1577] Fetching fitnessunits, antmessageprotocol
[926/1994] Fetching fitnessunits, antmessageprotocol, datadecoder
Fetched https://github.com/FitnessKit/DataDecoder from cache (0.59s)
Fetched https://github.com/FitnessKit/FitnessUnits from cache (0.60s)
Fetched https://github.com/FitnessKit/AntMessageProtocol from cache (0.67s)
Computing version for https://github.com/FitnessKit/AntMessageProtocol
Computed https://github.com/FitnessKit/AntMessageProtocol at 1.1.1 (1.53s)
Computing version for https://github.com/FitnessKit/DataDecoder
Computed https://github.com/FitnessKit/DataDecoder at 5.0.0 (1.55s)
Computing version for https://github.com/FitnessKit/FitnessUnits
Computed https://github.com/FitnessKit/FitnessUnits at 3.1.0 (0.73s)
Creating working copy for https://github.com/FitnessKit/FitnessUnits
Working copy of https://github.com/FitnessKit/FitnessUnits resolved at 3.1.0
Creating working copy for https://github.com/FitnessKit/AntMessageProtocol
Working copy of https://github.com/FitnessKit/AntMessageProtocol resolved at 1.1.1
Creating working copy for https://github.com/FitnessKit/DataDecoder
Working copy of https://github.com/FitnessKit/DataDecoder resolved at 5.0.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/33] 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 {}
[7/36] 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 {}
[8/36] 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 {}
[9/36] 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 {}
[10/36] 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 {
[11/36] 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 {
[12/36] Compiling FitnessUnits UnitAngularVelocity.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/36] Compiling FitnessUnits UnitConcentrationMass.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/36] Compiling FitnessUnits UnitDuration.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/36] Compiling FitnessUnits UnitMagneticField.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/36] Compiling FitnessUnits UnitMass.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/36] Compiling FitnessUnits UnitRadioactivity.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/36] Compiling FitnessUnits UnitEnergy.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/36] Compiling FitnessUnits UnitForce.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/36] Compiling FitnessUnits UnitLinearDensity.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/36] Compiling FitnessUnits UnitSpeed.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 {}
[22/36] Compiling FitnessUnits UnitTorque.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/36] Compiling FitnessUnits UnitCadence.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/36] 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 {
[25/36] Compiling FitnessUnits Color.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/36] Compiling FitnessUnits UnitAcceleration.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/36] Compiling FitnessUnits UnitAngle.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/36] Compiling FitnessUnits UnitCount.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/36] Compiling FitnessUnits UnitGender.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/36] Compiling FitnessUnits UnitOxygenConsumption.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/36] Compiling FitnessUnits UnitPercent.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/36] Compiling FitnessUnits MeasurementZone.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/36] Compiling FitnessUnits StringMeasurement.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 {}
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/36] 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 {
BUILD FAILURE 6.2 wasm