Build Information
Failed to build HealthSnapKit, reference main (6e7adf), with Swift 6.1 for Wasm on 10 Apr 2026 21:30:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/isonka/HealthSnapKit.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/isonka/HealthSnapKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6e7adf7 docs: point SPM snippet at isonka/HealthSnapKit and drop Related stubs
Cloned https://github.com/isonka/HealthSnapKit.git
Revision (git rev-parse @):
6e7adf7dc7598e113638422d10723e0e37a81851
SUCCESS checkout https://github.com/isonka/HealthSnapKit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/isonka/HealthSnapKit.git
https://github.com/isonka/HealthSnapKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-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/18] Emitting module HealthSnapKit
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[4/20] Compiling HealthSnapKit HeartProvider.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[5/20] Compiling HealthSnapKit SleepProvider.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[6/20] Compiling HealthSnapKit CalendarDayRange.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[7/20] Compiling HealthSnapKit HKError+HealthSnap.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[8/20] Compiling HealthSnapKit HKQueryAsync.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[9/20] Compiling HealthSnapKit HealthStoreProtocol.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[10/20] Compiling HealthSnapKit HeartSnapshot.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[11/20] Compiling HealthSnapKit SleepSnapshot.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[12/20] Compiling HealthSnapKit ActivitySnapshot.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[13/20] Compiling HealthSnapKit BodySnapshot.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[14/20] Compiling HealthSnapKit ActivityProvider.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[15/20] Compiling HealthSnapKit BodyProvider.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[16/20] Compiling HealthSnapKit LiveHealthStore.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[17/20] Compiling HealthSnapKit SleepAnalysisAggregator.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[18/20] Compiling HealthSnapKit HealthKitPermissions.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[19/20] Compiling HealthSnapKit HealthSnapError.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[20/20] Compiling HealthSnapKit HealthSnapKit.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/17] Emitting module HealthSnapKit
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[3/19] Compiling HealthSnapKit HeartSnapshot.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[4/19] Compiling HealthSnapKit SleepSnapshot.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[5/19] Compiling HealthSnapKit HeartProvider.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[6/19] Compiling HealthSnapKit SleepProvider.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[7/19] Compiling HealthSnapKit HKQueryAsync.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[8/19] Compiling HealthSnapKit HealthStoreProtocol.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[9/19] Compiling HealthSnapKit CalendarDayRange.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[10/19] Compiling HealthSnapKit HKError+HealthSnap.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[11/19] Compiling HealthSnapKit ActivitySnapshot.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[12/19] Compiling HealthSnapKit BodySnapshot.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[13/19] Compiling HealthSnapKit LiveHealthStore.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[14/19] Compiling HealthSnapKit SleepAnalysisAggregator.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[15/19] Compiling HealthSnapKit ActivityProvider.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[16/19] Compiling HealthSnapKit BodyProvider.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[17/19] Compiling HealthSnapKit HealthKitPermissions.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[18/19] Compiling HealthSnapKit HealthSnapError.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
[19/19] Compiling HealthSnapKit HealthSnapKit.swift
/host/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:2:8: error: no such module 'HealthKit'
1 | import Foundation
2 | import HealthKit
| `- error: no such module 'HealthKit'
3 |
4 | /// Logical domains of HealthKit data that can be requested for read access.
BUILD FAILURE 6.1 wasm