The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SpeziStudyPlatformAPI, reference main (62265b), with Swift 6.1 for Android on 24 Mar 2026 01:38:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziStudyPlatform-API.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/StanfordSpezi/SpeziStudyPlatform-API
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 62265b3 Bump SpeziStudy Version (#2)
Cloned https://github.com/StanfordSpezi/SpeziStudyPlatform-API.git
Revision (git rev-parse @):
62265b31278f0953877971ca91ac84b9853ca9d4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziStudyPlatform-API.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/StanfordSpezi/SpeziStudyPlatform-API.git
https://github.com/StanfordSpezi/SpeziStudyPlatform-API.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-openapi-runtime",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-openapi-runtime.git"
    },
    {
      "identity" : "swift-openapi-urlsession",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-openapi-urlsession.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "spezifoundation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.7.3",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/StanfordSpezi/SpeziFoundation.git"
    },
    {
      "identity" : "spezihealthkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/StanfordSpezi/SpeziHealthKit.git"
    },
    {
      "identity" : "spezistudy",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/StanfordSpezi/SpeziStudy.git"
    }
  ],
  "manifest_display_name" : "SpeziStudyPlatformAPI",
  "name" : "SpeziStudyPlatformAPI",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "watchos",
      "version" : "11.0"
    },
    {
      "name" : "visionos",
      "version" : "2.0"
    },
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "18.0"
    }
  ],
  "products" : [
    {
      "name" : "SpeziStudyPlatformAPITypes",
      "targets" : [
        "SpeziStudyPlatformAPITypes"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SpeziStudyPlatformAPIClient",
      "targets" : [
        "SpeziStudyPlatformAPIClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SpeziStudyPlatformAPIServer",
      "targets" : [
        "SpeziStudyPlatformAPIServer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SpeziStudyPlatformAPIGenerator",
      "targets" : [
        "SpeziStudyPlatformAPIGenerator"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SpeziStudyPlatformAPITypes",
      "module_type" : "SwiftTarget",
      "name" : "SpeziStudyPlatformAPITypes",
      "path" : "Sources/SpeziStudyPlatformAPITypes",
      "product_dependencies" : [
        "OpenAPIRuntime",
        "SpeziLocalization",
        "SpeziHealthKit",
        "SpeziStudyDefinition"
      ],
      "product_memberships" : [
        "SpeziStudyPlatformAPITypes",
        "SpeziStudyPlatformAPIClient",
        "SpeziStudyPlatformAPIServer"
      ],
      "sources" : [
        "DomainTypes/ConsentContent.swift",
        "DomainTypes/EnrollmentConditions.swift",
        "DomainTypes/InformationalContent.swift",
        "DomainTypes/QuestionnaireContent.swift",
        "DomainTypes/StudyDetailContent.swift",
        "DomainTypes/StudyVisibility.swift",
        "Generated/Types.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SpeziStudyPlatformAPITests",
      "module_type" : "SwiftTarget",
      "name" : "SpeziStudyPlatformAPITests",
      "path" : "Tests/SpeziStudyPlatformAPITests",
      "sources" : [
        "SpeziStudyPlatformAPITests.swift"
      ],
      "target_dependencies" : [
        "SpeziStudyPlatformAPITypes",
        "SpeziStudyPlatformAPIClient",
        "SpeziStudyPlatformAPIServer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SpeziStudyPlatformAPIServer",
      "module_type" : "SwiftTarget",
      "name" : "SpeziStudyPlatformAPIServer",
      "path" : "Sources/SpeziStudyPlatformAPIServer",
      "product_dependencies" : [
        "OpenAPIRuntime"
      ],
      "product_memberships" : [
        "SpeziStudyPlatformAPIServer"
      ],
      "sources" : [
        "Generated/Server.swift",
        "SpeziStudyPlatformAPIServer.swift"
      ],
      "target_dependencies" : [
        "SpeziStudyPlatformAPITypes"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SpeziStudyPlatformAPIGenerator",
      "module_type" : "SwiftTarget",
      "name" : "SpeziStudyPlatformAPIGenerator",
      "path" : "Sources/SpeziStudyPlatformAPIGenerator",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "SpeziStudyPlatformAPIGenerator"
      ],
      "sources" : [
        "GenerateAPI.swift",
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SpeziStudyPlatformAPIClient",
      "module_type" : "SwiftTarget",
      "name" : "SpeziStudyPlatformAPIClient",
      "path" : "Sources/SpeziStudyPlatformAPIClient",
      "product_dependencies" : [
        "OpenAPIRuntime",
        "OpenAPIURLSession"
      ],
      "product_memberships" : [
        "SpeziStudyPlatformAPIClient"
      ],
      "sources" : [
        "Generated/Client.swift",
        "SpeziStudyPlatformAPIClient.swift"
      ],
      "target_dependencies" : [
        "SpeziStudyPlatformAPITypes"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:4aaa9704d9ec48004f0d4dbd1faa76d47dfce67570c934d5c9f7c1557cee5c73
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Fetching https://github.com/StanfordSpezi/SpeziStudy.git
Fetching https://github.com/apple/swift-openapi-runtime.git
Fetching https://github.com/StanfordSpezi/SpeziHealthKit.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/apple/swift-openapi-urlsession.git
[1/2889] Fetching spezifoundation
[1273/5072] Fetching spezifoundation, spezistudy
[4331/11580] Fetching spezifoundation, spezistudy, swift-openapi-runtime
[4332/12677] Fetching spezifoundation, spezistudy, swift-openapi-runtime, swift-openapi-urlsession
[4333/18361] Fetching spezifoundation, spezistudy, swift-openapi-runtime, swift-openapi-urlsession, spezihealthkit
[7008/35775] Fetching spezifoundation, spezistudy, swift-openapi-runtime, swift-openapi-urlsession, spezihealthkit, swift-argument-parser
Fetched https://github.com/apple/swift-openapi-urlsession.git from cache (0.40s)
[16393/34678] Fetching spezifoundation, spezistudy, swift-openapi-runtime, spezihealthkit, swift-argument-parser
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.42s)
[16104/31789] Fetching spezistudy, swift-openapi-runtime, spezihealthkit, swift-argument-parser
Fetched https://github.com/apple/swift-openapi-runtime.git from cache (0.57s)
[19012/25281] Fetching spezistudy, spezihealthkit, swift-argument-parser
Fetched https://github.com/StanfordSpezi/SpeziStudy.git from cache (0.97s)
Fetched https://github.com/StanfordSpezi/SpeziHealthKit.git from cache (0.98s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.99s)
Computing version for https://github.com/StanfordSpezi/SpeziStudy.git
Computed https://github.com/StanfordSpezi/SpeziStudy.git at 0.2.0 (1.83s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/StanfordSpezi/SpeziScheduler.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/FHIRModels.git
[1/3463] Fetching spezischeduler
[1975/26091] Fetching spezischeduler, swift-collections
[3107/32352] Fetching spezischeduler, swift-collections, swift-log
[8240/38971] Fetching spezischeduler, swift-collections, swift-log, fhirmodels
Fetched https://github.com/apple/swift-log.git from cache (0.60s)
[10504/32710] Fetching spezischeduler, swift-collections, fhirmodels
Fetched https://github.com/apple/FHIRModels.git from cache (1.77s)
Fetched https://github.com/StanfordSpezi/SpeziScheduler.git from cache (1.77s)
Fetched https://github.com/apple/swift-collections.git from cache (1.81s)
Computing version for https://github.com/StanfordSpezi/SpeziHealthKit.git
error: Dependencies could not be resolved because root depends on 'spezihealthkit' 1.4.0..<2.0.0.
'spezihealthkit' >= 1.4.0 cannot be used because 'spezihealthkit' 1.4.0 contains incompatible tools version (6.2.0) and no versions of 'spezihealthkit' match the requirement 1.4.1..<2.0.0.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:4aaa9704d9ec48004f0d4dbd1faa76d47dfce67570c934d5c9f7c1557cee5c73
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Updating https://github.com/apple/swift-argument-parser.git
Updating https://github.com/StanfordSpezi/SpeziHealthKit.git
Updating https://github.com/StanfordSpezi/SpeziFoundation.git
Updating https://github.com/StanfordSpezi/SpeziStudy.git
Updating https://github.com/apple/swift-openapi-urlsession.git
Updated https://github.com/apple/swift-openapi-urlsession.git (0.18s)
Updated https://github.com/StanfordSpezi/SpeziFoundation.git (0.19s)
Updated https://github.com/StanfordSpezi/SpeziStudy.git (0.19s)
Updated https://github.com/StanfordSpezi/SpeziHealthKit.git (0.19s)
Updated https://github.com/apple/swift-argument-parser.git (0.21s)
Updating https://github.com/apple/swift-openapi-runtime.git
Updated https://github.com/apple/swift-openapi-runtime.git (0.13s)
Computing version for https://github.com/StanfordSpezi/SpeziStudy.git
Computed https://github.com/StanfordSpezi/SpeziStudy.git at 0.2.0 (1.02s)
Updating https://github.com/apple/FHIRModels.git
Updating https://github.com/apple/swift-log.git
Updating https://github.com/apple/swift-collections.git
Updated https://github.com/apple/FHIRModels.git (0.19s)
Updating https://github.com/StanfordSpezi/SpeziScheduler.git
Updated https://github.com/apple/swift-log.git (0.22s)
Updated https://github.com/apple/swift-collections.git (0.22s)
Updated https://github.com/StanfordSpezi/SpeziScheduler.git (0.17s)
Computing version for https://github.com/StanfordSpezi/SpeziHealthKit.git
error: Dependencies could not be resolved because root depends on 'spezihealthkit' 1.4.0..<2.0.0.
'spezihealthkit' >= 1.4.0 cannot be used because 'spezihealthkit' 1.4.0 contains incompatible tools version (6.2.0) and no versions of 'spezihealthkit' match the requirement 1.4.1..<2.0.0.
BUILD FAILURE 6.1 android