Build Information
Failed to build SingaporeKit, reference main (269ea5
), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 13:02:48 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| `- note: add @available attribute to enclosing enum
11 | public var `default`: Self {
12 | .now
:
18 | case day(Date)
19 |
20 | func date() -> String {
| `- note: add @available attribute to enclosing instance method
21 | let targetDate: Date
22 | var withTime: Bool
:
27 | withTime = true
28 | case .today:
29 | targetDate = .now
| |- error: 'now' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
30 | withTime = false
31 | case .moment(let date):
[64/69] Compiling SingaporeKit SingaporeData+DataError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
9 |
10 | @MainActor
11 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
12 | public class SingaporeData {
13 | /// Get relative humidity readings across Singapore
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:14:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
9 |
10 | @MainActor
11 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:16:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:18:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:20:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:22:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:24:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:26:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:28:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:30:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:32:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:34:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
35 |
36 | internal var dateOption: DateOption?
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:36:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
35 |
36 | internal var dateOption: DateOption?
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
37 | internal var momentOption: MomentOption?
38 | }
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:37:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
35 |
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
38 | }
39 |
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:38:1: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
38 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
39 |
macro expansion @ObservationTracked:2:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:14:78: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | /// Get relative humidity readings across Singapore
|2 | @ObservationIgnored private var _relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:16:76: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _airTemperature: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:18:70: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _rainfall: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:20:65: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _psi: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:22:69: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _uvIndex: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:24:98: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:26:88: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:28:77: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:30:85: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:32:73: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _trafficImages: SingaporeDataResult<TrafficImages> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:34:75: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
35 |
36 | internal var dateOption: DateOption?
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:36:41: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
35 |
36 | internal var dateOption: DateOption?
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _dateOption: DateOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
37 | internal var momentOption: MomentOption?
38 | }
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:37:45: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
35 |
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _momentOption: MomentOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
38 | }
39 |
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:38:1: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
38 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
9 |
10 | @MainActor
11 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
11 |
12 | @propertyWrapper @MainActor
13 | public struct Singapore<Value>: DynamicProperty where Value: SingaporeDataValue {
| `- note: add @available attribute to enclosing generic struct
14 |
15 | @State private var singaporeData = SingaporeData()
| `- error: 'State' is only available in macOS 10.15 or newer
16 |
17 | private var keyPath: KeyPath<SingaporeData, Value>
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore.swift:47:9: error: 'Task' is only available in macOS 10.15 or newer
11 |
12 | @propertyWrapper @MainActor
13 | public struct Singapore<Value>: DynamicProperty where Value: SingaporeDataValue {
| `- note: add @available attribute to enclosing generic struct
14 |
15 | @State private var singaporeData = SingaporeData()
:
44 | }
45 |
46 | func fetchData() {
| `- note: add @available attribute to enclosing instance method
47 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | switch keyPath {
49 | case \.relativeHumidity: await singaporeData.fetchRelativeHumidity()
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore.swift:47:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
11 |
12 | @propertyWrapper @MainActor
13 | public struct Singapore<Value>: DynamicProperty where Value: SingaporeDataValue {
| `- note: add @available attribute to enclosing generic struct
14 |
15 | @State private var singaporeData = SingaporeData()
:
44 | }
45 |
46 | func fetchData() {
| `- note: add @available attribute to enclosing instance method
47 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | switch keyPath {
49 | case \.relativeHumidity: await singaporeData.fetchRelativeHumidity()
[65/69] Compiling SingaporeKit SingaporeData.swift
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
9 |
10 | @MainActor
11 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
12 | public class SingaporeData {
13 | /// Get relative humidity readings across Singapore
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:14:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
9 |
10 | @MainActor
11 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:16:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:18:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:20:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:22:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:24:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:26:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:28:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:30:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:32:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:34:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
35 |
36 | internal var dateOption: DateOption?
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:36:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
35 |
36 | internal var dateOption: DateOption?
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
37 | internal var momentOption: MomentOption?
38 | }
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:37:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
35 |
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
38 | }
39 |
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:38:1: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
38 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
39 |
macro expansion @ObservationTracked:2:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:14:78: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | /// Get relative humidity readings across Singapore
|2 | @ObservationIgnored private var _relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:16:76: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _airTemperature: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:18:70: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _rainfall: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:20:65: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _psi: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:22:69: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _uvIndex: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:24:98: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:26:88: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:28:77: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:30:85: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:32:73: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _trafficImages: SingaporeDataResult<TrafficImages> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:34:75: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
35 |
36 | internal var dateOption: DateOption?
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:36:41: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
35 |
36 | internal var dateOption: DateOption?
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _dateOption: DateOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
37 | internal var momentOption: MomentOption?
38 | }
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:37:45: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
35 |
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _momentOption: MomentOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
38 | }
39 |
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:38:1: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
38 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
9 |
10 | @MainActor
11 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
11 |
12 | @propertyWrapper @MainActor
13 | public struct Singapore<Value>: DynamicProperty where Value: SingaporeDataValue {
| `- note: add @available attribute to enclosing generic struct
14 |
15 | @State private var singaporeData = SingaporeData()
| `- error: 'State' is only available in macOS 10.15 or newer
16 |
17 | private var keyPath: KeyPath<SingaporeData, Value>
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore.swift:47:9: error: 'Task' is only available in macOS 10.15 or newer
11 |
12 | @propertyWrapper @MainActor
13 | public struct Singapore<Value>: DynamicProperty where Value: SingaporeDataValue {
| `- note: add @available attribute to enclosing generic struct
14 |
15 | @State private var singaporeData = SingaporeData()
:
44 | }
45 |
46 | func fetchData() {
| `- note: add @available attribute to enclosing instance method
47 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | switch keyPath {
49 | case \.relativeHumidity: await singaporeData.fetchRelativeHumidity()
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore.swift:47:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
11 |
12 | @propertyWrapper @MainActor
13 | public struct Singapore<Value>: DynamicProperty where Value: SingaporeDataValue {
| `- note: add @available attribute to enclosing generic struct
14 |
15 | @State private var singaporeData = SingaporeData()
:
44 | }
45 |
46 | func fetchData() {
| `- note: add @available attribute to enclosing instance method
47 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | switch keyPath {
49 | case \.relativeHumidity: await singaporeData.fetchRelativeHumidity()
[66/69] Compiling SingaporeKit SingaporeDataOption.swift
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
9 |
10 | @MainActor
11 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
12 | public class SingaporeData {
13 | /// Get relative humidity readings across Singapore
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:14:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
9 |
10 | @MainActor
11 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:16:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:18:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:20:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:22:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:24:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:26:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:28:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:30:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:32:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:34:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
35 |
36 | internal var dateOption: DateOption?
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:36:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
35 |
36 | internal var dateOption: DateOption?
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
37 | internal var momentOption: MomentOption?
38 | }
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:37:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
35 |
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
38 | }
39 |
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:38:1: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
38 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
39 |
macro expansion @ObservationTracked:2:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:14:78: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | /// Get relative humidity readings across Singapore
|2 | @ObservationIgnored private var _relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:16:76: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _airTemperature: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:18:70: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _rainfall: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:20:65: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _psi: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:22:69: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _uvIndex: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:24:98: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:26:88: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:28:77: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:30:85: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:32:73: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _trafficImages: SingaporeDataResult<TrafficImages> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:34:75: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
35 |
36 | internal var dateOption: DateOption?
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:36:41: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
35 |
36 | internal var dateOption: DateOption?
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _dateOption: DateOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
37 | internal var momentOption: MomentOption?
38 | }
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:37:45: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
35 |
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _momentOption: MomentOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
38 | }
39 |
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:38:1: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
38 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
9 |
10 | @MainActor
11 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
11 |
12 | @propertyWrapper @MainActor
13 | public struct Singapore<Value>: DynamicProperty where Value: SingaporeDataValue {
| `- note: add @available attribute to enclosing generic struct
14 |
15 | @State private var singaporeData = SingaporeData()
| `- error: 'State' is only available in macOS 10.15 or newer
16 |
17 | private var keyPath: KeyPath<SingaporeData, Value>
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore.swift:47:9: error: 'Task' is only available in macOS 10.15 or newer
11 |
12 | @propertyWrapper @MainActor
13 | public struct Singapore<Value>: DynamicProperty where Value: SingaporeDataValue {
| `- note: add @available attribute to enclosing generic struct
14 |
15 | @State private var singaporeData = SingaporeData()
:
44 | }
45 |
46 | func fetchData() {
| `- note: add @available attribute to enclosing instance method
47 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | switch keyPath {
49 | case \.relativeHumidity: await singaporeData.fetchRelativeHumidity()
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore.swift:47:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
11 |
12 | @propertyWrapper @MainActor
13 | public struct Singapore<Value>: DynamicProperty where Value: SingaporeDataValue {
| `- note: add @available attribute to enclosing generic struct
14 |
15 | @State private var singaporeData = SingaporeData()
:
44 | }
45 |
46 | func fetchData() {
| `- note: add @available attribute to enclosing instance method
47 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | switch keyPath {
49 | case \.relativeHumidity: await singaporeData.fetchRelativeHumidity()
[67/69] Compiling SingaporeKit SingaporeDataResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
9 |
10 | @MainActor
11 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
12 | public class SingaporeData {
13 | /// Get relative humidity readings across Singapore
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:14:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
9 |
10 | @MainActor
11 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:16:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:18:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:20:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:22:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:24:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:26:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:28:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:30:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:32:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:34:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
35 |
36 | internal var dateOption: DateOption?
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:36:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
35 |
36 | internal var dateOption: DateOption?
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
37 | internal var momentOption: MomentOption?
38 | }
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:37:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
35 |
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
38 | }
39 |
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:38:1: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
38 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
39 |
macro expansion @ObservationTracked:2:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:14:78: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | /// Get relative humidity readings across Singapore
|2 | @ObservationIgnored private var _relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:16:76: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _airTemperature: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:18:70: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _rainfall: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:20:65: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _psi: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:22:69: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _uvIndex: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:24:98: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:26:88: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:28:77: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:30:85: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:32:73: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _trafficImages: SingaporeDataResult<TrafficImages> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:34:75: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
35 |
36 | internal var dateOption: DateOption?
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:36:41: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
35 |
36 | internal var dateOption: DateOption?
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _dateOption: DateOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
37 | internal var momentOption: MomentOption?
38 | }
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:37:45: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
35 |
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _momentOption: MomentOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
38 | }
39 |
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:38:1: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
38 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
9 |
10 | @MainActor
11 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
11 |
12 | @propertyWrapper @MainActor
13 | public struct Singapore<Value>: DynamicProperty where Value: SingaporeDataValue {
| `- note: add @available attribute to enclosing generic struct
14 |
15 | @State private var singaporeData = SingaporeData()
| `- error: 'State' is only available in macOS 10.15 or newer
16 |
17 | private var keyPath: KeyPath<SingaporeData, Value>
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore.swift:47:9: error: 'Task' is only available in macOS 10.15 or newer
11 |
12 | @propertyWrapper @MainActor
13 | public struct Singapore<Value>: DynamicProperty where Value: SingaporeDataValue {
| `- note: add @available attribute to enclosing generic struct
14 |
15 | @State private var singaporeData = SingaporeData()
:
44 | }
45 |
46 | func fetchData() {
| `- note: add @available attribute to enclosing instance method
47 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | switch keyPath {
49 | case \.relativeHumidity: await singaporeData.fetchRelativeHumidity()
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore.swift:47:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
11 |
12 | @propertyWrapper @MainActor
13 | public struct Singapore<Value>: DynamicProperty where Value: SingaporeDataValue {
| `- note: add @available attribute to enclosing generic struct
14 |
15 | @State private var singaporeData = SingaporeData()
:
44 | }
45 |
46 | func fetchData() {
| `- note: add @available attribute to enclosing instance method
47 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | switch keyPath {
49 | case \.relativeHumidity: await singaporeData.fetchRelativeHumidity()
[68/69] Compiling SingaporeKit SingaporeDataValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
9 |
10 | @MainActor
11 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
12 | public class SingaporeData {
13 | /// Get relative humidity readings across Singapore
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:14:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
9 |
10 | @MainActor
11 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:16:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:18:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:20:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:22:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:24:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:26:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:28:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:30:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:32:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:34:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
35 |
36 | internal var dateOption: DateOption?
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:36:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
35 |
36 | internal var dateOption: DateOption?
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
37 | internal var momentOption: MomentOption?
38 | }
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:37:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
35 |
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
38 | }
39 |
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:38:1: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
38 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
39 |
macro expansion @ObservationTracked:2:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:14:78: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | /// Get relative humidity readings across Singapore
|2 | @ObservationIgnored private var _relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:16:76: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _airTemperature: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:18:70: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _rainfall: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:20:65: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _psi: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:22:69: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _uvIndex: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:24:98: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:26:88: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:28:77: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:30:85: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:32:73: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _trafficImages: SingaporeDataResult<TrafficImages> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:34:75: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
35 |
36 | internal var dateOption: DateOption?
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:36:41: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
35 |
36 | internal var dateOption: DateOption?
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _dateOption: DateOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
37 | internal var momentOption: MomentOption?
38 | }
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:37:45: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
35 |
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _momentOption: MomentOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
38 | }
39 |
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:38:1: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
38 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
9 |
10 | @MainActor
11 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
11 |
12 | @propertyWrapper @MainActor
13 | public struct Singapore<Value>: DynamicProperty where Value: SingaporeDataValue {
| `- note: add @available attribute to enclosing generic struct
14 |
15 | @State private var singaporeData = SingaporeData()
| `- error: 'State' is only available in macOS 10.15 or newer
16 |
17 | private var keyPath: KeyPath<SingaporeData, Value>
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore.swift:47:9: error: 'Task' is only available in macOS 10.15 or newer
11 |
12 | @propertyWrapper @MainActor
13 | public struct Singapore<Value>: DynamicProperty where Value: SingaporeDataValue {
| `- note: add @available attribute to enclosing generic struct
14 |
15 | @State private var singaporeData = SingaporeData()
:
44 | }
45 |
46 | func fetchData() {
| `- note: add @available attribute to enclosing instance method
47 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | switch keyPath {
49 | case \.relativeHumidity: await singaporeData.fetchRelativeHumidity()
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore.swift:47:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
11 |
12 | @propertyWrapper @MainActor
13 | public struct Singapore<Value>: DynamicProperty where Value: SingaporeDataValue {
| `- note: add @available attribute to enclosing generic struct
14 |
15 | @State private var singaporeData = SingaporeData()
:
44 | }
45 |
46 | func fetchData() {
| `- note: add @available attribute to enclosing instance method
47 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | switch keyPath {
49 | case \.relativeHumidity: await singaporeData.fetchRelativeHumidity()
[69/69] Compiling SingaporeKit Singapore.swift
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
9 |
10 | @MainActor
11 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
12 | public class SingaporeData {
13 | /// Get relative humidity readings across Singapore
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:14:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
9 |
10 | @MainActor
11 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:16:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:18:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:20:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:22:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:24:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:26:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:28:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:30:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:32:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:34:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
35 |
36 | internal var dateOption: DateOption?
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:36:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
35 |
36 | internal var dateOption: DateOption?
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
37 | internal var momentOption: MomentOption?
38 | }
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:37:5: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
35 |
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
38 | }
39 |
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:38:1: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
38 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
39 |
macro expansion @ObservationTracked:2:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:14:78: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | /// Get relative humidity readings across Singapore
|2 | @ObservationIgnored private var _relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:16:76: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
15 |
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _airTemperature: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:18:70: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
16 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
17 |
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _rainfall: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:20:65: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
18 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
19 |
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _psi: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:22:69: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
20 | public var psi: SingaporeDataResult<EnvironmentData> = .none
21 |
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _uvIndex: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:24:98: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
22 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
23 |
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:26:88: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
24 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
25 |
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:28:77: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
26 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
27 |
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:30:85: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
28 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
29 |
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:32:73: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
30 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
31 |
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _trafficImages: SingaporeDataResult<TrafficImages> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:34:75: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
32 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
33 |
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
35 |
36 | internal var dateOption: DateOption?
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:36:41: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
34 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
35 |
36 | internal var dateOption: DateOption?
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _dateOption: DateOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
37 | internal var momentOption: MomentOption?
38 | }
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:37:45: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
35 |
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _momentOption: MomentOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
38 | }
39 |
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:38:1: note: expanded code originates here
10 | @MainActor
11 | @Observable
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
:
36 | internal var dateOption: DateOption?
37 | internal var momentOption: MomentOption?
38 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+--------------------------------------------------------------------
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
9 |
10 | @MainActor
11 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
12 | public class SingaporeData {
| `- note: add @available attribute to enclosing class
13 | /// Get relative humidity readings across Singapore
14 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
11 |
12 | @propertyWrapper @MainActor
13 | public struct Singapore<Value>: DynamicProperty where Value: SingaporeDataValue {
| `- note: add @available attribute to enclosing generic struct
14 |
15 | @State private var singaporeData = SingaporeData()
| `- error: 'State' is only available in macOS 10.15 or newer
16 |
17 | private var keyPath: KeyPath<SingaporeData, Value>
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore.swift:47:9: error: 'Task' is only available in macOS 10.15 or newer
11 |
12 | @propertyWrapper @MainActor
13 | public struct Singapore<Value>: DynamicProperty where Value: SingaporeDataValue {
| `- note: add @available attribute to enclosing generic struct
14 |
15 | @State private var singaporeData = SingaporeData()
:
44 | }
45 |
46 | func fetchData() {
| `- note: add @available attribute to enclosing instance method
47 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | switch keyPath {
49 | case \.relativeHumidity: await singaporeData.fetchRelativeHumidity()
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore.swift:47:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
11 |
12 | @propertyWrapper @MainActor
13 | public struct Singapore<Value>: DynamicProperty where Value: SingaporeDataValue {
| `- note: add @available attribute to enclosing generic struct
14 |
15 | @State private var singaporeData = SingaporeData()
:
44 | }
45 |
46 | func fetchData() {
| `- note: add @available attribute to enclosing instance method
47 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | switch keyPath {
49 | case \.relativeHumidity: await singaporeData.fetchRelativeHumidity()
BUILD FAILURE 6.0 macosSpm