Build Information
Failed to build Wand_Weather, reference main (573321
), with Swift 6.2 (beta) for macOS (SPM) on 2 Jul 2025 05:37:26 UTC.
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/The-Wand/Weather.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/The-Wand/Weather
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5733216 Move sources to ‘Wand’
Cloned https://github.com/The-Wand/Weather.git
Revision (git rev-parse @):
5733216d9876183cbc5869587cba22f0f9582b40
SUCCESS checkout https://github.com/The-Wand/Weather.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/The-Wand/Weather.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-1EA4D86E10B52AF.txt
[6/26] Compiling Wand Wand.swift
[7/26] Compiling Wand Error.swift
[8/26] Compiling Wand All.swift
[9/26] Compiling Wand Any.swift
[10/26] Compiling Wand Counting.swift
[11/26] Emitting module Wand
[12/28] Compiling Wand AskingNil.swift
[13/28] Compiling Wand Obtain.swift
[14/28] Compiling Wand Error?.swift
[15/28] Compiling Wand Wanded.swift
[16/28] Compiling Wand |.swift
[17/28] Compiling Wand CoreGraphicsMath+Wand.swift
[18/28] Compiling Wand Describing.swift
[19/28] Compiling Wand Describing_Character.swift
[20/28] Compiling Wand Option.swift
[21/28] Compiling Wand Ask.swift
[22/28] Compiling Wand Asking.swift
[23/28] Compiling Wand Log.swift
[24/28] Compiling Wand Memory.swift
[25/28] Compiling Wand Describing_Data.swift
[26/28] Compiling Wand Expressible.swift
[27/28] Compiling Wand Numbers+Wand.swift
[28/28] Compiling Wand String+Wand.swift
[29/55] Emitting module WandURL
[30/57] Compiling WandURL Data_Ask.swift
[31/57] Compiling WandURL JSON.swift
[32/57] Compiling WandURL JsonArray_Ask.swift
[33/57] Compiling WandURL RestModel_HEAD.swift
[34/57] Compiling WandURL RestModel_POST.swift
[35/57] Compiling WandURL RestModelPaged.swift
[36/57] Compiling WandURL RestModel_Ask.swift
[37/57] Compiling WandURL URLCache_Ubiquitous.swift
[38/57] Compiling WandURL URLRequest_Wand.swift
[39/57] Compiling WandURL RestModel_PUT.swift
[40/57] Compiling WandURL URL.lost.math.swift
[41/57] Compiling WandURL JsonArray_Convert.swift
[42/57] Compiling WandURL JsonDictionary_Ask.swift
[43/57] Compiling WandURL JsonDictionary_Convert.swift
[44/57] Compiling WandURL RestModel_GET.swift
[45/57] Compiling WandURL RestModel_GET_Array.swift
[46/57] Compiling WandURL URLSessionDataTask_Obtain.swift
[47/57] Compiling WandURL URLSession_Ubiquitous.swift
[48/57] Compiling WandURL Rest.swift
[49/57] Compiling WandURL RestModel.swift
[50/57] Compiling WandURL URL_Convert.swift
[51/57] Compiling WandURL URL_Image_Pipe.swift
[52/57] Compiling Wand_CoreLocation CLLocation_Convert.swift
[53/57] Compiling Wand_CoreLocation CLLocationCoordinate2D_Convert.swift
[54/57] Compiling Wand_CoreLocation CLAuthorizationStatus_Ask.swift
[55/57] Compiling Wand_CoreLocation CLLocation_Ask.swift
[56/57] Emitting module Wand_CoreLocation
[57/57] Compiling Wand_CoreLocation CLLocationManager_Obtain.swift
[58/68] Compiling Wand_Weather Yandex_API.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:15:1: error: expressions are not allowed at the top level
13 | }
14 |
15 | HKHealthStore.isHealthDataAvailable
| `- error: expressions are not allowed at the top level
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
16 |
17 |
18 | do {
| `- error: statements are not allowed at the top level
19 | // Check that Health data is available on the device.
20 | if HKHealthStore.isHealthDataAvailable() {
[59/68] Compiling Wand_Weather OpenWeatherMap_Weather.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:15:1: error: expressions are not allowed at the top level
13 | }
14 |
15 | HKHealthStore.isHealthDataAvailable
| `- error: expressions are not allowed at the top level
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
16 |
17 |
18 | do {
| `- error: statements are not allowed at the top level
19 | // Check that Health data is available on the device.
20 | if HKHealthStore.isHealthDataAvailable() {
[60/68] Compiling Wand_Weather Yandex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:15:1: error: expressions are not allowed at the top level
13 | }
14 |
15 | HKHealthStore.isHealthDataAvailable
| `- error: expressions are not allowed at the top level
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
16 |
17 |
18 | do {
| `- error: statements are not allowed at the top level
19 | // Check that Health data is available on the device.
20 | if HKHealthStore.isHealthDataAvailable() {
[61/68] Compiling Wand_Weather OpenWeatherMap_API.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:15:1: error: expressions are not allowed at the top level
13 | }
14 |
15 | HKHealthStore.isHealthDataAvailable
| `- error: expressions are not allowed at the top level
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
16 |
17 |
18 | do {
| `- error: statements are not allowed at the top level
19 | // Check that Health data is available on the device.
20 | if HKHealthStore.isHealthDataAvailable() {
[62/68] Compiling Wand_Weather WeatherService_Obtain.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:15:1: error: expressions are not allowed at the top level
13 | }
14 |
15 | HKHealthStore.isHealthDataAvailable
| `- error: expressions are not allowed at the top level
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
16 |
17 |
18 | do {
| `- error: statements are not allowed at the top level
19 | // Check that Health data is available on the device.
20 | if HKHealthStore.isHealthDataAvailable() {
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/WeatherKit/WeatherService_Obtain.swift:31:1: warning: extension declares a conformance of imported type 'WeatherService' to imported protocols 'Obtain', 'Wanded'; this will not behave correctly if the owners of 'WeatherKit' introduce this conformance in the future
29 | @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *)
30 | @available(visionOS, unavailable)
31 | extension WeatherService: Obtain {
| |- warning: extension declares a conformance of imported type 'WeatherService' to imported protocols 'Obtain', 'Wanded'; this will not behave correctly if the owners of 'WeatherKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
32 |
33 | @inline(__always)
[63/68] Compiling Wand_Weather Weather_Ask.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:15:1: error: expressions are not allowed at the top level
13 | }
14 |
15 | HKHealthStore.isHealthDataAvailable
| `- error: expressions are not allowed at the top level
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
16 |
17 |
18 | do {
| `- error: statements are not allowed at the top level
19 | // Check that Health data is available on the device.
20 | if HKHealthStore.isHealthDataAvailable() {
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/WeatherKit/Weather_Ask.swift:36:1: warning: extension declares a conformance of imported type 'Weather' to imported protocols 'Asking', 'Wanded'; this will not behave correctly if the owners of 'WeatherKit' introduce this conformance in the future
34 | @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *)
35 | @available(visionOS, unavailable)
36 | extension Weather: Asking, Wanded {
| |- warning: extension declares a conformance of imported type 'Weather' to imported protocols 'Asking', 'Wanded'; this will not behave correctly if the owners of 'WeatherKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
37 |
38 | @inline(__always)
[64/68] Compiling Wand_Weather OpenWeatherMap.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:15:1: error: expressions are not allowed at the top level
13 | }
14 |
15 | HKHealthStore.isHealthDataAvailable
| `- error: expressions are not allowed at the top level
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
16 |
17 |
18 | do {
| `- error: statements are not allowed at the top level
19 | // Check that Health data is available on the device.
20 | if HKHealthStore.isHealthDataAvailable() {
[65/69] Compiling Wand_Weather HKWorkoutSession_Ask.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:15:1: error: expressions are not allowed at the top level
13 | }
14 |
15 | HKHealthStore.isHealthDataAvailable
| `- error: expressions are not allowed at the top level
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
16 |
17 |
18 | do {
| `- error: statements are not allowed at the top level
19 | // Check that Health data is available on the device.
20 | if HKHealthStore.isHealthDataAvailable() {
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession_Ask.swift:36:1: warning: extension declares a conformance of imported type 'HKWorkoutSession' to imported protocols 'Asking', 'Wanded'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
34 | @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *)
35 | @available(visionOS, unavailable)
36 | extension HKWorkoutSession: Asking, Wanded {
| |- warning: extension declares a conformance of imported type 'HKWorkoutSession' to imported protocols 'Asking', 'Wanded'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
37 |
38 | @inline(__always)
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession_Ask.swift:51:42: error: generic parameter 'T' could not be inferred
49 |
50 | //Prepare context
51 | let source: HKHealthStore = wand.get()
| `- error: generic parameter 'T' could not be inferred
52 |
53 | do {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Wand.swift:146:10: note: in call to function 'get(for:)'
144 | @inline(__always)
145 | public
146 | func get<T>(for key: String? = nil) -> T? {
| `- note: in call to function 'get(for:)'
147 | context[key ?? T.self|] as? T
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession_Ask.swift:51:42: error: cannot convert value of type 'T?' to specified type 'HKHealthStore'
49 |
50 | //Prepare context
51 | let source: HKHealthStore = wand.get()
| `- error: cannot convert value of type 'T?' to specified type 'HKHealthStore'
52 |
53 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession_Ask.swift:58:27: error: cannot find 'healthStore' in scope
56 |
57 | // Asynchronously request authorization to the data.
58 | try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
| `- error: cannot find 'healthStore' in scope
59 | }
60 | } catch (let e) {
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession_Ask.swift:58:69: error: cannot find 'allTypes' in scope
56 |
57 | // Asynchronously request authorization to the data.
58 | try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
| `- error: cannot find 'allTypes' in scope
59 | }
60 | } catch (let e) {
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession_Ask.swift:58:85: error: cannot find 'allTypes' in scope
56 |
57 | // Asynchronously request authorization to the data.
58 | try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
| `- error: cannot find 'allTypes' in scope
59 | }
60 | } catch (let e) {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/69] Emitting module Wand_Weather
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:15:1: error: expressions are not allowed at the top level
13 | }
14 |
15 | HKHealthStore.isHealthDataAvailable
| `- error: expressions are not allowed at the top level
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
16 |
17 |
18 | do {
| `- error: statements are not allowed at the top level
19 | // Check that Health data is available on the device.
20 | if HKHealthStore.isHealthDataAvailable() {
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKHealthStore_Obtain.swift:31:11: error: cannot find type 'HKHealthStore' in scope
29 | @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *)
30 | @available(visionOS, unavailable)
31 | extension HKHealthStore: Obtain {
| `- error: cannot find type 'HKHealthStore' in scope
32 |
33 | @inline(__always)
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:11:11: error: cannot find type 'HKWorkoutSession' in scope
9 |
10 |
11 | extension HKWorkoutSession {
| `- error: cannot find type 'HKWorkoutSession' in scope
12 |
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:15:1: error: cannot find 'HKHealthStore' in scope
13 | }
14 |
15 | HKHealthStore.isHealthDataAvailable
| `- error: cannot find 'HKHealthStore' in scope
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:20:8: error: cannot find 'HKHealthStore' in scope
18 | do {
19 | // Check that Health data is available on the device.
20 | if HKHealthStore.isHealthDataAvailable() {
| `- error: cannot find 'HKHealthStore' in scope
21 |
22 | // Asynchronously request authorization to the data.
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:23:19: error: cannot find 'healthStore' in scope
21 |
22 | // Asynchronously request authorization to the data.
23 | try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
| `- error: cannot find 'healthStore' in scope
24 | }
25 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:23:61: error: cannot find 'allTypes' in scope
21 |
22 | // Asynchronously request authorization to the data.
23 | try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
| `- error: cannot find 'allTypes' in scope
24 | }
25 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:23:77: error: cannot find 'allTypes' in scope
21 |
22 | // Asynchronously request authorization to the data.
23 | try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
| `- error: cannot find 'allTypes' in scope
24 | }
25 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession_Ask.swift:36:1: warning: extension declares a conformance of imported type 'HKWorkoutSession' to imported protocols 'Asking', 'Wanded'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
34 | @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *)
35 | @available(visionOS, unavailable)
36 | extension HKWorkoutSession: Asking, Wanded {
| |- warning: extension declares a conformance of imported type 'HKWorkoutSession' to imported protocols 'Asking', 'Wanded'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
37 |
38 | @inline(__always)
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/WeatherKit/WeatherService_Obtain.swift:31:1: warning: extension declares a conformance of imported type 'WeatherService' to imported protocols 'Obtain', 'Wanded'; this will not behave correctly if the owners of 'WeatherKit' introduce this conformance in the future
29 | @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *)
30 | @available(visionOS, unavailable)
31 | extension WeatherService: Obtain {
| |- warning: extension declares a conformance of imported type 'WeatherService' to imported protocols 'Obtain', 'Wanded'; this will not behave correctly if the owners of 'WeatherKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
32 |
33 | @inline(__always)
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/WeatherKit/Weather_Ask.swift:36:1: warning: extension declares a conformance of imported type 'Weather' to imported protocols 'Asking', 'Wanded'; this will not behave correctly if the owners of 'WeatherKit' introduce this conformance in the future
34 | @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *)
35 | @available(visionOS, unavailable)
36 | extension Weather: Asking, Wanded {
| |- warning: extension declares a conformance of imported type 'Weather' to imported protocols 'Asking', 'Wanded'; this will not behave correctly if the owners of 'WeatherKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
37 |
38 | @inline(__always)
[67/69] Compiling Wand_Weather HKHealthStore_Obtain.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:15:1: error: expressions are not allowed at the top level
13 | }
14 |
15 | HKHealthStore.isHealthDataAvailable
| `- error: expressions are not allowed at the top level
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
16 |
17 |
18 | do {
| `- error: statements are not allowed at the top level
19 | // Check that Health data is available on the device.
20 | if HKHealthStore.isHealthDataAvailable() {
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKHealthStore_Obtain.swift:31:11: error: cannot find type 'HKHealthStore' in scope
29 | @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *)
30 | @available(visionOS, unavailable)
31 | extension HKHealthStore: Obtain {
| `- error: cannot find type 'HKHealthStore' in scope
32 |
33 | @inline(__always)
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:11:11: error: cannot find type 'HKWorkoutSession' in scope
9 |
10 |
11 | extension HKWorkoutSession {
| `- error: cannot find type 'HKWorkoutSession' in scope
12 |
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:15:1: error: cannot find 'HKHealthStore' in scope
13 | }
14 |
15 | HKHealthStore.isHealthDataAvailable
| `- error: cannot find 'HKHealthStore' in scope
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:20:8: error: cannot find 'HKHealthStore' in scope
18 | do {
19 | // Check that Health data is available on the device.
20 | if HKHealthStore.isHealthDataAvailable() {
| `- error: cannot find 'HKHealthStore' in scope
21 |
22 | // Asynchronously request authorization to the data.
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:23:19: error: cannot find 'healthStore' in scope
21 |
22 | // Asynchronously request authorization to the data.
23 | try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
| `- error: cannot find 'healthStore' in scope
24 | }
25 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:23:61: error: cannot find 'allTypes' in scope
21 |
22 | // Asynchronously request authorization to the data.
23 | try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
| `- error: cannot find 'allTypes' in scope
24 | }
25 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:23:77: error: cannot find 'allTypes' in scope
21 |
22 | // Asynchronously request authorization to the data.
23 | try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
| `- error: cannot find 'allTypes' in scope
24 | }
25 | } catch {
[68/69] Compiling Wand_Weather HKWorkoutSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:15:1: error: expressions are not allowed at the top level
13 | }
14 |
15 | HKHealthStore.isHealthDataAvailable
| `- error: expressions are not allowed at the top level
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
16 |
17 |
18 | do {
| `- error: statements are not allowed at the top level
19 | // Check that Health data is available on the device.
20 | if HKHealthStore.isHealthDataAvailable() {
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKHealthStore_Obtain.swift:31:11: error: cannot find type 'HKHealthStore' in scope
29 | @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *)
30 | @available(visionOS, unavailable)
31 | extension HKHealthStore: Obtain {
| `- error: cannot find type 'HKHealthStore' in scope
32 |
33 | @inline(__always)
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:11:11: error: cannot find type 'HKWorkoutSession' in scope
9 |
10 |
11 | extension HKWorkoutSession {
| `- error: cannot find type 'HKWorkoutSession' in scope
12 |
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:15:1: error: cannot find 'HKHealthStore' in scope
13 | }
14 |
15 | HKHealthStore.isHealthDataAvailable
| `- error: cannot find 'HKHealthStore' in scope
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:20:8: error: cannot find 'HKHealthStore' in scope
18 | do {
19 | // Check that Health data is available on the device.
20 | if HKHealthStore.isHealthDataAvailable() {
| `- error: cannot find 'HKHealthStore' in scope
21 |
22 | // Asynchronously request authorization to the data.
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:23:19: error: cannot find 'healthStore' in scope
21 |
22 | // Asynchronously request authorization to the data.
23 | try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
| `- error: cannot find 'healthStore' in scope
24 | }
25 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:23:61: error: cannot find 'allTypes' in scope
21 |
22 | // Asynchronously request authorization to the data.
23 | try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
| `- error: cannot find 'allTypes' in scope
24 | }
25 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:23:77: error: cannot find 'allTypes' in scope
21 |
22 | // Asynchronously request authorization to the data.
23 | try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
| `- error: cannot find 'allTypes' in scope
24 | }
25 | } catch {
[69/69] Compiling Wand_Weather Yandex_Weather.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:15:1: error: expressions are not allowed at the top level
13 | }
14 |
15 | HKHealthStore.isHealthDataAvailable
| `- error: expressions are not allowed at the top level
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
16 |
17 |
18 | do {
| `- error: statements are not allowed at the top level
19 | // Check that Health data is available on the device.
20 | if HKHealthStore.isHealthDataAvailable() {
Fetching https://github.com/el-machine/WandURL.git
Fetching https://github.com/el-machine/Any.git
Fetching https://github.com/el-machine/Wand_CoreLocation.git
Fetching https://github.com/el-machine/Wand.git
[1/3301] Fetching wand_corelocation
[2/3444] Fetching wand_corelocation, any
[68/7804] Fetching wand_corelocation, any, wandurl
[145/13173] Fetching wand_corelocation, any, wandurl, wand
Fetched https://github.com/el-machine/Wand_CoreLocation.git from cache (1.20s)
[1925/9872] Fetching any, wandurl, wand
Fetched https://github.com/el-machine/WandURL.git from cache (1.46s)
Fetched https://github.com/el-machine/Any.git from cache (1.47s)
Fetched https://github.com/el-machine/Wand.git from cache (1.47s)
Computing version for https://github.com/el-machine/Wand_CoreLocation.git
Computed https://github.com/el-machine/Wand_CoreLocation.git at 1.4.4 (2.02s)
Computing version for https://github.com/el-machine/Any.git
Computed https://github.com/el-machine/Any.git at 1.0.1 (0.49s)
Computing version for https://github.com/el-machine/WandURL.git
Computed https://github.com/el-machine/WandURL.git at 1.4.5 (0.52s)
Computing version for https://github.com/el-machine/Wand.git
Computed https://github.com/el-machine/Wand.git at 1.5.5 (0.50s)
Creating working copy for https://github.com/el-machine/WandURL.git
Working copy of https://github.com/el-machine/WandURL.git resolved at 1.4.5
Creating working copy for https://github.com/el-machine/Any.git
Working copy of https://github.com/el-machine/Any.git resolved at 1.0.1
Creating working copy for https://github.com/el-machine/Wand_CoreLocation.git
Working copy of https://github.com/el-machine/Wand_CoreLocation.git resolved at 1.4.4
Creating working copy for https://github.com/el-machine/Wand.git
Working copy of https://github.com/el-machine/Wand.git resolved at 1.5.5
warning: 'spi-builder-workspace': the target name wandTests has different case on the filesystem and the Package.swift manifest file
warning: 'wandurl': Conflicting identity for wand: dependency 'github.com/the-wand/wand' and dependency 'github.com/el-machine/wand' both point to the same package identity 'wand'. The dependencies are introduced through the following chains: (A) /users/admin/builder/spi-builder-workspace->github.com/el-machine/wandurl->github.com/the-wand/wand (B) /users/admin/builder/spi-builder-workspace->github.com/el-machine/wand. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
BUILD FAILURE 6.2 macosSpm