The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HealthDataSync, reference 1.0.0 (6e0f8d), with Swift 6.1 for Android on 27 May 2025 07:23:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/microsoft/health-data-sync.git
Reference: 1.0.0
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/health-data-sync
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 6e0f8d9 Initial commit
Cloned https://github.com/microsoft/health-data-sync.git
Revision (git rev-parse @):
6e0f8d923c551a71e1ce512cc1354453c3de250e
SUCCESS checkout https://github.com/microsoft/health-data-sync.git at 1.0.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/microsoft/health-data-sync.git
https://github.com/microsoft/health-data-sync.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HealthDataSync",
  "name" : "HealthDataSync",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "HealthDataSync",
      "targets" : [
        "HealthDataSync"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HealthDataSync",
      "module_type" : "SwiftTarget",
      "name" : "HealthDataSync",
      "path" : "Sources",
      "product_memberships" : [
        "HealthDataSync"
      ],
      "sources" : [
        "Constants.swift",
        "HDSConverterProtocol.swift",
        "HDSError.swift",
        "HDSManager.swift",
        "HDSManagerFactory.swift",
        "HDSManagerProtocol.swift",
        "HDSPermissionsManager.swift",
        "HDSQueryObserver.swift",
        "HDSQueryObserverDelegate.swift",
        "HDSQueryObserverFactory.swift",
        "Proxies/HDSStoreProxy.swift",
        "Proxies/HDSStoreProxyProtocol.swift",
        "Proxies/HDSUserDefaultsProxy.swift",
        "Proxies/HDSUserDefaultsProxyProtocol.swift",
        "Synchronizers/HDSExternalObjectProtocol.swift",
        "Synchronizers/HDSExternalStoreProtocol.swift",
        "Synchronizers/HDSObjectSynchronizer.swift",
        "Synchronizers/HDSObjectSynchronizerProtocol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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/19] Emitting module HealthDataSync
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[4/21] Compiling HealthDataSync HDSManager.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[5/21] Compiling HealthDataSync HDSManagerFactory.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[6/21] Compiling HealthDataSync HDSManagerProtocol.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[7/21] Compiling HealthDataSync HDSObjectSynchronizer.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[8/21] Compiling HealthDataSync HDSObjectSynchronizerProtocol.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[9/21] Compiling HealthDataSync HDSPermissionsManager.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[10/21] Compiling HealthDataSync HDSQueryObserver.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[11/21] Compiling HealthDataSync HDSUserDefaultsProxy.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[12/21] Compiling HealthDataSync HDSUserDefaultsProxyProtocol.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[13/21] Compiling HealthDataSync HDSQueryObserverDelegate.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[14/21] Compiling HealthDataSync HDSQueryObserverFactory.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[15/21] Compiling HealthDataSync HDSStoreProxy.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[16/21] Compiling HealthDataSync HDSStoreProxyProtocol.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[17/21] Compiling HealthDataSync HDSExternalObjectProtocol.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[18/21] Compiling HealthDataSync HDSExternalStoreProtocol.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[19/21] Compiling HealthDataSync Constants.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[20/21] Compiling HealthDataSync HDSConverterProtocol.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[21/21] Compiling HealthDataSync HDSError.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/18] Compiling HealthDataSync HDSQueryObserverDelegate.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[3/18] Compiling HealthDataSync HDSQueryObserverFactory.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[4/18] Compiling HealthDataSync HDSExternalObjectProtocol.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[5/18] Compiling HealthDataSync HDSExternalStoreProtocol.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/20] Emitting module HealthDataSync
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[7/20] Compiling HealthDataSync Constants.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[8/20] Compiling HealthDataSync HDSConverterProtocol.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[9/20] Compiling HealthDataSync HDSError.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[10/20] Compiling HealthDataSync HDSPermissionsManager.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[11/20] Compiling HealthDataSync HDSQueryObserver.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[12/20] Compiling HealthDataSync HDSStoreProxy.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[13/20] Compiling HealthDataSync HDSStoreProxyProtocol.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[14/20] Compiling HealthDataSync HDSManager.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[15/20] Compiling HealthDataSync HDSManagerFactory.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[16/20] Compiling HealthDataSync HDSManagerProtocol.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[17/20] Compiling HealthDataSync HDSUserDefaultsProxy.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[18/20] Compiling HealthDataSync HDSUserDefaultsProxyProtocol.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[19/20] Compiling HealthDataSync HDSObjectSynchronizer.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
[20/20] Compiling HealthDataSync HDSObjectSynchronizerProtocol.swift
/host/spi-builder-workspace/Sources/Proxies/HDSStoreProxy.swift:9:8: error: no such module 'HealthKit'
 7 |
 8 | import Foundation
 9 | import HealthKit
   |        `- error: no such module 'HealthKit'
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
BUILD FAILURE 6.1 android