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 5.10 for macOS (SPM) on 2 Jul 2025 05:41:38 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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:             5.10
Building package at path:  $PWD
https://github.com/The-Wand/Weather.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-33747A42983211AE.txt
[6/26] Emitting module Wand
[7/28] Compiling Wand Describing.swift
[8/28] Compiling Wand Describing_Character.swift
[9/28] Compiling Wand Log.swift
[10/28] Compiling Wand Memory.swift
[11/28] Compiling Wand All.swift
[12/28] Compiling Wand Any.swift
[13/28] Compiling Wand Counting.swift
[14/28] Compiling Wand Wand.swift
[15/28] Compiling Wand Error.swift
[16/28] Compiling Wand Error?.swift
[17/28] Compiling Wand Wanded.swift
[18/28] Compiling Wand |.swift
[19/28] Compiling Wand CoreGraphicsMath+Wand.swift
[20/28] Compiling Wand Numbers+Wand.swift
[21/28] Compiling Wand String+Wand.swift
[22/28] Compiling Wand AskingNil.swift
[23/28] Compiling Wand Obtain.swift
[24/28] Compiling Wand Option.swift
[25/28] Compiling Wand Ask.swift
[26/28] Compiling Wand Asking.swift
[27/28] Compiling Wand Describing_Data.swift
[28/28] Compiling Wand Expressible.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 URLCache_Ubiquitous.swift
[34/57] Compiling WandURL URLRequest_Wand.swift
[35/57] Compiling WandURL RestModelPaged.swift
[36/57] Compiling WandURL RestModel_Ask.swift
[37/57] Compiling WandURL Rest.swift
[38/57] Compiling WandURL RestModel.swift
[39/57] Compiling WandURL RestModel_GET.swift
[40/57] Compiling WandURL RestModel_GET_Array.swift
[41/57] Compiling WandURL URLSessionDataTask_Obtain.swift
[42/57] Compiling WandURL URLSession_Ubiquitous.swift
[43/57] Compiling WandURL RestModel_HEAD.swift
[44/57] Compiling WandURL RestModel_POST.swift
[45/57] Compiling WandURL RestModel_PUT.swift
[46/57] Compiling WandURL URL.lost.math.swift
[47/57] Compiling WandURL JsonArray_Convert.swift
[48/57] Compiling WandURL JsonDictionary_Ask.swift
[49/57] Compiling WandURL JsonDictionary_Convert.swift
[50/57] Compiling Wand_CoreLocation CLLocation_Convert.swift
[51/57] Compiling Wand_CoreLocation CLLocationManager_Obtain.swift
[52/57] Compiling Wand_CoreLocation CLLocation_Ask.swift
[53/57] Compiling Wand_CoreLocation CLLocationCoordinate2D_Convert.swift
[54/57] Compiling WandURL URL_Convert.swift
[55/57] Compiling WandURL URL_Image_Pipe.swift
[56/57] Compiling Wand_CoreLocation CLAuthorizationStatus_Ask.swift
[57/57] Emitting module Wand_CoreLocation
[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
HKHealthStore.isHealthDataAvailable
^
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
do {
^
[59/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
HKHealthStore.isHealthDataAvailable
^
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
do {
^
[60/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
HKHealthStore.isHealthDataAvailable
^
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
do {
^
[61/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
HKHealthStore.isHealthDataAvailable
^
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
do {
^
[62/69] 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
HKHealthStore.isHealthDataAvailable
^
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
do {
^
[63/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
HKHealthStore.isHealthDataAvailable
^
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
do {
^
[64/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
HKHealthStore.isHealthDataAvailable
^
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
do {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[65/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
HKHealthStore.isHealthDataAvailable
^
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
do {
^
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKHealthStore_Obtain.swift:31:11: error: cannot find type 'HKHealthStore' in scope
extension HKHealthStore: Obtain {
          ^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:11:11: error: cannot find type 'HKWorkoutSession' in scope
extension HKWorkoutSession {
          ^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:15:1: error: cannot find 'HKHealthStore' in scope
HKHealthStore.isHealthDataAvailable
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:20:8: error: cannot find 'HKHealthStore' in scope
    if HKHealthStore.isHealthDataAvailable() {
       ^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:23:19: error: cannot find 'healthStore' in scope
        try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
                  ^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:23:61: error: cannot find 'allTypes' in scope
        try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
                                                            ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:23:77: error: cannot find 'allTypes' in scope
        try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
                                                                            ^~~~~~~~
[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
HKHealthStore.isHealthDataAvailable
^
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
do {
^
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession_Ask.swift:51:42: error: generic parameter 'T' could not be inferred
        let source: HKHealthStore = wand.get()
                                         ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Wand.swift:146:10: note: in call to function 'get(for:)'
    func get<T>(for key: String? = nil) -> T? {
         ^
/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'
        let source: HKHealthStore = wand.get()
                                    ~~~~~^~~~~
                                               as! HKHealthStore
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession_Ask.swift:58:27: error: cannot find 'healthStore' in scope
                try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
                          ^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession_Ask.swift:58:69: error: cannot find 'allTypes' in scope
                try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
                                                                    ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession_Ask.swift:58:85: error: cannot find 'allTypes' in scope
                try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
                                                                                    ^~~~~~~~
[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
HKHealthStore.isHealthDataAvailable
^
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
do {
^
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKHealthStore_Obtain.swift:31:11: error: cannot find type 'HKHealthStore' in scope
extension HKHealthStore: Obtain {
          ^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:11:11: error: cannot find type 'HKWorkoutSession' in scope
extension HKWorkoutSession {
          ^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:15:1: error: cannot find 'HKHealthStore' in scope
HKHealthStore.isHealthDataAvailable
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:20:8: error: cannot find 'HKHealthStore' in scope
    if HKHealthStore.isHealthDataAvailable() {
       ^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:23:19: error: cannot find 'healthStore' in scope
        try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
                  ^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:23:61: error: cannot find 'allTypes' in scope
        try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
                                                            ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:23:77: error: cannot find 'allTypes' in scope
        try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
                                                                            ^~~~~~~~
[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
HKHealthStore.isHealthDataAvailable
^
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
do {
^
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKHealthStore_Obtain.swift:31:11: error: cannot find type 'HKHealthStore' in scope
extension HKHealthStore: Obtain {
          ^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:11:11: error: cannot find type 'HKWorkoutSession' in scope
extension HKWorkoutSession {
          ^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:15:1: error: cannot find 'HKHealthStore' in scope
HKHealthStore.isHealthDataAvailable
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:20:8: error: cannot find 'HKHealthStore' in scope
    if HKHealthStore.isHealthDataAvailable() {
       ^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:23:19: error: cannot find 'healthStore' in scope
        try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
                  ^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:23:61: error: cannot find 'allTypes' in scope
        try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
                                                            ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:23:77: error: cannot find 'allTypes' in scope
        try await healthStore.requestAuthorization(toShare: allTypes, read: allTypes)
                                                                            ^~~~~~~~
[69/69] 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
HKHealthStore.isHealthDataAvailable
^
/Users/admin/builder/spi-builder-workspace/Sources/Wand_Weather/HealthKit/HKWorkoutSession.swift:18:1: error: statements are not allowed at the top level
do {
^
error: fatalError
Fetching https://github.com/el-machine/Wand_CoreLocation.git
Fetching https://github.com/el-machine/WandURL.git
Fetching https://github.com/el-machine/Wand.git
Fetching https://github.com/el-machine/Any.git
[1/5369] Fetching wand
[216/9729] Fetching wand, wandurl
[260/9872] Fetching wand, wandurl, any
[325/13173] Fetching wand, wandurl, any, wand_corelocation
Fetched https://github.com/el-machine/WandURL.git from cache (1.87s)
Fetched https://github.com/el-machine/Wand.git from cache (1.91s)
Fetched https://github.com/el-machine/Any.git from cache (1.91s)
Fetched https://github.com/el-machine/Wand_CoreLocation.git from cache (1.91s)
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.47s)
Computing version for https://github.com/el-machine/Any.git
Computed https://github.com/el-machine/Any.git at 1.0.1 (0.45s)
Computing version for https://github.com/el-machine/WandURL.git
Computed https://github.com/el-machine/WandURL.git at 1.4.5 (0.46s)
Computing version for https://github.com/el-machine/Wand.git
Computed https://github.com/el-machine/Wand.git at 1.5.5 (0.48s)
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/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
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.
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/wandTests/Package.xctestplan
BUILD FAILURE 5.10 macosSpm