This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SpeziHealthKitToFHIRAdapter with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziHealthKitToFHIRAdapter.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordSpezi/SpeziHealthKitToFHIRAdapter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e43f2c0 Updates the Project to be Part of the Spezi Organization (#6)
Cloned https://github.com/StanfordSpezi/SpeziHealthKitToFHIRAdapter.git
Revision (git rev-parse @):
e43f2c05cebcd16a697397721e6a2d72bf418a9c
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziHealthKitToFHIRAdapter.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/StanfordSpezi/SpeziHealthKitToFHIRAdapter.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/11] Write sources
[7/11] Copying HKSampleMapping.json.license
[8/11] Copying HKSampleMapping.json
[10/11] Write swift-version-6F35C1178C84523A.txt
[12/30] Compiling XCTRuntimeAssertions XCTRuntimePrecondition.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:85:16: error: 'Task' is only available in macOS 10.15 or newer
 69 | ///   - expression: The async expression that is evaluated.
 70 | /// - Throws: Throws an `XCTFail` error if the expression does not trigger a runtime assertion with the parameters defined above.
 71 | public func XCTRuntimePrecondition(
    |             `- note: add @available attribute to enclosing global function
 72 |     validateRuntimeAssertion: ((String) -> Void)? = nil,
 73 |     timeout: Double = 0.01,
    :
 83 |     )
 84 |
 85 |     let task = Task {
    |                |- error: 'Task' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
 86 |         await expression()
 87 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:85:16: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 69 | ///   - expression: The async expression that is evaluated.
 70 | /// - Throws: Throws an `XCTFail` error if the expression does not trigger a runtime assertion with the parameters defined above.
 71 | public func XCTRuntimePrecondition(
    |             `- note: add @available attribute to enclosing global function
 72 |     validateRuntimeAssertion: ((String) -> Void)? = nil,
 73 |     timeout: Double = 0.01,
    :
 83 |     )
 84 |
 85 |     let task = Task {
    |                |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
 86 |         await expression()
 87 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:93:10: error: 'cancel()' is only available in macOS 10.15 or newer
 69 | ///   - expression: The async expression that is evaluated.
 70 | /// - Throws: Throws an `XCTFail` error if the expression does not trigger a runtime assertion with the parameters defined above.
 71 | public func XCTRuntimePrecondition(
    |             `- note: add @available attribute to enclosing global function
 72 |     validateRuntimeAssertion: ((String) -> Void)? = nil,
 73 |     timeout: Double = 0.01,
    :
 91 |     // here as we need to make the method independent of XCTestCase to also use it in our TestApp UITest target which fails if you import XCTest.
 92 |     usleep(useconds_t(1_000_000 * timeout))
 93 |     task.cancel()
    |          |- error: 'cancel()' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 94 |
 95 |     XCTRuntimeAssertionInjector.removeRuntimeAssertionInjector(withId: xctRuntimeAssertionId)
[13/30] Compiling XCTRuntimeAssertions XCTRuntimeAssertionInjector.swift
[14/30] Compiling FMCore TimeZone+FHIR.swift
[15/30] Compiling XCTRuntimeAssertions Precondition.swift
[16/30] Compiling XCTRuntimeAssertions XCTFail.swift
[17/30] Emitting module XCTRuntimeAssertions
[18/30] Compiling XCTRuntimeAssertions Assert.swift
[19/30] Compiling XCTRuntimeAssertions XCTRuntimeAssertion.swift
[20/30] Compiling XCTRuntimeAssertions Counter.swift
[21/30] Compiling XCTRuntimeAssertions NeverReturn.swift
[22/30] Compiling FMCore FHIRType.swift
[23/30] Compiling FMCore FHIRIntegerRepresentable.swift
[24/30] Compiling FMCore FHIRDateComponents.swift
[25/30] Compiling FMCore ExpressibleAsNSDate.swift
[26/30] Compiling FMCore DecodingError+Utilities.swift
[27/30] Emitting module FMCore
Fetching https://github.com/apple/FHIRModels
Fetching https://github.com/StanfordSpezi/Spezi
Fetching https://github.com/StanfordSpezi/SpeziFHIR
Fetching https://github.com/StanfordSpezi/SpeziHealthKit
Fetching https://github.com/StanfordBDHG/HealthKitOnFHIR
[1/907] Fetching spezihealthkit
[92/1777] Fetching spezihealthkit, spezifhir
[188/9575] Fetching spezihealthkit, spezifhir, spezi
[266/11625] Fetching spezihealthkit, spezifhir, spezi, healthkitonfhir
[1529/17040] Fetching spezihealthkit, spezifhir, spezi, healthkitonfhir, fhirmodels
Fetched https://github.com/StanfordSpezi/Spezi from cache (1.53s)
Fetched https://github.com/StanfordBDHG/HealthKitOnFHIR from cache (1.53s)
Fetched https://github.com/StanfordSpezi/SpeziHealthKit from cache (1.53s)
Fetched https://github.com/StanfordSpezi/SpeziFHIR from cache (1.53s)
Fetched https://github.com/apple/FHIRModels from cache (1.53s)
Computing version for https://github.com/StanfordSpezi/SpeziFHIR
Computed https://github.com/StanfordSpezi/SpeziFHIR at 0.3.0 (0.69s)
Fetching https://github.com/StanfordSpezi/SpeziViews
[1/1793] Fetching speziviews
Fetched https://github.com/StanfordSpezi/SpeziViews from cache (1.22s)
Computing version for https://github.com/apple/FHIRModels
Computed https://github.com/apple/FHIRModels at 0.5.0 (0.67s)
Computing version for https://github.com/StanfordSpezi/SpeziViews
Computed https://github.com/StanfordSpezi/SpeziViews at 0.3.0 (0.66s)
Computing version for https://github.com/StanfordSpezi/SpeziHealthKit
Computed https://github.com/StanfordSpezi/SpeziHealthKit at 0.2.2 (0.75s)
Computing version for https://github.com/StanfordSpezi/Spezi
Computed https://github.com/StanfordSpezi/Spezi at 0.5.3 (0.66s)
Fetching https://github.com/StanfordSpezi/XCTRuntimeAssertions
[1/330] Fetching xctruntimeassertions
Fetched https://github.com/StanfordSpezi/XCTRuntimeAssertions from cache (0.82s)
Computing version for https://github.com/StanfordSpezi/XCTRuntimeAssertions
Computed https://github.com/StanfordSpezi/XCTRuntimeAssertions at 0.2.5 (0.68s)
Computing version for https://github.com/StanfordBDHG/HealthKitOnFHIR
Computed https://github.com/StanfordBDHG/HealthKitOnFHIR at 0.2.8 (0.66s)
Creating working copy for https://github.com/StanfordSpezi/XCTRuntimeAssertions
Working copy of https://github.com/StanfordSpezi/XCTRuntimeAssertions resolved at 0.2.5
Creating working copy for https://github.com/apple/FHIRModels
Working copy of https://github.com/apple/FHIRModels resolved at 0.5.0
Creating working copy for https://github.com/StanfordBDHG/HealthKitOnFHIR
Working copy of https://github.com/StanfordBDHG/HealthKitOnFHIR resolved at 0.2.8
Creating working copy for https://github.com/StanfordSpezi/Spezi
Working copy of https://github.com/StanfordSpezi/Spezi resolved at 0.5.3
Creating working copy for https://github.com/StanfordSpezi/SpeziHealthKit
Working copy of https://github.com/StanfordSpezi/SpeziHealthKit resolved at 0.2.2
Creating working copy for https://github.com/StanfordSpezi/SpeziFHIR
Working copy of https://github.com/StanfordSpezi/SpeziFHIR resolved at 0.3.0
Creating working copy for https://github.com/StanfordSpezi/SpeziViews
Working copy of https://github.com/StanfordSpezi/SpeziViews resolved at 0.3.0
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.