The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Wand_Weather, reference main (573321), with Swift 6.0 for macOS (SPM) on 2 Jul 2025 05:39:54 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.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.0
Building package at path:  $PWD
https://github.com/The-Wand/Weather.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-5BDAB9E9C0126B9D.txt
[6/26] Emitting module Wand
[7/28] Compiling Wand Log.swift
[8/28] Compiling Wand Memory.swift
[9/28] Compiling Wand All.swift
[10/28] Compiling Wand Any.swift
[11/28] Compiling Wand Counting.swift
[12/28] Compiling Wand Option.swift
[13/28] Compiling Wand Ask.swift
[14/28] Compiling Wand Asking.swift
[15/28] Compiling Wand Error?.swift
[16/28] Compiling Wand Wanded.swift
[17/28] Compiling Wand AskingNil.swift
[18/28] Compiling Wand Obtain.swift
[19/28] Compiling Wand |.swift
[20/28] Compiling Wand CoreGraphicsMath+Wand.swift
[21/28] Compiling Wand Wand.swift
[22/28] Compiling Wand Error.swift
[23/28] Compiling Wand Numbers+Wand.swift
[24/28] Compiling Wand String+Wand.swift
[25/28] Compiling Wand Describing.swift
[26/28] Compiling Wand Describing_Character.swift
[27/28] Compiling Wand Describing_Data.swift
[28/28] Compiling Wand Expressible.swift
[29/55] Emitting module WandURL
[30/57] Compiling WandURL RestModelPaged.swift
[31/57] Compiling WandURL RestModel_Ask.swift
[32/57] Compiling WandURL RestModel_GET.swift
[33/57] Compiling WandURL RestModel_GET_Array.swift
[34/57] Compiling WandURL URLSessionDataTask_Obtain.swift
[35/57] Compiling WandURL URLSession_Ubiquitous.swift
[36/57] Compiling WandURL Rest.swift
[37/57] Compiling WandURL RestModel.swift
[38/57] Compiling WandURL RestModel_HEAD.swift
[39/57] Compiling WandURL RestModel_POST.swift
[40/57] Compiling WandURL URLCache_Ubiquitous.swift
[41/57] Compiling WandURL URLRequest_Wand.swift
[42/57] Compiling WandURL Data_Ask.swift
[43/57] Compiling WandURL JSON.swift
[44/57] Compiling WandURL JsonArray_Ask.swift
[45/57] Compiling WandURL URL_Convert.swift
[46/57] Compiling WandURL URL_Image_Pipe.swift
[47/57] Compiling WandURL RestModel_PUT.swift
[48/57] Compiling WandURL URL.lost.math.swift
[49/57] Compiling WandURL JsonArray_Convert.swift
[50/57] Compiling WandURL JsonDictionary_Ask.swift
[51/57] Compiling WandURL JsonDictionary_Convert.swift
[52/57] Compiling Wand_CoreLocation CLLocation_Ask.swift
[53/57] Compiling Wand_CoreLocation CLAuthorizationStatus_Ask.swift
[54/57] Compiling Wand_CoreLocation CLLocationManager_Obtain.swift
[55/57] Emitting module Wand_CoreLocation
[56/57] Compiling Wand_CoreLocation CLLocationCoordinate2D_Convert.swift
[57/57] Compiling Wand_CoreLocation CLLocation_Convert.swift
[58/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() {
[59/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() {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[60/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)
[61/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 {
[62/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 {
[63/69] 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() {
[64/69] 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() {
[65/69] 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)
[66/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: 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: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: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) {
[67/69] 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() {
[68/69] 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)
[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/Wand_CoreLocation.git
Fetching https://github.com/el-machine/Wand.git
Fetching https://github.com/el-machine/Any.git
Fetching https://github.com/el-machine/WandURL.git
[1/4360] Fetching wandurl
[45/4503] Fetching wandurl, any
[110/9872] Fetching wandurl, any, wand
[444/13173] Fetching wandurl, any, wand, wand_corelocation
Fetched https://github.com/el-machine/Wand.git from cache (1.34s)
Fetched https://github.com/el-machine/Wand_CoreLocation.git from cache (1.34s)
Fetched https://github.com/el-machine/Any.git from cache (1.34s)
Fetched https://github.com/el-machine/WandURL.git from cache (1.34s)
Computing version for https://github.com/el-machine/Wand_CoreLocation.git
Computed https://github.com/el-machine/Wand_CoreLocation.git at 1.4.4 (0.56s)
Computing version for https://github.com/el-machine/Any.git
Computed https://github.com/el-machine/Any.git at 1.0.1 (0.56s)
Computing version for https://github.com/el-machine/WandURL.git
Computed https://github.com/el-machine/WandURL.git at 1.4.5 (0.55s)
Computing version for https://github.com/el-machine/Wand.git
Computed https://github.com/el-machine/Wand.git at 1.5.5 (0.55s)
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/Wand.git
Working copy of https://github.com/el-machine/Wand.git resolved at 1.5.5
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/Any.git
Working copy of https://github.com/el-machine/Any.git resolved at 1.0.1
warning: 'spi-builder-workspace': the target name wandTests has different case on the filesystem and the Package.swift manifest file
warning: 'wandurl': 'wandurl' dependency on 'https://github.com/The-Wand/Wand.git' conflicts with dependency on 'https://github.com/el-machine/Wand.git' which has the same identity 'wand'. this will be escalated to an error in future versions of SwiftPM.
BUILD FAILURE 6.0 macosSpm