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 HealthKitOnFhir, reference master (82f005), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 18:49:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/microsoft/healthkit-on-fhir.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/microsoft/healthkit-on-fhir
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 82f0057 Added documentation for SMART on FHIR Proxy (#21)
Cloned https://github.com/microsoft/healthkit-on-fhir.git
Revision (git rev-parse @):
82f005714c89f90b7d30b7e74e2417b241be75b7
SUCCESS checkout https://github.com/microsoft/healthkit-on-fhir.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/microsoft/healthkit-on-fhir.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/microsoft/health-data-sync
Fetching https://github.com/microsoft/iomt-fhir-client
Fetching https://github.com/smart-on-fhir/Swift-FHIR
Fetching https://github.com/microsoft/healthkit-to-fhir
[1/82] Fetching iomt-fhir-client
[83/252] Fetching iomt-fhir-client, healthkit-to-fhir
[102/18341] Fetching iomt-fhir-client, healthkit-to-fhir, swift-fhir
[1882/18420] Fetching iomt-fhir-client, healthkit-to-fhir, swift-fhir, health-data-sync
Fetched https://github.com/microsoft/healthkit-to-fhir from cache (0.31s)
[2694/18250] Fetching iomt-fhir-client, swift-fhir, health-data-sync
Fetched https://github.com/microsoft/iomt-fhir-client from cache (0.32s)
[2793/18168] Fetching swift-fhir, health-data-sync
Fetched https://github.com/microsoft/health-data-sync from cache (1.73s)
Fetched https://github.com/smart-on-fhir/Swift-FHIR from cache (1.76s)
Computing version for https://github.com/microsoft/health-data-sync
Computed https://github.com/microsoft/health-data-sync at 1.0.0 (2.39s)
Computing version for https://github.com/microsoft/iomt-fhir-client
Computed https://github.com/microsoft/iomt-fhir-client at 1.0.0 (0.86s)
Computing version for https://github.com/microsoft/healthkit-to-fhir
Computed https://github.com/microsoft/healthkit-to-fhir at 1.0.3 (0.63s)
Computing version for https://github.com/smart-on-fhir/Swift-FHIR
Computed https://github.com/smart-on-fhir/Swift-FHIR at 4.2.1 (0.47s)
Creating working copy for https://github.com/microsoft/healthkit-to-fhir
Working copy of https://github.com/microsoft/healthkit-to-fhir resolved at 1.0.3
Creating working copy for https://github.com/smart-on-fhir/Swift-FHIR
Working copy of https://github.com/smart-on-fhir/Swift-FHIR resolved at 4.2.1
Creating working copy for https://github.com/microsoft/health-data-sync
Working copy of https://github.com/microsoft/health-data-sync resolved at 1.0.0
Creating working copy for https://github.com/microsoft/iomt-fhir-client
Working copy of https://github.com/microsoft/iomt-fhir-client resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/215] Compiling Models AdverseEvent.swift
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
[10/215] Compiling Models Age.swift
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
[11/215] Compiling Models AllergyIntolerance.swift
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
[12/217] Compiling Models Annotation.swift
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
[13/217] Compiling Models Appointment.swift
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
[14/217] Compiling Models AuditEvent.swift
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
[15/217] Compiling Models BackboneElement.swift
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
[16/217] Compiling Models Base64Binary.swift
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
[17/220] Compiling Models CarePlan.swift
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
[18/220] Compiling Models CareTeam.swift
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
[19/220] Compiling Models CatalogEntry.swift
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/220] Emitting module HealthDataSync
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
[21/220] Compiling Models Account.swift
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
[22/220] Compiling Models ActivityDefinition.swift
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
[23/220] Compiling Models Address.swift
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
[25/220] Compiling Models Basic.swift
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
[28/220] Compiling Models Binary.swift
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
[29/220] Compiling Models BiologicallyDerivedProduct.swift
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
[30/220] Compiling Models AppointmentResponse.swift
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
[31/220] Compiling Models Attachment.swift
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
[32/220] Compiling HealthDataSync HDSObjectSynchronizer.swift
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
[33/220] Compiling HealthDataSync HDSObjectSynchronizerProtocol.swift
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
[34/220] Compiling Models CapabilityStatement.swift
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/220] Emitting module IomtFhirClient
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
[49/220] Compiling IomtFhirClient TokenProviderProtocol.swift
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
[50/220] Compiling IomtFhirClient TokenScope.swift
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
[51/220] Compiling IomtFhirClient TransportType.swift
/host/spi-builder-workspace/.build/checkouts/iomt-fhir-client/Sources/ConnectionManager.swift:4:8: error: no such module 'Foundation'
 2 | //  Licensed under the MIT License.
 3 |
 4 | import Foundation
   |        `- error: no such module 'Foundation'
 5 |
 6 | internal class ConnectionManager : ConnectionManagerProtocol
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
/host/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //  Licensed under the MIT License.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct Constants {
/host/spi-builder-workspace/.build/checkouts/Swift-FHIR/Sources/Models/Account.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 |
BUILD FAILURE 6.2 wasm