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 OMHModels, reference main (f00c6f), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 08:38:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/StanfordBDHG/OMHModels.git
Reference: main
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/StanfordBDHG/OMHModels
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f00c6ff Add DOI (#7)
Cloned https://github.com/StanfordBDHG/OMHModels.git
Revision (git rev-parse @):
f00c6ff1ca87af6f28d0003060f61306ae15f0b4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/OMHModels.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/StanfordBDHG/OMHModels.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
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/53] Emitting module OMHModels
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[4/60] Compiling OMHModels TimeInterval.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[5/60] Compiling OMHModels TimeUnit.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[6/60] Compiling OMHModels TimeWindow.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[7/60] Compiling OMHModels TotalSleepTime.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[8/60] Compiling OMHModels TypedUnitValue.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[9/60] Compiling OMHModels TypedUnitValueRange.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[10/60] Compiling OMHModels UnitProtocol.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[11/60] Compiling OMHModels MassUnitValue.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[12/60] Compiling OMHModels Modality.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[13/60] Compiling OMHModels OxygenSaturation.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[14/60] Compiling OMHModels OxygenSaturationUnitValue.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[15/60] Compiling OMHModels PartOfDay.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[16/60] Compiling OMHModels PhysicalActivity.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[17/60] Compiling OMHModels RespiratoryRate.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[18/60] Compiling OMHModels DateTime.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[19/60] Compiling OMHModels DescriptiveStatistic.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[20/60] Compiling OMHModels DescriptiveStatisticDenominator.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[21/60] Compiling OMHModels DurationUnitValue.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[22/60] Compiling OMHModels DurationUnitValueRange.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[23/60] Compiling OMHModels ExternalDataSheets.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[24/60] Compiling OMHModels FrequencyUnitValue.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[25/60] Compiling OMHModels Header.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[26/60] Compiling OMHModels HealthKitQuantitySample.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[27/60] Compiling OMHModels HealthKitUnitValue.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[28/60] Compiling OMHModels HeartRate.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[29/60] Compiling OMHModels HeartRateUnitValue.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[30/60] Compiling OMHModels KcalUnit.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[31/60] Compiling OMHModels LengthUnitValue.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[32/60] Compiling OMHModels AcquisitionProvenance.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[33/60] Compiling OMHModels BloodGlucose.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[34/60] Compiling OMHModels BloodGlucoseUnitValue.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[35/60] Compiling OMHModels BloodPressure.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[36/60] Compiling OMHModels BloodPressureUnitValue.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[37/60] Compiling OMHModels BodyFatPercentage.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[38/60] Compiling OMHModels BodyFatPercentageUnitValue.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[39/60] Compiling OMHModels BodyHeight.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[40/60] Compiling OMHModels RespiratoryRateUnitValue.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[41/60] Compiling OMHModels Schema.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[42/60] Compiling OMHModels SchemaId.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[43/60] Compiling OMHModels SchemaNamespace.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[44/60] Compiling OMHModels SpecimenSource.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[45/60] Compiling OMHModels SpeedUnit.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[46/60] Compiling OMHModels StepCount.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[47/60] Compiling OMHModels BodyLocation.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[48/60] Compiling OMHModels BodyMassIndex.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[49/60] Compiling OMHModels BodyMassIndexUnitValue.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[50/60] Compiling OMHModels BodyPosture.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[51/60] Compiling OMHModels BodyTemperature.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[52/60] Compiling OMHModels BodyWeight.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[53/60] Compiling OMHModels DataPoint.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[54/60] Compiling OMHModels StepCountUnitValue.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[55/60] Compiling OMHModels SupplementalOxygenFlowRateUnit.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[56/60] Compiling OMHModels TemperatureUnitValue.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[57/60] Compiling OMHModels TemporalRelationshipToMeal.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[58/60] Compiling OMHModels TemporalRelationshipToPhysicalActivity.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[59/60] Compiling OMHModels TemporalRelationshipToSleep.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[60/60] Compiling OMHModels TimeFrame.swift
/host/spi-builder-workspace/Sources/OMHModels/AcquisitionProvenance.swift:8:8: error: no such module 'Foundation'
 6 | // SPDX-License-Identifier: MIT
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
BUILD FAILURE 6.2 wasm