The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HealthDataGenerator, reference main (359ef0), with Swift 6.2 for Android on 7 Apr 2026 17:53:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aminbenarieb/healthkit-data-generator.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/aminbenarieb/healthkit-data-generator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 359ef02 Rename HealthKitDataGenerator to HealthDataGenerator everywhere
Cloned https://github.com/aminbenarieb/healthkit-data-generator.git
Revision (git rev-parse @):
359ef0205f3a66bc8c6fe128e6be1fe29a59e60c
SUCCESS checkout https://github.com/aminbenarieb/healthkit-data-generator.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/aminbenarieb/healthkit-data-generator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:6:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
 4 | import PackageDescription
 5 |
 6 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 7 |     name: "HealthDataGenerator",
 8 |     platforms: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/apple/swift-log.git
[1/6349] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.50s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (1.19s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--11D90AFD9DD3AB2.txt
[4/9] Compiling Logging MetadataProvider.swift
[5/9] Compiling Logging LogEvent.swift
[6/9] Emitting module Logging
[7/9] Compiling Logging Locks.swift
[8/9] Compiling Logging LogHandler.swift
[9/9] Compiling Logging Logging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/32] Emitting module HealthDataGenerator
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[12/34] Compiling HealthDataGenerator FileNameUtil.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[13/34] Compiling HealthDataGenerator HealthStoreCleaner.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[14/34] Compiling HealthDataGenerator HealthDataProfileImporter.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[15/34] Compiling HealthDataGenerator HealthDataProfileReader.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[16/34] Compiling HealthDataGenerator JsonHandlerProtocol.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[17/34] Compiling HealthDataGenerator OutputStreams.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[18/34] Compiling HealthDataGenerator AppleFoundationModelProvider.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[19/34] Compiling HealthDataGenerator LLMManager.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[20/34] Compiling HealthDataGenerator LLMProvider.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[21/34] Compiling HealthDataGenerator AppLogger.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[22/34] Compiling HealthDataGenerator DateExtensions.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[23/34] Compiling HealthDataGenerator ExportTargets.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[24/34] Compiling HealthDataGenerator HealthProfile.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[25/34] Compiling HealthDataGenerator SampleCreator.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[26/34] Compiling HealthDataGenerator JsonReader.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[27/34] Compiling HealthDataGenerator JsonTokenizer.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[28/34] Compiling HealthDataGenerator JsonWriter.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[29/34] Compiling HealthDataGenerator HealthConstants.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[30/34] Compiling HealthDataGenerator HealthDataGenerator.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[31/34] Compiling HealthDataGenerator ExportConfiguration.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[32/34] Compiling HealthDataGenerator SampleDataGenerator.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[33/34] Compiling HealthDataGenerator SampleGenerationConfig.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
[34/34] Compiling HealthDataGenerator HealthDataProfile.swift
/host/spi-builder-workspace/Sources/HealthDataGenerator/Constants/HealthConstants.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // swiftlint:disable all
BUILD FAILURE 6.2 android