Build Information
Successful build of SpeziHealthKit, reference main (2fbdb8
), with Swift 6.2 (beta) for macOS (SPM) on 24 Jun 2025 09:03:31 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziHealthKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordSpezi/SpeziHealthKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2fbdb86 `SleepSession`; other changes (#56)
Cloned https://github.com/StanfordSpezi/SpeziHealthKit.git
Revision (git rev-parse @):
2fbdb8636f3ad394d5833cc048be5bb35c78a8c5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziHealthKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/StanfordSpezi/SpeziHealthKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/23] Write sources
[2/23] Copying Localizable.xcstrings.license
[6/23] Copying Localizable.xcstrings
[7/23] Copying Info.plist
[10/23] Copying Localizable.xcstrings
[10/23] Write sources
[12/23] Copying Localizable.xcstrings.license
[15/23] Write sources
[19/23] Write swift-version-1EA4D86E10B52AF.txt
[20/23] Compiling _NumericsShims _NumericsShims.c
[21/56] Compiling _AtomicsShims.c
[23/75] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[24/76] Compiling InternalCollectionsUtilities Debugging.swift
[25/76] Compiling RealModule Float80+Real.swift
[26/77] Compiling InternalCollectionsUtilities Descriptions.swift
[27/77] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[28/77] Compiling RealModule RealFunctions.swift
[29/77] Compiling RealModule Real.swift
[30/77] Compiling RealModule Float+Real.swift
[31/77] Compiling RealModule ElementaryFunctions.swift
[32/77] Compiling RealModule AugmentedArithmetic.swift
[33/77] Compiling RealModule Float16+Real.swift
[34/77] Compiling RealModule ApproximateEquality.swift
[35/77] Compiling RealModule AlgebraicField.swift
[36/77] Emitting module RealModule
[37/77] Compiling RealModule Double+Real.swift
[38/77] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[39/77] Compiling Atomics ManagedAtomicLazyReference.swift
[40/77] Compiling Atomics UnsafeAtomic.swift
[41/77] Compiling Atomics UnsafeAtomicLazyReference.swift
[42/77] Compiling Atomics IntegerOperations.swift
[43/78] Compiling Atomics DoubleWord.swift
[44/78] Compiling Atomics ManagedAtomic.swift
[45/104] Compiling Algorithms Suffix.swift
[46/104] Compiling Algorithms Trim.swift
[47/104] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[48/104] Emitting module InternalCollectionsUtilities
[49/104] Compiling Algorithms Combinations.swift
[50/104] Compiling Algorithms Compacted.swift
[51/104] Compiling Algorithms Cycle.swift
[52/104] Compiling Algorithms Partition.swift
[53/104] Compiling Algorithms Permutations.swift
[54/104] Compiling Algorithms Product.swift
[55/104] Compiling Atomics Unmanaged extensions.swift
[60/104] Compiling Algorithms Chunked.swift
[61/104] Compiling Algorithms Split.swift
[62/104] Compiling Algorithms Stride.swift
[63/104] Compiling Algorithms Grouped.swift
[67/160] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[69/160] Compiling OrderedCollections OrderedSet+Codable.swift
[70/160] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[71/160] Compiling OrderedCollections OrderedSet+Descriptions.swift
[72/160] Compiling OrderedCollections OrderedSet+Diffing.swift
[73/160] Compiling OrderedCollections OrderedSet+Equatable.swift
[74/160] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[75/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[76/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[77/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[78/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[79/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[80/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[81/166] Emitting module Atomics
[82/166] Compiling OrderedCollections OrderedDictionary+Elements.swift
[83/166] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[84/166] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[85/166] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[86/166] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[87/166] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[88/166] Compiling OrderedCollections _Hashtable+Header.swift
[89/166] Compiling OrderedCollections OrderedDictionary+Codable.swift
[90/166] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[91/166] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[92/166] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[93/166] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[94/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[95/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[96/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[97/166] Compiling OrderedCollections OrderedSet+Invariants.swift
[98/166] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[99/166] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[100/166] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[101/166] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[102/166] Compiling OrderedCollections OrderedSet+Sendable.swift
[109/168] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[110/168] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[111/168] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[112/168] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[113/168] Compiling OrderedCollections OrderedDictionary+Values.swift
[114/168] Compiling OrderedCollections OrderedDictionary.swift
[115/168] Compiling OrderedCollections OrderedSet+Hashable.swift
[116/168] Compiling OrderedCollections OrderedSet+Initializers.swift
[117/168] Compiling OrderedCollections OrderedSet+Insertions.swift
[118/168] Compiling OrderedCollections _HashTable.swift
[119/168] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[120/168] Compiling OrderedCollections _HashTable+Bucket.swift
[121/168] Compiling OrderedCollections _HashTable+BucketIterator.swift
[122/168] Compiling OrderedCollections _HashTable+Constants.swift
[123/168] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[124/168] Compiling OrderedCollections _HashTable+Testing.swift
[125/168] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[127/168] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[128/168] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[132/168] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[133/168] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[134/168] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[138/168] Compiling OrderedCollections OrderedSet+SubSequence.swift
[139/168] Compiling OrderedCollections OrderedSet+Testing.swift
[140/168] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[141/168] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[142/168] Compiling OrderedCollections OrderedSet.swift
[143/168] Compiling OrderedCollections _UnsafeBitset.swift
[144/168] Compiling Algorithms Unique.swift
[145/168] Compiling Algorithms Windows.swift
[152/168] Emitting module OrderedCollections
[159/168] Emitting module RuntimeAssertions
[160/168] Emitting module Algorithms
[161/168] Compiling RuntimeAssertions Assert.swift
[162/168] Compiling RuntimeAssertions DebugOnly.swift
[163/168] Compiling RuntimeAssertions NeverReturn.swift
[164/168] Compiling RuntimeAssertions Precondition.swift
[165/168] Compiling RuntimeAssertions RuntimePrecondition.swift
[166/168] Compiling RuntimeAssertions RuntimeAssertion.swift
[167/168] Compiling RuntimeAssertions Counter.swift
[168/168] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[169/212] Compiling SpeziFoundation DefaultProvidingKnowledgeSource.swift
[170/212] Compiling SpeziFoundation KnowledgeSource.swift
[171/212] Compiling SpeziFoundation OptionalComputedKnowledgeSource.swift
[172/212] Compiling SpeziFoundation SomeComputedKnowledgeSource.swift
[173/216] Compiling SpeziFoundation ArrayBuilder.swift
[174/216] Compiling SpeziFoundation RangeReplaceableCollectionBuilder.swift
[175/216] Compiling SpeziFoundation SetBuilder.swift
[176/216] Compiling SpeziFoundation CompressionAlgorithm.swift
[177/216] Compiling SpeziFoundation Zlib.swift
[178/216] Compiling SpeziFoundation RepositoryAnchor.swift
[179/216] Compiling SpeziFoundation SendableSharedRepository.swift
[180/216] Compiling SpeziFoundation SharedRepository.swift
[181/216] Compiling SpeziFoundation resource_bundle_accessor.swift
[182/216] Compiling SpeziFoundation AnyArray.swift
[183/216] Compiling SpeziFoundation AnyOptional.swift
[184/216] Compiling SpeziFoundation BinarySearch.swift
[185/216] Compiling SpeziFoundation Calendar.swift
[186/216] Compiling SpeziFoundation DataDescriptor.swift
[187/216] Compiling SpeziFoundation AsyncSemaphore.swift
[188/216] Compiling SpeziFoundation DiscardTaskGroup+CancellableTask.swift
[189/216] Compiling SpeziFoundation MainActorExecution.swift
[190/216] Compiling SpeziFoundation ManagedAsynchronousAccess.swift
[191/216] Compiling SpeziFoundation RWLock.swift
[192/216] Compiling SpeziFoundation RecursiveRWLock.swift
[193/216] Compiling SpeziFoundation MarkdownDocument+Metadata.swift
[194/216] Compiling SpeziFoundation MarkdownDocument+Parser.swift
[195/216] Compiling SpeziFoundation MarkdownDocument+Sections.swift
[196/216] Compiling SpeziFoundation MarkdownDocument.swift
[197/216] Compiling SpeziFoundation TimeoutError.swift
[198/216] Compiling SpeziFoundation TopLevelDecoder.swift
[199/216] Compiling SpeziFoundation TopLevelEncoder.swift
[200/216] Compiling SpeziFoundation Version.swift
[201/216] Compiling SpeziFoundation RuntimeConfig.swift
[202/216] Compiling SpeziFoundation RepositoryValue.swift
[203/216] Compiling SpeziFoundation SendableValueRepository.swift
[204/216] Compiling SpeziFoundation ValueRepository.swift
[205/216] Compiling SpeziFoundation ComputedKnowledgeSource.swift
[206/216] Compiling SpeziFoundation Duration.swift
[207/216] Compiling SpeziFoundation FileManager.swift
[208/216] Compiling SpeziFoundation FormatStyle.swift
[209/216] Compiling SpeziFoundation KeyValuePairs.swift
[210/216] Compiling SpeziFoundation ObjCExceptionHandling.swift
[211/216] Compiling SpeziFoundation OrderedArray.swift
[212/216] Compiling SpeziFoundation RuntimeEnvironment.swift
[213/216] Compiling SpeziFoundation SequenceExtensions.swift
[214/216] Compiling SpeziFoundation StaticString+Hashable.swift
[215/216] Compiling SpeziFoundation String.swift
[216/216] Emitting module SpeziFoundation
[217/275] Emitting module Spezi
[218/281] Compiling Spezi Application+TypeAlias.swift
[219/281] Compiling Spezi ApplicationDelegate.swift
[220/281] Compiling Spezi ApplicationDelegateAdaptor.swift
[221/281] Compiling Spezi DynamicReference.swift
[222/281] Compiling Spezi Module+Properties.swift
[223/281] Compiling Spezi ProcessInfo+PreviewSimulator.swift
[224/281] Compiling Spezi ApplicationPropertyWrapper.swift
[225/281] Compiling Spezi CollectPropertyWrapper.swift
[226/281] Compiling Spezi CollectedModuleValues.swift
[227/281] Compiling Spezi ProvidePropertyWrapper.swift
[228/281] Compiling Spezi StorageValueCollector.swift
[229/281] Compiling Spezi StorageValueProvider.swift
[230/281] Compiling Spezi LifecycleHandler.swift
[231/281] Compiling Spezi SpeziSceneDelegate.swift
[232/281] Compiling Spezi View+Spezi.swift
[233/281] Compiling Spezi DefaultStandard.swift
[234/281] Compiling Spezi Module+Standard.swift
[235/281] Compiling Spezi Standard.swift
[236/281] Compiling Spezi StandardPropertyWrapper.swift
[237/281] Compiling Spezi ModuleBuilder.swift
[238/281] Compiling Spezi ModuleCollection.swift
[239/281] Compiling Spezi ModuleOwnership.swift
[240/281] Compiling Spezi BackgroundFetchResult.swift
[241/281] Compiling Spezi NotificationHandler.swift
[242/281] Compiling Spezi NotificationTokenHandler.swift
[243/281] Compiling Spezi RemoteNotificationRegistrationSupport.swift
[244/281] Compiling Spezi Spezi+RegisterRemoteNotificationsAction.swift
[245/281] Compiling Spezi Spezi+UnregisterRemoteNotifications.swift
[246/281] Compiling Spezi SpeziNotificationCenterDelegate.swift
[247/281] Compiling Spezi ImplicitlyCreatedModulesKey.swift
[248/281] Compiling Spezi LaunchOptionsKey.swift
[249/281] Compiling Spezi SpeziAnchor.swift
[250/281] Compiling Spezi SpeziStorage.swift
[251/281] Compiling Spezi StoredModulesKey.swift
[252/281] Compiling Spezi ModuleDescription.swift
[253/281] Compiling Spezi ServiceModuleGroup.swift
[254/281] Compiling Spezi Spezi+Logger.swift
[255/281] Compiling Spezi ServiceModule.swift
[256/281] Compiling Spezi EnvironmentAccessible.swift
[257/281] Compiling Spezi ModelModifier.swift
[258/281] Compiling Spezi ModelPropertyWrapper.swift
[259/281] Compiling Spezi ModifierPropertyWrapper.swift
[260/281] Compiling Spezi ViewModifierProvider.swift
[261/281] Compiling Spezi Configuration.swift
[262/281] Compiling Spezi DependencyContext.swift
[263/281] Compiling Spezi DependencyDeclaration.swift
[264/281] Compiling Spezi DependencyPropertyWrapper.swift
[265/281] Compiling Spezi Module+Dependencies.swift
[266/281] Compiling Spezi DependencyReference.swift
[267/281] Compiling Spezi ModuleReference.swift
[268/281] Compiling Spezi Module.swift
[269/281] Compiling Spezi DefaultInitializable.swift
[270/281] Compiling Spezi DependencyManager.swift
[271/281] Compiling Spezi DependencyManagerError.swift
[272/281] Compiling Spezi Module+DependencyRelation.swift
[273/281] Compiling Spezi DependencyBuilder.swift
[274/281] Compiling Spezi DependencyCollection.swift
[275/281] Compiling Spezi DependencyCollectionBuilder.swift
[276/281] Compiling Spezi Spezi+Preview.swift
[277/281] Compiling Spezi Spezi+Spezi.swift
[278/281] Compiling Spezi Spezi.swift
[279/281] Compiling Spezi SpeziAppDelegate.swift
[280/281] Compiling Spezi SpeziModuleError.swift
[281/281] Compiling Spezi SpeziPropertyWrapper.swift
[282/291] Compiling SpeziKeychainStorage KeychainItemAccessibility.swift
[283/291] Compiling SpeziKeychainStorage KeychainItemStorageOption.swift
[284/292] Compiling SpeziKeychainStorage CredentialsTag.swift
[285/292] Emitting module SpeziKeychainStorage
[286/292] Compiling SpeziKeychainStorage CryptographicKeyTag.swift
[287/292] Compiling SpeziKeychainStorage SecKey+Extensions.swift
[288/292] Compiling SpeziKeychainStorage KeychainStorage+Credentials.swift
[289/292] Compiling SpeziKeychainStorage CredentialsKind.swift
[290/292] Compiling SpeziKeychainStorage KeychainStorage+CryptographicKeys.swift
[291/292] Compiling SpeziKeychainStorage Credentials.swift
[292/292] Compiling SpeziKeychainStorage KeychainStorage.swift
[293/298] Compiling SpeziLocalStorage LocalStorageSetting.swift
[294/298] Compiling SpeziLocalStorage LocalStorageEntry.swift
[295/298] Compiling SpeziLocalStorage LocalStorageKey.swift
[296/298] Compiling SpeziLocalStorage LocalStorageError.swift
[297/298] Compiling SpeziLocalStorage LocalStorage.swift
[298/298] Emitting module SpeziLocalStorage
[299/326] Emitting module SpeziHealthKit
[300/328] Compiling SpeziHealthKit Export.swift
[301/328] Compiling SpeziHealthKit CollectSample.swift
[302/328] Compiling SpeziHealthKit HealthDataCollector.swift
[303/328] Compiling SpeziHealthKit HealthKitConfiguration.swift
[304/328] Compiling SpeziHealthKit RequestReadAccess.swift
[305/328] Compiling SpeziHealthKit RequestWriteAccess.swift
[306/328] Compiling SpeziHealthKit QueryAnchor.swift
[307/328] Compiling SpeziHealthKit AnySampleType.swift
[308/328] Compiling SpeziHealthKit HealthKitCharacteristic.swift
[309/328] Compiling SpeziHealthKit SampleTypesCollection.swift
[310/328] Compiling SpeziHealthKit _HKSampleTypeWithIdentifierType.swift
[311/328] Compiling SpeziHealthKit _HKSampleWithSampleType.swift
[312/328] Compiling SpeziHealthKit HKHealthStore+BackgroundDelivery.swift
[313/328] Compiling SpeziHealthKit HKSample+Identifiable.swift
[314/328] Compiling SpeziHealthKit SleepSession.swift
[315/328] Compiling SpeziHealthKit HealthDataCollectorDeliverySetting.swift
[316/328] Compiling SpeziHealthKit HealthKitSampleCollector.swift
[317/328] Compiling SpeziHealthKit HKElectrocardiogram+RelatedData.swift
[318/328] Compiling SpeziHealthKit SampleTypeScopedLocalStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/SampleTypeScopedLocalStorage.swift:77:34: warning: capture of non-sendable type 'Value.Type' in an isolated closure
75 | ) where Value: Codable {
76 | self.init(localStorage: localStorage) { sampleType in
77 | LocalStorageKey<Value>("\(storageKeyPrefix).\(sampleType.id)", setting: storageSetting)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
78 | }
79 | }
[319/328] Compiling SpeziHealthKit resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/SampleTypeScopedLocalStorage.swift:77:34: warning: capture of non-sendable type 'Value.Type' in an isolated closure
75 | ) where Value: Codable {
76 | self.init(localStorage: localStorage) { sampleType in
77 | LocalStorageKey<Value>("\(storageKeyPrefix).\(sampleType.id)", setting: storageSetting)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
78 | }
79 | }
[320/328] Compiling SpeziHealthKit Logger+HealthKit.swift
[321/328] Compiling SpeziHealthKit HealthKitQuery.swift
[322/328] Compiling SpeziHealthKit HealthKitQueryTimeRange.swift
[323/328] Compiling SpeziHealthKit SampleType.swift
[324/328] Compiling SpeziHealthKit SampleTypeProxy.swift
[325/328] Compiling SpeziHealthKit SampleTypes.swift
[326/328] Compiling SpeziHealthKit SleepSessionsBuilder.swift
[327/328] Compiling SpeziHealthKit HealthKit.swift
[328/328] Compiling SpeziHealthKit HealthKitConstraint.swift
[329/348] Compiling SpeziHealthKitBulkExport ExportSessionBatchSize.swift
[330/349] Emitting module SpeziHealthKitBulkExport
[331/349] Compiling SpeziHealthKitBulkExport BatchProcessor.swift
[332/349] Compiling SpeziHealthKitBulkExport BulkHealthExporter.swift
[333/349] Compiling SpeziHealthKitBulkExport CalendarUtils.swift
[334/349] Compiling SpeziHealthKitBulkExport ExportBatch.swift
[335/349] Compiling SpeziHealthKitBulkExport ExportSessionStartDate.swift
[336/349] Compiling SpeziHealthKitUI HealthChartEntry.swift
[337/349] Compiling SpeziHealthKitUI Deprecations.swift
[338/349] Compiling SpeziHealthKitUI HealthChartDataPoint.swift
[339/349] Emitting module SpeziHealthKitUI
[340/349] Compiling SpeziHealthKitUI HealthChart.swift
[341/349] Compiling SpeziHealthKitUI HealthKitQueryResults.swift
[342/349] Compiling SpeziHealthKitUI HealthKitCharacteristicsQuery.swift
[343/349] Compiling SpeziHealthKitUI HealthKitQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKitUI/Queries/HealthKitQuery.swift:107:9: warning: 'runOrScheduleOnMainActor' is deprecated: Do not use this method as it breaks structured concurrency. Consider using other mechanisms like an AsyncStream. [#DeprecatedDeclaration]
105 | @_documentation(visibility: internal)
106 | public nonisolated func update() {
107 | runOrScheduleOnMainActor {
| `- warning: 'runOrScheduleOnMainActor' is deprecated: Do not use this method as it breaks structured concurrency. Consider using other mechanisms like an AsyncStream. [#DeprecatedDeclaration]
108 | results.initializeSwiftUIManagedQuery(
109 | healthKit: healthKit,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[344/349] Compiling SpeziHealthKitUI Utils.swift
[345/349] Compiling SpeziHealthKitUI HealthKitStatisticsQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKitUI/Queries/HealthKitStatisticsQuery.swift:125:9: warning: 'runOrScheduleOnMainActor' is deprecated: Do not use this method as it breaks structured concurrency. Consider using other mechanisms like an AsyncStream. [#DeprecatedDeclaration]
123 | @_documentation(visibility: internal)
124 | public nonisolated func update() {
125 | runOrScheduleOnMainActor {
| `- warning: 'runOrScheduleOnMainActor' is deprecated: Do not use this method as it breaks structured concurrency. Consider using other mechanisms like an AsyncStream. [#DeprecatedDeclaration]
126 | results.initializeSwiftUIManagedQuery(
127 | healthStore: healthKit.healthStore,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[346/349] Compiling SpeziHealthKitBulkExport BulkExportSessionIdentifier.swift
[347/349] Compiling SpeziHealthKitBulkExport BulkExportSessionDescriptor.swift
[348/349] Compiling SpeziHealthKitBulkExport BulkExportSessionImpl.swift
[349/349] Compiling SpeziHealthKitBulkExport BulkExportSession.swift
Build complete! (48.43s)
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/StanfordSpezi/SpeziStorage.git
Fetching https://github.com/StanfordSpezi/Spezi.git
Fetching https://github.com/apple/swift-algorithms.git
[1/1633] Fetching spezistorage
[34/2816] Fetching spezistorage, spezifoundation
[94/8775] Fetching spezistorage, spezifoundation, swift-algorithms
[249/18097] Fetching spezistorage, spezifoundation, swift-algorithms, spezi
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.91s)
[6405/16914] Fetching spezistorage, swift-algorithms, spezi
[10110/30965] Fetching spezistorage, swift-algorithms, spezi, swift-snapshot-testing
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (1.24s)
[8155/21643] Fetching spezistorage, swift-algorithms, swift-snapshot-testing
Fetched https://github.com/StanfordSpezi/SpeziStorage.git from cache (2.37s)
Fetched https://github.com/apple/swift-algorithms.git from cache (2.37s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.37s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (4.29s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.03s)
Computing version for https://github.com/StanfordSpezi/SpeziStorage.git
Computed https://github.com/StanfordSpezi/SpeziStorage.git at 2.1.1 (1.59s)
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[1/583] Fetching xctruntimeassertions
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.70s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.9.0 (1.26s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.85s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.1.0 (2.39s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.2.0 (0.52s)
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.93s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.34s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.48s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (0.40s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4581] Fetching swift-custom-dump
[4582/75508] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (3.43s)
Fetched https://github.com/swiftlang/swift-syntax from cache (3.43s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (3.90s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.36s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.99s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.41s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 2.1.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.9.0
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.2.0
Creating working copy for https://github.com/StanfordSpezi/SpeziStorage.git
Working copy of https://github.com/StanfordSpezi/SpeziStorage.git resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swiftlang-6.2.0.9.909-MacroSupport-macos_aarch64.zip
Build complete.
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "spezi",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/Spezi.git"
},
{
"identity" : "spezifoundation",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.7",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/SpeziFoundation.git"
},
{
"identity" : "spezistorage",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/SpeziStorage.git"
},
{
"identity" : "swift-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-algorithms.git"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.17.7",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
}
],
"manifest_display_name" : "SpeziHealthKit",
"name" : "SpeziHealthKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SpeziHealthKit",
"targets" : [
"SpeziHealthKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpeziHealthKitBulkExport",
"targets" : [
"SpeziHealthKitBulkExport"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpeziHealthKitUI",
"targets" : [
"SpeziHealthKitUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SpeziHealthKitUI",
"module_type" : "SwiftTarget",
"name" : "SpeziHealthKitUI",
"path" : "Sources/SpeziHealthKitUI",
"product_dependencies" : [
"SpeziFoundation"
],
"product_memberships" : [
"SpeziHealthKitUI"
],
"sources" : [
"Deprecations.swift",
"HealthChart/HealthChart.swift",
"HealthChart/HealthChartDataPoint.swift",
"HealthChart/HealthChartEntry.swift",
"HealthChart/Utils.swift",
"Queries/HealthKitCharacteristicsQuery.swift",
"Queries/HealthKitQuery.swift",
"Queries/HealthKitQueryResults.swift",
"Queries/HealthKitStatisticsQuery.swift"
],
"target_dependencies" : [
"SpeziHealthKit"
],
"type" : "library"
},
{
"c99name" : "SpeziHealthKitTests",
"module_type" : "SwiftTarget",
"name" : "SpeziHealthKitTests",
"path" : "Tests/SpeziHealthKitTests",
"product_dependencies" : [
"XCTSpezi",
"SnapshotTesting"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SpeziHealthKitTests/__Snapshots__/SpeziHealthKitUITests/conditionalHealthChartContentSnapshot.1.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SpeziHealthKitTests/__Snapshots__/SpeziHealthKitUITests/conditionalHealthChartContentSnapshot.2.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SpeziHealthKitTests/__Snapshots__/SpeziHealthKitUITests/emptyHealthChartEntriesButNoDataSnapshot.1.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SpeziHealthKitTests/__Snapshots__/SpeziHealthKitUITests/emptyHealthChartNoEntriesSnapshot.1.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SpeziHealthKitTests/__Snapshots__/SpeziHealthKitUITests/multiEntryHealthChartViewSnapshot.1.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SpeziHealthKitTests/__Snapshots__/SpeziHealthKitUITests/simpleHealthChartViewSnapshot.1.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SpeziHealthKitTests/__Snapshots__/SpeziHealthKitUITests/simpleHealthChartViewSnapshot.2.png",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"BulkExporterAPITests.swift",
"CalendarUtilsTests.swift",
"LoopingIterator.swift",
"MockQueryResults.swift",
"SampleTypeProxyTests.swift",
"SampleTypesCollectionTests.swift",
"SampleTypesTests.swift",
"SpeziHealthKitTests+CollectSample.swift",
"SpeziHealthKitTests.swift",
"SpeziHealthKitUITests.swift",
"Utils.swift"
],
"target_dependencies" : [
"SpeziHealthKit",
"SpeziHealthKitBulkExport",
"SpeziHealthKitUI"
],
"type" : "test"
},
{
"c99name" : "SpeziHealthKitBulkExport",
"module_type" : "SwiftTarget",
"name" : "SpeziHealthKitBulkExport",
"path" : "Sources/SpeziHealthKitBulkExport",
"product_dependencies" : [
"SpeziFoundation",
"SpeziLocalStorage"
],
"product_memberships" : [
"SpeziHealthKitBulkExport"
],
"sources" : [
"BatchProcessor.swift",
"BulkExportSession.swift",
"BulkExportSessionDescriptor.swift",
"BulkExportSessionIdentifier.swift",
"BulkExportSessionImpl.swift",
"BulkHealthExporter.swift",
"CalendarUtils.swift",
"ExportBatch.swift",
"ExportSessionBatchSize.swift",
"ExportSessionStartDate.swift"
],
"target_dependencies" : [
"SpeziHealthKit"
],
"type" : "library"
},
{
"c99name" : "SpeziHealthKit",
"module_type" : "SwiftTarget",
"name" : "SpeziHealthKit",
"path" : "Sources/SpeziHealthKit",
"product_dependencies" : [
"Spezi",
"SpeziFoundation",
"SpeziLocalStorage",
"Algorithms"
],
"product_memberships" : [
"SpeziHealthKit",
"SpeziHealthKitBulkExport",
"SpeziHealthKitUI"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Resources/Localizable.xcstrings",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Resources/Localizable.xcstrings.license",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Configuration/HealthKitConfiguration.swift",
"Configuration/RequestReadAccess.swift",
"Configuration/RequestWriteAccess.swift",
"Export.swift",
"Health Data Collection/CollectSample.swift",
"Health Data Collection/HealthDataCollector.swift",
"Health Data Collection/HealthDataCollectorDeliverySetting.swift",
"Health Data Collection/HealthKitSampleCollector.swift",
"HealthKit Extensions/HKElectrocardiogram+RelatedData.swift",
"HealthKit Extensions/HKHealthStore+BackgroundDelivery.swift",
"HealthKit Extensions/HKSample+Identifiable.swift",
"HealthKit Extensions/Sleep Sessions/SleepSession.swift",
"HealthKit Extensions/Sleep Sessions/SleepSessionsBuilder.swift",
"HealthKit.swift",
"HealthKitConstraint.swift",
"Logging/Logger+HealthKit.swift",
"Queries/HealthKitQuery.swift",
"Queries/HealthKitQueryTimeRange.swift",
"Queries/QueryAnchor.swift",
"Sample Types/AnySampleType.swift",
"Sample Types/HealthKitCharacteristic.swift",
"Sample Types/SampleType.swift",
"Sample Types/SampleTypeProxy.swift",
"Sample Types/SampleTypes.swift",
"Sample Types/SampleTypesCollection.swift",
"Sample Types/_HKSampleTypeWithIdentifierType.swift",
"Sample Types/_HKSampleWithSampleType.swift",
"SampleTypeScopedLocalStorage.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.