Build Information
Failed to build SingaporeKit, reference 0.0.2 (eb6127
), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 21:38:03 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
30 | withTime = false
31 | case .moment(let date):
[60/69] Compiling SingaporeKit TrafficImages+ImageMetadata.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.
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/DateOption.swift:26:27: error: 'now' is only available in macOS 12 or newer
8 | import Foundation
9 |
10 | public enum DateOption: SingaporeDataOption, Sendable {
| `- 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
:
24 | switch self {
25 | case .now:
26 | targetDate = .now
| |- error: 'now' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
27 | withTime = true
28 | case .today:
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/DateOption.swift:29:27: error: 'now' is only available in macOS 12 or newer
8 | import Foundation
9 |
10 | public enum DateOption: SingaporeDataOption, Sendable {
| `- 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):
[61/69] Compiling SingaporeKit TrafficImages.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.
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/DateOption.swift:26:27: error: 'now' is only available in macOS 12 or newer
8 | import Foundation
9 |
10 | public enum DateOption: SingaporeDataOption, Sendable {
| `- 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
:
24 | switch self {
25 | case .now:
26 | targetDate = .now
| |- error: 'now' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
27 | withTime = true
28 | case .today:
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/DateOption.swift:29:27: error: 'now' is only available in macOS 12 or newer
8 | import Foundation
9 |
10 | public enum DateOption: SingaporeDataOption, Sendable {
| `- 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):
[62/69] Compiling SingaporeKit Location.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.
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/DateOption.swift:26:27: error: 'now' is only available in macOS 12 or newer
8 | import Foundation
9 |
10 | public enum DateOption: SingaporeDataOption, Sendable {
| `- 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
:
24 | switch self {
25 | case .now:
26 | targetDate = .now
| |- error: 'now' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
27 | withTime = true
28 | case .today:
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/DateOption.swift:29:27: error: 'now' is only available in macOS 12 or newer
8 | import Foundation
9 |
10 | public enum DateOption: SingaporeDataOption, Sendable {
| `- 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):
[63/69] Compiling SingaporeKit DateOption.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.
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/DateOption.swift:26:27: error: 'now' is only available in macOS 12 or newer
8 | import Foundation
9 |
10 | public enum DateOption: SingaporeDataOption, Sendable {
| `- 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
:
24 | switch self {
25 | case .now:
26 | targetDate = .now
| |- error: 'now' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
27 | withTime = true
28 | case .today:
/Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/DateOption.swift:29:27: error: 'now' is only available in macOS 12 or newer
8 | import Foundation
9 |
10 | public enum DateOption: SingaporeDataOption, Sendable {
| `- 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:57: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 | ///
:
55 | /// }
56 | /// ```
57 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
58 |
59 | /// Get air temperature readings from across Singapore.
/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 | ///
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:103: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 | ///
:
101 | /// }
102 | /// ```
103 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
104 |
105 | /// Get precipitation readings from 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:149: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 | ///
:
147 | /// }
148 | /// ```
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
150 |
151 | 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:151: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 | ///
:
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
150 |
151 | public var psi: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
152 |
153 | 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:153: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 | ///
:
151 | public var psi: SingaporeDataResult<EnvironmentData> = .none
152 |
153 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
154 |
155 | 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:155: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 | ///
:
153 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
154 |
155 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
156 |
157 | 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:157: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 | ///
:
155 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
156 |
157 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
158 |
159 | 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:159: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 | ///
:
157 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
158 |
159 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
160 |
161 | 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:161: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 | ///
:
159 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
160 |
161 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
162 |
163 | 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:163: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 | ///
:
161 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
162 |
163 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
164 |
165 | 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:165: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 | ///
:
163 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
164 |
165 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
166 |
167 | 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:167: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 | ///
:
165 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
166 |
167 | internal var dateOption: DateOption?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
168 | internal var momentOption: MomentOption?
169 | }
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:168: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 | ///
:
166 |
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
169 | }
170 |
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:169: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 | ///
:
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
169 | }
+--- 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>(
+-------------------------------------------------------------------
170 |
macro expansion @ObservationTracked:45:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:57: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 | ///
:
55 | /// }
56 | /// ```
57 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ---------------------------
|43 | /// }
|44 | /// ```
|45 | @ObservationIgnored private var _relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
58 |
59 | /// Get air temperature readings from across Singapore.
macro expansion @ObservationTracked:45:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:103: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 | ///
:
101 | /// }
102 | /// ```
103 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ---------------------------
|43 | /// }
|44 | /// ```
|45 | @ObservationIgnored private var _airTemperature: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
104 |
105 | /// Get precipitation readings from across Singapore.
macro expansion @ObservationTracked:45:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:149: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 | ///
:
147 | /// }
148 | /// ```
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ---------------------------
|43 | /// }
|44 | /// ```
|45 | @ObservationIgnored private var _rainfall: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
150 |
151 | 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:151: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 | ///
:
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
150 |
151 | 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
+-------------------------------------------------------------------
152 |
153 | 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:153: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 | ///
:
151 | public var psi: SingaporeDataResult<EnvironmentData> = .none
152 |
153 | 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
+-------------------------------------------------------------------
154 |
155 | 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:155: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 | ///
:
153 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
154 |
155 | 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
+-------------------------------------------------------------------
156 |
157 | 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:157: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 | ///
:
155 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
156 |
157 | 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
+-------------------------------------------------------------------
158 |
159 | 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:159: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 | ///
:
157 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
158 |
159 | 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
+-------------------------------------------------------------------
160 |
161 | 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:161: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 | ///
:
159 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
160 |
161 | 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
+-------------------------------------------------------------------
162 |
163 | 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:163: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 | ///
:
161 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
162 |
163 | 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
+-------------------------------------------------------------------
164 |
165 | 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:165: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 | ///
:
163 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
164 |
165 | 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
+-------------------------------------------------------------------
166 |
167 | 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:167: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 | ///
:
165 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
166 |
167 | internal var dateOption: DateOption?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _dateOption: DateOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
168 | internal var momentOption: MomentOption?
169 | }
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:168: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 | ///
:
166 |
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _momentOption: MomentOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
169 | }
170 |
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:169: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 | ///
:
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
169 | }
+--- 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>(
+-------------------------------------------------------------------
170 |
/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 | ///
/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:57: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 | ///
:
55 | /// }
56 | /// ```
57 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
58 |
59 | /// Get air temperature readings from across Singapore.
/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 | ///
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:103: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 | ///
:
101 | /// }
102 | /// ```
103 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
104 |
105 | /// Get precipitation readings from 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:149: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 | ///
:
147 | /// }
148 | /// ```
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
150 |
151 | 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:151: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 | ///
:
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
150 |
151 | public var psi: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
152 |
153 | 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:153: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 | ///
:
151 | public var psi: SingaporeDataResult<EnvironmentData> = .none
152 |
153 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
154 |
155 | 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:155: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 | ///
:
153 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
154 |
155 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
156 |
157 | 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:157: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 | ///
:
155 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
156 |
157 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
158 |
159 | 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:159: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 | ///
:
157 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
158 |
159 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
160 |
161 | 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:161: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 | ///
:
159 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
160 |
161 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
162 |
163 | 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:163: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 | ///
:
161 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
162 |
163 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
164 |
165 | 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:165: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 | ///
:
163 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
164 |
165 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
166 |
167 | 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:167: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 | ///
:
165 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
166 |
167 | internal var dateOption: DateOption?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
168 | internal var momentOption: MomentOption?
169 | }
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:168: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 | ///
:
166 |
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
169 | }
170 |
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:169: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 | ///
:
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
169 | }
+--- 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>(
+-------------------------------------------------------------------
170 |
macro expansion @ObservationTracked:45:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:57: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 | ///
:
55 | /// }
56 | /// ```
57 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ---------------------------
|43 | /// }
|44 | /// ```
|45 | @ObservationIgnored private var _relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
58 |
59 | /// Get air temperature readings from across Singapore.
macro expansion @ObservationTracked:45:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:103: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 | ///
:
101 | /// }
102 | /// ```
103 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ---------------------------
|43 | /// }
|44 | /// ```
|45 | @ObservationIgnored private var _airTemperature: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
104 |
105 | /// Get precipitation readings from across Singapore.
macro expansion @ObservationTracked:45:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:149: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 | ///
:
147 | /// }
148 | /// ```
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ---------------------------
|43 | /// }
|44 | /// ```
|45 | @ObservationIgnored private var _rainfall: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
150 |
151 | 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:151: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 | ///
:
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
150 |
151 | 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
+-------------------------------------------------------------------
152 |
153 | 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:153: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 | ///
:
151 | public var psi: SingaporeDataResult<EnvironmentData> = .none
152 |
153 | 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
+-------------------------------------------------------------------
154 |
155 | 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:155: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 | ///
:
153 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
154 |
155 | 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
+-------------------------------------------------------------------
156 |
157 | 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:157: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 | ///
:
155 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
156 |
157 | 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
+-------------------------------------------------------------------
158 |
159 | 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:159: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 | ///
:
157 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
158 |
159 | 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
+-------------------------------------------------------------------
160 |
161 | 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:161: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 | ///
:
159 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
160 |
161 | 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
+-------------------------------------------------------------------
162 |
163 | 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:163: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 | ///
:
161 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
162 |
163 | 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
+-------------------------------------------------------------------
164 |
165 | 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:165: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 | ///
:
163 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
164 |
165 | 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
+-------------------------------------------------------------------
166 |
167 | 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:167: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 | ///
:
165 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
166 |
167 | internal var dateOption: DateOption?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _dateOption: DateOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
168 | internal var momentOption: MomentOption?
169 | }
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:168: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 | ///
:
166 |
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _momentOption: MomentOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
169 | }
170 |
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:169: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 | ///
:
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
169 | }
+--- 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>(
+-------------------------------------------------------------------
170 |
/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 | ///
/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:57: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 | ///
:
55 | /// }
56 | /// ```
57 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
58 |
59 | /// Get air temperature readings from across Singapore.
/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 | ///
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:103: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 | ///
:
101 | /// }
102 | /// ```
103 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
104 |
105 | /// Get precipitation readings from 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:149: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 | ///
:
147 | /// }
148 | /// ```
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
150 |
151 | 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:151: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 | ///
:
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
150 |
151 | public var psi: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
152 |
153 | 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:153: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 | ///
:
151 | public var psi: SingaporeDataResult<EnvironmentData> = .none
152 |
153 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
154 |
155 | 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:155: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 | ///
:
153 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
154 |
155 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
156 |
157 | 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:157: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 | ///
:
155 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
156 |
157 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
158 |
159 | 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:159: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 | ///
:
157 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
158 |
159 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
160 |
161 | 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:161: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 | ///
:
159 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
160 |
161 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
162 |
163 | 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:163: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 | ///
:
161 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
162 |
163 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
164 |
165 | 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:165: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 | ///
:
163 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
164 |
165 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
166 |
167 | 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:167: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 | ///
:
165 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
166 |
167 | internal var dateOption: DateOption?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
168 | internal var momentOption: MomentOption?
169 | }
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:168: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 | ///
:
166 |
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
169 | }
170 |
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:169: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 | ///
:
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
169 | }
+--- 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>(
+-------------------------------------------------------------------
170 |
macro expansion @ObservationTracked:45:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:57: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 | ///
:
55 | /// }
56 | /// ```
57 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ---------------------------
|43 | /// }
|44 | /// ```
|45 | @ObservationIgnored private var _relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
58 |
59 | /// Get air temperature readings from across Singapore.
macro expansion @ObservationTracked:45:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:103: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 | ///
:
101 | /// }
102 | /// ```
103 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ---------------------------
|43 | /// }
|44 | /// ```
|45 | @ObservationIgnored private var _airTemperature: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
104 |
105 | /// Get precipitation readings from across Singapore.
macro expansion @ObservationTracked:45:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:149: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 | ///
:
147 | /// }
148 | /// ```
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ---------------------------
|43 | /// }
|44 | /// ```
|45 | @ObservationIgnored private var _rainfall: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
150 |
151 | 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:151: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 | ///
:
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
150 |
151 | 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
+-------------------------------------------------------------------
152 |
153 | 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:153: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 | ///
:
151 | public var psi: SingaporeDataResult<EnvironmentData> = .none
152 |
153 | 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
+-------------------------------------------------------------------
154 |
155 | 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:155: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 | ///
:
153 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
154 |
155 | 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
+-------------------------------------------------------------------
156 |
157 | 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:157: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 | ///
:
155 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
156 |
157 | 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
+-------------------------------------------------------------------
158 |
159 | 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:159: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 | ///
:
157 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
158 |
159 | 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
+-------------------------------------------------------------------
160 |
161 | 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:161: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 | ///
:
159 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
160 |
161 | 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
+-------------------------------------------------------------------
162 |
163 | 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:163: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 | ///
:
161 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
162 |
163 | 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
+-------------------------------------------------------------------
164 |
165 | 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:165: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 | ///
:
163 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
164 |
165 | 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
+-------------------------------------------------------------------
166 |
167 | 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:167: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 | ///
:
165 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
166 |
167 | internal var dateOption: DateOption?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _dateOption: DateOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
168 | internal var momentOption: MomentOption?
169 | }
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:168: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 | ///
:
166 |
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _momentOption: MomentOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
169 | }
170 |
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:169: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 | ///
:
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
169 | }
+--- 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>(
+-------------------------------------------------------------------
170 |
/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 | ///
/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:57: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 | ///
:
55 | /// }
56 | /// ```
57 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
58 |
59 | /// Get air temperature readings from across Singapore.
/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 | ///
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:103: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 | ///
:
101 | /// }
102 | /// ```
103 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
104 |
105 | /// Get precipitation readings from 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:149: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 | ///
:
147 | /// }
148 | /// ```
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
150 |
151 | 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:151: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 | ///
:
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
150 |
151 | public var psi: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
152 |
153 | 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:153: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 | ///
:
151 | public var psi: SingaporeDataResult<EnvironmentData> = .none
152 |
153 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
154 |
155 | 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:155: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 | ///
:
153 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
154 |
155 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
156 |
157 | 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:157: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 | ///
:
155 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
156 |
157 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
158 |
159 | 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:159: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 | ///
:
157 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
158 |
159 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
160 |
161 | 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:161: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 | ///
:
159 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
160 |
161 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
162 |
163 | 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:163: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 | ///
:
161 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
162 |
163 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
164 |
165 | 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:165: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 | ///
:
163 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
164 |
165 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
166 |
167 | 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:167: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 | ///
:
165 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
166 |
167 | internal var dateOption: DateOption?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
168 | internal var momentOption: MomentOption?
169 | }
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:168: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 | ///
:
166 |
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
169 | }
170 |
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:169: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 | ///
:
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
169 | }
+--- 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>(
+-------------------------------------------------------------------
170 |
macro expansion @ObservationTracked:45:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:57: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 | ///
:
55 | /// }
56 | /// ```
57 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ---------------------------
|43 | /// }
|44 | /// ```
|45 | @ObservationIgnored private var _relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
58 |
59 | /// Get air temperature readings from across Singapore.
macro expansion @ObservationTracked:45:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:103: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 | ///
:
101 | /// }
102 | /// ```
103 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ---------------------------
|43 | /// }
|44 | /// ```
|45 | @ObservationIgnored private var _airTemperature: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
104 |
105 | /// Get precipitation readings from across Singapore.
macro expansion @ObservationTracked:45:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:149: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 | ///
:
147 | /// }
148 | /// ```
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ---------------------------
|43 | /// }
|44 | /// ```
|45 | @ObservationIgnored private var _rainfall: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
150 |
151 | 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:151: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 | ///
:
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
150 |
151 | 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
+-------------------------------------------------------------------
152 |
153 | 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:153: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 | ///
:
151 | public var psi: SingaporeDataResult<EnvironmentData> = .none
152 |
153 | 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
+-------------------------------------------------------------------
154 |
155 | 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:155: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 | ///
:
153 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
154 |
155 | 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
+-------------------------------------------------------------------
156 |
157 | 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:157: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 | ///
:
155 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
156 |
157 | 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
+-------------------------------------------------------------------
158 |
159 | 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:159: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 | ///
:
157 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
158 |
159 | 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
+-------------------------------------------------------------------
160 |
161 | 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:161: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 | ///
:
159 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
160 |
161 | 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
+-------------------------------------------------------------------
162 |
163 | 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:163: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 | ///
:
161 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
162 |
163 | 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
+-------------------------------------------------------------------
164 |
165 | 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:165: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 | ///
:
163 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
164 |
165 | 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
+-------------------------------------------------------------------
166 |
167 | 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:167: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 | ///
:
165 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
166 |
167 | internal var dateOption: DateOption?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _dateOption: DateOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
168 | internal var momentOption: MomentOption?
169 | }
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:168: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 | ///
:
166 |
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _momentOption: MomentOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
169 | }
170 |
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:169: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 | ///
:
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
169 | }
+--- 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>(
+-------------------------------------------------------------------
170 |
/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 | ///
/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:57: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 | ///
:
55 | /// }
56 | /// ```
57 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
58 |
59 | /// Get air temperature readings from across Singapore.
/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 | ///
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:103: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 | ///
:
101 | /// }
102 | /// ```
103 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
104 |
105 | /// Get precipitation readings from 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:149: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 | ///
:
147 | /// }
148 | /// ```
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
150 |
151 | 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:151: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 | ///
:
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
150 |
151 | public var psi: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
152 |
153 | 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:153: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 | ///
:
151 | public var psi: SingaporeDataResult<EnvironmentData> = .none
152 |
153 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
154 |
155 | 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:155: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 | ///
:
153 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
154 |
155 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
156 |
157 | 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:157: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 | ///
:
155 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
156 |
157 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
158 |
159 | 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:159: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 | ///
:
157 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
158 |
159 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
160 |
161 | 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:161: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 | ///
:
159 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
160 |
161 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
162 |
163 | 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:163: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 | ///
:
161 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
162 |
163 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
164 |
165 | 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:165: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 | ///
:
163 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
164 |
165 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
166 |
167 | 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:167: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 | ///
:
165 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
166 |
167 | internal var dateOption: DateOption?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
168 | internal var momentOption: MomentOption?
169 | }
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:168: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 | ///
:
166 |
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
169 | }
170 |
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:169: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 | ///
:
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
169 | }
+--- 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>(
+-------------------------------------------------------------------
170 |
macro expansion @ObservationTracked:45:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:57: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 | ///
:
55 | /// }
56 | /// ```
57 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ---------------------------
|43 | /// }
|44 | /// ```
|45 | @ObservationIgnored private var _relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
58 |
59 | /// Get air temperature readings from across Singapore.
macro expansion @ObservationTracked:45:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:103: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 | ///
:
101 | /// }
102 | /// ```
103 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ---------------------------
|43 | /// }
|44 | /// ```
|45 | @ObservationIgnored private var _airTemperature: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
104 |
105 | /// Get precipitation readings from across Singapore.
macro expansion @ObservationTracked:45:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:149: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 | ///
:
147 | /// }
148 | /// ```
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ---------------------------
|43 | /// }
|44 | /// ```
|45 | @ObservationIgnored private var _rainfall: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
150 |
151 | 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:151: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 | ///
:
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
150 |
151 | 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
+-------------------------------------------------------------------
152 |
153 | 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:153: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 | ///
:
151 | public var psi: SingaporeDataResult<EnvironmentData> = .none
152 |
153 | 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
+-------------------------------------------------------------------
154 |
155 | 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:155: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 | ///
:
153 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
154 |
155 | 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
+-------------------------------------------------------------------
156 |
157 | 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:157: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 | ///
:
155 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
156 |
157 | 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
+-------------------------------------------------------------------
158 |
159 | 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:159: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 | ///
:
157 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
158 |
159 | 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
+-------------------------------------------------------------------
160 |
161 | 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:161: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 | ///
:
159 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
160 |
161 | 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
+-------------------------------------------------------------------
162 |
163 | 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:163: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 | ///
:
161 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
162 |
163 | 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
+-------------------------------------------------------------------
164 |
165 | 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:165: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 | ///
:
163 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
164 |
165 | 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
+-------------------------------------------------------------------
166 |
167 | 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:167: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 | ///
:
165 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
166 |
167 | internal var dateOption: DateOption?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _dateOption: DateOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
168 | internal var momentOption: MomentOption?
169 | }
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:168: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 | ///
:
166 |
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _momentOption: MomentOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
169 | }
170 |
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:169: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 | ///
:
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
169 | }
+--- 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>(
+-------------------------------------------------------------------
170 |
/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 | ///
/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:57: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 | ///
:
55 | /// }
56 | /// ```
57 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
58 |
59 | /// Get air temperature readings from across Singapore.
/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 | ///
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:103: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 | ///
:
101 | /// }
102 | /// ```
103 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
104 |
105 | /// Get precipitation readings from 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:149: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 | ///
:
147 | /// }
148 | /// ```
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
150 |
151 | 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:151: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 | ///
:
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
150 |
151 | public var psi: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
152 |
153 | 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:153: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 | ///
:
151 | public var psi: SingaporeDataResult<EnvironmentData> = .none
152 |
153 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
154 |
155 | 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:155: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 | ///
:
153 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
154 |
155 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
156 |
157 | 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:157: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 | ///
:
155 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
156 |
157 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
158 |
159 | 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:159: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 | ///
:
157 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
158 |
159 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
160 |
161 | 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:161: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 | ///
:
159 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
160 |
161 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
162 |
163 | 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:163: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 | ///
:
161 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
162 |
163 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
164 |
165 | 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:165: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 | ///
:
163 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
164 |
165 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
166 |
167 | 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:167: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 | ///
:
165 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
166 |
167 | internal var dateOption: DateOption?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
168 | internal var momentOption: MomentOption?
169 | }
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:168: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 | ///
:
166 |
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
169 | }
170 |
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:169: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 | ///
:
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
169 | }
+--- 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>(
+-------------------------------------------------------------------
170 |
macro expansion @ObservationTracked:45:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:57: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 | ///
:
55 | /// }
56 | /// ```
57 | public var relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ---------------------------
|43 | /// }
|44 | /// ```
|45 | @ObservationIgnored private var _relativeHumidity: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
58 |
59 | /// Get air temperature readings from across Singapore.
macro expansion @ObservationTracked:45:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:103: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 | ///
:
101 | /// }
102 | /// ```
103 | public var airTemperature: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ---------------------------
|43 | /// }
|44 | /// ```
|45 | @ObservationIgnored private var _airTemperature: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
104 |
105 | /// Get precipitation readings from across Singapore.
macro expansion @ObservationTracked:45:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SingaporeKit/Singapore Data/SingaporeData.swift:149: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 | ///
:
147 | /// }
148 | /// ```
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
+--- macro expansion @ObservationTracked ---------------------------
|43 | /// }
|44 | /// ```
|45 | @ObservationIgnored private var _rainfall: SingaporeDataResult<EnvironmentData> = .none
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
150 |
151 | 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:151: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 | ///
:
149 | public var rainfall: SingaporeDataResult<EnvironmentData> = .none
150 |
151 | 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
+-------------------------------------------------------------------
152 |
153 | 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:153: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 | ///
:
151 | public var psi: SingaporeDataResult<EnvironmentData> = .none
152 |
153 | 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
+-------------------------------------------------------------------
154 |
155 | 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:155: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 | ///
:
153 | public var uvIndex: SingaporeDataResult<EnvironmentData> = .none
154 |
155 | 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
+-------------------------------------------------------------------
156 |
157 | 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:157: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 | ///
:
155 | public var twentyFourHourWeather: SingaporeDataResult<[TwentyFourHourWeather.Record]> = .none
156 |
157 | 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
+-------------------------------------------------------------------
158 |
159 | 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:159: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 | ///
:
157 | public var twoHourWeather: SingaporeDataResult<[TwoHourForecast.Forecasts]> = .none
158 |
159 | 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
+-------------------------------------------------------------------
160 |
161 | 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:161: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 | ///
:
159 | public var fourDayForecast: SingaporeDataResult<FourDayForecast> = .none
160 |
161 | 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
+-------------------------------------------------------------------
162 |
163 | 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:163: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 | ///
:
161 | public var carparkAvailability: SingaporeDataResult<CarparkAvailability> = .none
162 |
163 | 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
+-------------------------------------------------------------------
164 |
165 | 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:165: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 | ///
:
163 | public var trafficImages: SingaporeDataResult<TrafficImages> = .none
164 |
165 | 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
+-------------------------------------------------------------------
166 |
167 | 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:167: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 | ///
:
165 | public var availableTaxis: SingaporeDataResult<AvailableTaxis> = .none
166 |
167 | internal var dateOption: DateOption?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _dateOption: DateOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
168 | internal var momentOption: MomentOption?
169 | }
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:168: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 | ///
:
166 |
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _momentOption: MomentOption?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
169 | }
170 |
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:169: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 | ///
:
167 | internal var dateOption: DateOption?
168 | internal var momentOption: MomentOption?
169 | }
+--- 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>(
+-------------------------------------------------------------------
170 |
/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 | ///
/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