Build Information
Successful build of FitDataProtocol, reference 2.1.6 (b93ef5
), with Swift 6.0 for Linux on 29 Nov 2024 12:18:52 UTC.
Swift 6 data race errors: 191
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
| |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /// Erase
37 | public static let erase: FitFileFlag = FitFileFlag(rawValue: 0x08)
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FitFileFlag.swift:37:23: warning: static property 'erase' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Flags
28 | public struct FitFileFlag: OptionSet {
| `- note: consider making struct 'FitFileFlag' conform to the 'Sendable' protocol
29 | public let rawValue: UInt8
30 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
35 | public static let write: FitFileFlag = FitFileFlag(rawValue: 0x04)
36 | /// Erase
37 | public static let erase: FitFileFlag = FitFileFlag(rawValue: 0x08)
| |- warning: static property 'erase' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'erase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[212/238] Compiling FitDataProtocol GarminProduct.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:92:16: warning: static property 'nonFitFile' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
90 |
91 | /// Non FIT File
92 | static let nonFitFile = FileType(rawValue: 0)
| |- warning: static property 'nonFitFile' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nonFitFile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// Device - Read only, single File
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:100:16: warning: static property 'device' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
98 | /// a device supports, and restrictions/capabilities (if applicable) of the messages
99 | /// and fields contained within each file type.
100 | static let device = FileType(rawValue: 1)
| |- warning: static property 'device' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'device' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | /// Settings - Read/Write, single File
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:109:16: warning: static property 'settings' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
107 | /// information about the user, bicycle, sensors that a device may pair to, and user
108 | /// interface preferences.
109 | static let settings = FileType(rawValue: 2)
| |- warning: static property 'settings' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'settings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// Sport - Read/write, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:116:16: warning: static property 'sport' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
114 | /// The records provide details on the types of zones supported (such as heart rate or power),
115 | /// and the desired target levels. The sports settings file allows these values to be grouped by sport.
116 | static let sport = FileType(rawValue: 3)
| |- warning: static property 'sport' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sport' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 | /// Activity - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:133:16: warning: static property 'course' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
131 | /// A course file contains data from a recorded activity that can be transferred to a display
132 | /// device to guide a user through the same activity.
133 | static let course = FileType(rawValue: 6)
| |- warning: static property 'course' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'course' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | /// Schedules - Read/write, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:139:16: warning: static property 'schedules' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
137 | /// Schedule files are used to schedule a user’s workouts and may contain multiple schedule
138 | /// messages each representing the start time of a workout.
139 | static let schedules = FileType(rawValue: 7)
| |- warning: static property 'schedules' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'schedules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 |
141 | /// Weight - Read, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:149:16: warning: static property 'weight' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
147 | /// messages have been recorded. To link multiple data messages in a weight file, they must
148 | /// have identical timestamps.
149 | static let weight = FileType(rawValue: 9)
| |- warning: static property 'weight' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'weight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | /// Totals - Read, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:155:16: warning: static property 'totals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
153 | /// Totals files are used to summarize a user’s activities and may contain multiple totals
154 | /// messages each representing summaries of a different activity type/sport.
155 | static let totals = FileType(rawValue: 10)
| |- warning: static property 'totals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'totals' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | /// Goals - Read/write, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:162:16: warning: static property 'goals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
160 | /// a variety of activities, over specific periods of time, and with desired targets set according
161 | /// to total duration, calories consumed, distance travelled, number of steps taken and/or frequency of activity.
162 | static let goals = FileType(rawValue: 11)
| |- warning: static property 'goals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'goals' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | /// Blood Pressure - Read
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:165:16: warning: static property 'bloodPressure' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
163 |
164 | /// Blood Pressure - Read
165 | static let bloodPressure = FileType(rawValue: 14)
| |- warning: static property 'bloodPressure' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bloodPressure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |
167 | /// Monitoring A - Read
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:168:16: warning: static property 'monitoringA' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
166 |
167 | /// Monitoring A - Read
168 | static let monitoringA = FileType(rawValue: 15)
| |- warning: static property 'monitoringA' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monitoringA' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |
170 | /// Activity Summary - Read/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:173:16: warning: static property 'activitySummary' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
171 | ///
172 | /// Activity summary files are a compact version of the activity file.
173 | static let activitySummary = FileType(rawValue: 20)
| |- warning: static property 'activitySummary' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activitySummary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// Monitoring Daily
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:176:16: warning: static property 'monitoringDaily' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
174 |
175 | /// Monitoring Daily
176 | static let monitoringDaily = FileType(rawValue: 28)
| |- warning: static property 'monitoringDaily' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monitoringDaily' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 | /// Monitoring B - Read
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:179:16: warning: static property 'monitoringB' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
177 |
178 | /// Monitoring B - Read
179 | static let monitoringB = FileType(rawValue: 32)
| |- warning: static property 'monitoringB' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monitoringB' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |
181 | /// Segment - Read/write/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:185:16: warning: static property 'segment' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
183 | /// Segment files contain data defining a route and timing information to gauge progress
184 | /// against previous performances or other users.
185 | static let segment = FileType(rawValue: 34)
| |- warning: static property 'segment' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'segment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Segment List - Read/write/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:190:16: warning: static property 'segmentList' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
188 | ///
189 | /// Segment List files maintain a list of available segments on the device.
190 | static let segmentList = FileType(rawValue: 35)
| |- warning: static property 'segmentList' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'segmentList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 |
192 | /// Extd Configuration - Read/write/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:193:16: warning: static property 'extdConfiguration' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
191 |
192 | /// Extd Configuration - Read/write/erase
193 | static let extdConfiguration = FileType(rawValue: 40)
| |- warning: static property 'extdConfiguration' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extdConfiguration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 |
195 | /// Invalid
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:196:16: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
194 |
195 | /// Invalid
196 | static let invalid = FileType(rawValue: 255)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | }
198 |
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FitFileFlag.swift:33:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Flags
28 | public struct FitFileFlag: OptionSet {
| `- note: consider making struct 'FitFileFlag' conform to the 'Sendable' protocol
29 | public let rawValue: UInt8
30 | public init(rawValue: UInt8) { self.rawValue = rawValue }
31 |
32 | /// Read
33 | public static let read: FitFileFlag = FitFileFlag(rawValue: 0x02)
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Write
35 | public static let write: FitFileFlag = FitFileFlag(rawValue: 0x04)
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FitFileFlag.swift:35:23: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Flags
28 | public struct FitFileFlag: OptionSet {
| `- note: consider making struct 'FitFileFlag' conform to the 'Sendable' protocol
29 | public let rawValue: UInt8
30 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
33 | public static let read: FitFileFlag = FitFileFlag(rawValue: 0x02)
34 | /// Write
35 | public static let write: FitFileFlag = FitFileFlag(rawValue: 0x04)
| |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /// Erase
37 | public static let erase: FitFileFlag = FitFileFlag(rawValue: 0x08)
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FitFileFlag.swift:37:23: warning: static property 'erase' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Flags
28 | public struct FitFileFlag: OptionSet {
| `- note: consider making struct 'FitFileFlag' conform to the 'Sendable' protocol
29 | public let rawValue: UInt8
30 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
35 | public static let write: FitFileFlag = FitFileFlag(rawValue: 0x04)
36 | /// Erase
37 | public static let erase: FitFileFlag = FitFileFlag(rawValue: 0x08)
| |- warning: static property 'erase' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'erase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[213/238] Compiling FitDataProtocol GoalType.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:92:16: warning: static property 'nonFitFile' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
90 |
91 | /// Non FIT File
92 | static let nonFitFile = FileType(rawValue: 0)
| |- warning: static property 'nonFitFile' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nonFitFile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// Device - Read only, single File
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:100:16: warning: static property 'device' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
98 | /// a device supports, and restrictions/capabilities (if applicable) of the messages
99 | /// and fields contained within each file type.
100 | static let device = FileType(rawValue: 1)
| |- warning: static property 'device' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'device' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | /// Settings - Read/Write, single File
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:109:16: warning: static property 'settings' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
107 | /// information about the user, bicycle, sensors that a device may pair to, and user
108 | /// interface preferences.
109 | static let settings = FileType(rawValue: 2)
| |- warning: static property 'settings' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'settings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// Sport - Read/write, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:116:16: warning: static property 'sport' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
114 | /// The records provide details on the types of zones supported (such as heart rate or power),
115 | /// and the desired target levels. The sports settings file allows these values to be grouped by sport.
116 | static let sport = FileType(rawValue: 3)
| |- warning: static property 'sport' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sport' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 | /// Activity - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:133:16: warning: static property 'course' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
131 | /// A course file contains data from a recorded activity that can be transferred to a display
132 | /// device to guide a user through the same activity.
133 | static let course = FileType(rawValue: 6)
| |- warning: static property 'course' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'course' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | /// Schedules - Read/write, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:139:16: warning: static property 'schedules' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
137 | /// Schedule files are used to schedule a user’s workouts and may contain multiple schedule
138 | /// messages each representing the start time of a workout.
139 | static let schedules = FileType(rawValue: 7)
| |- warning: static property 'schedules' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'schedules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 |
141 | /// Weight - Read, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:149:16: warning: static property 'weight' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
147 | /// messages have been recorded. To link multiple data messages in a weight file, they must
148 | /// have identical timestamps.
149 | static let weight = FileType(rawValue: 9)
| |- warning: static property 'weight' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'weight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | /// Totals - Read, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:155:16: warning: static property 'totals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
153 | /// Totals files are used to summarize a user’s activities and may contain multiple totals
154 | /// messages each representing summaries of a different activity type/sport.
155 | static let totals = FileType(rawValue: 10)
| |- warning: static property 'totals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'totals' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | /// Goals - Read/write, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:162:16: warning: static property 'goals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
160 | /// a variety of activities, over specific periods of time, and with desired targets set according
161 | /// to total duration, calories consumed, distance travelled, number of steps taken and/or frequency of activity.
162 | static let goals = FileType(rawValue: 11)
| |- warning: static property 'goals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'goals' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | /// Blood Pressure - Read
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:165:16: warning: static property 'bloodPressure' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
163 |
164 | /// Blood Pressure - Read
165 | static let bloodPressure = FileType(rawValue: 14)
| |- warning: static property 'bloodPressure' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bloodPressure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |
167 | /// Monitoring A - Read
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:168:16: warning: static property 'monitoringA' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
166 |
167 | /// Monitoring A - Read
168 | static let monitoringA = FileType(rawValue: 15)
| |- warning: static property 'monitoringA' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monitoringA' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |
170 | /// Activity Summary - Read/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:173:16: warning: static property 'activitySummary' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
171 | ///
172 | /// Activity summary files are a compact version of the activity file.
173 | static let activitySummary = FileType(rawValue: 20)
| |- warning: static property 'activitySummary' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activitySummary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// Monitoring Daily
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:176:16: warning: static property 'monitoringDaily' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
174 |
175 | /// Monitoring Daily
176 | static let monitoringDaily = FileType(rawValue: 28)
| |- warning: static property 'monitoringDaily' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monitoringDaily' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 | /// Monitoring B - Read
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:179:16: warning: static property 'monitoringB' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
177 |
178 | /// Monitoring B - Read
179 | static let monitoringB = FileType(rawValue: 32)
| |- warning: static property 'monitoringB' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monitoringB' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |
181 | /// Segment - Read/write/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:185:16: warning: static property 'segment' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
183 | /// Segment files contain data defining a route and timing information to gauge progress
184 | /// against previous performances or other users.
185 | static let segment = FileType(rawValue: 34)
| |- warning: static property 'segment' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'segment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Segment List - Read/write/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:190:16: warning: static property 'segmentList' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
188 | ///
189 | /// Segment List files maintain a list of available segments on the device.
190 | static let segmentList = FileType(rawValue: 35)
| |- warning: static property 'segmentList' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'segmentList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 |
192 | /// Extd Configuration - Read/write/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:193:16: warning: static property 'extdConfiguration' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
191 |
192 | /// Extd Configuration - Read/write/erase
193 | static let extdConfiguration = FileType(rawValue: 40)
| |- warning: static property 'extdConfiguration' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extdConfiguration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 |
195 | /// Invalid
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:196:16: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
194 |
195 | /// Invalid
196 | static let invalid = FileType(rawValue: 255)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | }
198 |
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FitFileFlag.swift:33:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Flags
28 | public struct FitFileFlag: OptionSet {
| `- note: consider making struct 'FitFileFlag' conform to the 'Sendable' protocol
29 | public let rawValue: UInt8
30 | public init(rawValue: UInt8) { self.rawValue = rawValue }
31 |
32 | /// Read
33 | public static let read: FitFileFlag = FitFileFlag(rawValue: 0x02)
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Write
35 | public static let write: FitFileFlag = FitFileFlag(rawValue: 0x04)
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FitFileFlag.swift:35:23: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Flags
28 | public struct FitFileFlag: OptionSet {
| `- note: consider making struct 'FitFileFlag' conform to the 'Sendable' protocol
29 | public let rawValue: UInt8
30 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
33 | public static let read: FitFileFlag = FitFileFlag(rawValue: 0x02)
34 | /// Write
35 | public static let write: FitFileFlag = FitFileFlag(rawValue: 0x04)
| |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /// Erase
37 | public static let erase: FitFileFlag = FitFileFlag(rawValue: 0x08)
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FitFileFlag.swift:37:23: warning: static property 'erase' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Flags
28 | public struct FitFileFlag: OptionSet {
| `- note: consider making struct 'FitFileFlag' conform to the 'Sendable' protocol
29 | public let rawValue: UInt8
30 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
35 | public static let write: FitFileFlag = FitFileFlag(rawValue: 0x04)
36 | /// Erase
37 | public static let erase: FitFileFlag = FitFileFlag(rawValue: 0x08)
| |- warning: static property 'erase' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'erase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[214/238] Compiling FitDataProtocol HeartrateType.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:92:16: warning: static property 'nonFitFile' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
90 |
91 | /// Non FIT File
92 | static let nonFitFile = FileType(rawValue: 0)
| |- warning: static property 'nonFitFile' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nonFitFile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// Device - Read only, single File
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:100:16: warning: static property 'device' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
98 | /// a device supports, and restrictions/capabilities (if applicable) of the messages
99 | /// and fields contained within each file type.
100 | static let device = FileType(rawValue: 1)
| |- warning: static property 'device' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'device' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | /// Settings - Read/Write, single File
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:109:16: warning: static property 'settings' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
107 | /// information about the user, bicycle, sensors that a device may pair to, and user
108 | /// interface preferences.
109 | static let settings = FileType(rawValue: 2)
| |- warning: static property 'settings' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'settings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// Sport - Read/write, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:116:16: warning: static property 'sport' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
114 | /// The records provide details on the types of zones supported (such as heart rate or power),
115 | /// and the desired target levels. The sports settings file allows these values to be grouped by sport.
116 | static let sport = FileType(rawValue: 3)
| |- warning: static property 'sport' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sport' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 | /// Activity - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:133:16: warning: static property 'course' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
131 | /// A course file contains data from a recorded activity that can be transferred to a display
132 | /// device to guide a user through the same activity.
133 | static let course = FileType(rawValue: 6)
| |- warning: static property 'course' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'course' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | /// Schedules - Read/write, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:139:16: warning: static property 'schedules' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
137 | /// Schedule files are used to schedule a user’s workouts and may contain multiple schedule
138 | /// messages each representing the start time of a workout.
139 | static let schedules = FileType(rawValue: 7)
| |- warning: static property 'schedules' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'schedules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 |
141 | /// Weight - Read, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:149:16: warning: static property 'weight' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
147 | /// messages have been recorded. To link multiple data messages in a weight file, they must
148 | /// have identical timestamps.
149 | static let weight = FileType(rawValue: 9)
| |- warning: static property 'weight' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'weight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | /// Totals - Read, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:155:16: warning: static property 'totals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
153 | /// Totals files are used to summarize a user’s activities and may contain multiple totals
154 | /// messages each representing summaries of a different activity type/sport.
155 | static let totals = FileType(rawValue: 10)
| |- warning: static property 'totals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'totals' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | /// Goals - Read/write, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:162:16: warning: static property 'goals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
160 | /// a variety of activities, over specific periods of time, and with desired targets set according
161 | /// to total duration, calories consumed, distance travelled, number of steps taken and/or frequency of activity.
162 | static let goals = FileType(rawValue: 11)
| |- warning: static property 'goals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'goals' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | /// Blood Pressure - Read
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:165:16: warning: static property 'bloodPressure' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
163 |
164 | /// Blood Pressure - Read
165 | static let bloodPressure = FileType(rawValue: 14)
| |- warning: static property 'bloodPressure' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bloodPressure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |
167 | /// Monitoring A - Read
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:168:16: warning: static property 'monitoringA' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
166 |
167 | /// Monitoring A - Read
168 | static let monitoringA = FileType(rawValue: 15)
| |- warning: static property 'monitoringA' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monitoringA' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |
170 | /// Activity Summary - Read/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:173:16: warning: static property 'activitySummary' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
171 | ///
172 | /// Activity summary files are a compact version of the activity file.
173 | static let activitySummary = FileType(rawValue: 20)
| |- warning: static property 'activitySummary' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activitySummary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// Monitoring Daily
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:176:16: warning: static property 'monitoringDaily' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
174 |
175 | /// Monitoring Daily
176 | static let monitoringDaily = FileType(rawValue: 28)
| |- warning: static property 'monitoringDaily' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monitoringDaily' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 | /// Monitoring B - Read
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:179:16: warning: static property 'monitoringB' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
177 |
178 | /// Monitoring B - Read
179 | static let monitoringB = FileType(rawValue: 32)
| |- warning: static property 'monitoringB' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monitoringB' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |
181 | /// Segment - Read/write/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:185:16: warning: static property 'segment' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
183 | /// Segment files contain data defining a route and timing information to gauge progress
184 | /// against previous performances or other users.
185 | static let segment = FileType(rawValue: 34)
| |- warning: static property 'segment' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'segment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Segment List - Read/write/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:190:16: warning: static property 'segmentList' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
188 | ///
189 | /// Segment List files maintain a list of available segments on the device.
190 | static let segmentList = FileType(rawValue: 35)
| |- warning: static property 'segmentList' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'segmentList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 |
192 | /// Extd Configuration - Read/write/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:193:16: warning: static property 'extdConfiguration' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
191 |
192 | /// Extd Configuration - Read/write/erase
193 | static let extdConfiguration = FileType(rawValue: 40)
| |- warning: static property 'extdConfiguration' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extdConfiguration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 |
195 | /// Invalid
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:196:16: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
194 |
195 | /// Invalid
196 | static let invalid = FileType(rawValue: 255)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | }
198 |
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FitFileFlag.swift:33:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Flags
28 | public struct FitFileFlag: OptionSet {
| `- note: consider making struct 'FitFileFlag' conform to the 'Sendable' protocol
29 | public let rawValue: UInt8
30 | public init(rawValue: UInt8) { self.rawValue = rawValue }
31 |
32 | /// Read
33 | public static let read: FitFileFlag = FitFileFlag(rawValue: 0x02)
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Write
35 | public static let write: FitFileFlag = FitFileFlag(rawValue: 0x04)
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FitFileFlag.swift:35:23: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Flags
28 | public struct FitFileFlag: OptionSet {
| `- note: consider making struct 'FitFileFlag' conform to the 'Sendable' protocol
29 | public let rawValue: UInt8
30 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
33 | public static let read: FitFileFlag = FitFileFlag(rawValue: 0x02)
34 | /// Write
35 | public static let write: FitFileFlag = FitFileFlag(rawValue: 0x04)
| |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /// Erase
37 | public static let erase: FitFileFlag = FitFileFlag(rawValue: 0x08)
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FitFileFlag.swift:37:23: warning: static property 'erase' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Flags
28 | public struct FitFileFlag: OptionSet {
| `- note: consider making struct 'FitFileFlag' conform to the 'Sendable' protocol
29 | public let rawValue: UInt8
30 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
35 | public static let write: FitFileFlag = FitFileFlag(rawValue: 0x04)
36 | /// Erase
37 | public static let erase: FitFileFlag = FitFileFlag(rawValue: 0x08)
| |- warning: static property 'erase' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'erase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[215/238] Compiling FitDataProtocol HemoglobinPercent.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:92:16: warning: static property 'nonFitFile' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
90 |
91 | /// Non FIT File
92 | static let nonFitFile = FileType(rawValue: 0)
| |- warning: static property 'nonFitFile' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nonFitFile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// Device - Read only, single File
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:100:16: warning: static property 'device' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
98 | /// a device supports, and restrictions/capabilities (if applicable) of the messages
99 | /// and fields contained within each file type.
100 | static let device = FileType(rawValue: 1)
| |- warning: static property 'device' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'device' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | /// Settings - Read/Write, single File
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:109:16: warning: static property 'settings' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
107 | /// information about the user, bicycle, sensors that a device may pair to, and user
108 | /// interface preferences.
109 | static let settings = FileType(rawValue: 2)
| |- warning: static property 'settings' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'settings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// Sport - Read/write, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:116:16: warning: static property 'sport' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
114 | /// The records provide details on the types of zones supported (such as heart rate or power),
115 | /// and the desired target levels. The sports settings file allows these values to be grouped by sport.
116 | static let sport = FileType(rawValue: 3)
| |- warning: static property 'sport' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sport' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 | /// Activity - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:133:16: warning: static property 'course' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
131 | /// A course file contains data from a recorded activity that can be transferred to a display
132 | /// device to guide a user through the same activity.
133 | static let course = FileType(rawValue: 6)
| |- warning: static property 'course' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'course' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | /// Schedules - Read/write, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:139:16: warning: static property 'schedules' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
137 | /// Schedule files are used to schedule a user’s workouts and may contain multiple schedule
138 | /// messages each representing the start time of a workout.
139 | static let schedules = FileType(rawValue: 7)
| |- warning: static property 'schedules' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'schedules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 |
141 | /// Weight - Read, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:149:16: warning: static property 'weight' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
147 | /// messages have been recorded. To link multiple data messages in a weight file, they must
148 | /// have identical timestamps.
149 | static let weight = FileType(rawValue: 9)
| |- warning: static property 'weight' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'weight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | /// Totals - Read, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:155:16: warning: static property 'totals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
153 | /// Totals files are used to summarize a user’s activities and may contain multiple totals
154 | /// messages each representing summaries of a different activity type/sport.
155 | static let totals = FileType(rawValue: 10)
| |- warning: static property 'totals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'totals' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | /// Goals - Read/write, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:162:16: warning: static property 'goals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
160 | /// a variety of activities, over specific periods of time, and with desired targets set according
161 | /// to total duration, calories consumed, distance travelled, number of steps taken and/or frequency of activity.
162 | static let goals = FileType(rawValue: 11)
| |- warning: static property 'goals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'goals' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | /// Blood Pressure - Read
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:165:16: warning: static property 'bloodPressure' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
163 |
164 | /// Blood Pressure - Read
165 | static let bloodPressure = FileType(rawValue: 14)
| |- warning: static property 'bloodPressure' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bloodPressure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |
167 | /// Monitoring A - Read
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:168:16: warning: static property 'monitoringA' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
166 |
167 | /// Monitoring A - Read
168 | static let monitoringA = FileType(rawValue: 15)
| |- warning: static property 'monitoringA' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monitoringA' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |
170 | /// Activity Summary - Read/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:173:16: warning: static property 'activitySummary' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
171 | ///
172 | /// Activity summary files are a compact version of the activity file.
173 | static let activitySummary = FileType(rawValue: 20)
| |- warning: static property 'activitySummary' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activitySummary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// Monitoring Daily
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:176:16: warning: static property 'monitoringDaily' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
174 |
175 | /// Monitoring Daily
176 | static let monitoringDaily = FileType(rawValue: 28)
| |- warning: static property 'monitoringDaily' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monitoringDaily' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 | /// Monitoring B - Read
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:179:16: warning: static property 'monitoringB' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
177 |
178 | /// Monitoring B - Read
179 | static let monitoringB = FileType(rawValue: 32)
| |- warning: static property 'monitoringB' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monitoringB' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |
181 | /// Segment - Read/write/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:185:16: warning: static property 'segment' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
183 | /// Segment files contain data defining a route and timing information to gauge progress
184 | /// against previous performances or other users.
185 | static let segment = FileType(rawValue: 34)
| |- warning: static property 'segment' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'segment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Segment List - Read/write/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:190:16: warning: static property 'segmentList' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
188 | ///
189 | /// Segment List files maintain a list of available segments on the device.
190 | static let segmentList = FileType(rawValue: 35)
| |- warning: static property 'segmentList' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'segmentList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 |
192 | /// Extd Configuration - Read/write/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:193:16: warning: static property 'extdConfiguration' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
191 |
192 | /// Extd Configuration - Read/write/erase
193 | static let extdConfiguration = FileType(rawValue: 40)
| |- warning: static property 'extdConfiguration' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extdConfiguration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 |
195 | /// Invalid
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:196:16: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
194 |
195 | /// Invalid
196 | static let invalid = FileType(rawValue: 255)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | }
198 |
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FitFileFlag.swift:33:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Flags
28 | public struct FitFileFlag: OptionSet {
| `- note: consider making struct 'FitFileFlag' conform to the 'Sendable' protocol
29 | public let rawValue: UInt8
30 | public init(rawValue: UInt8) { self.rawValue = rawValue }
31 |
32 | /// Read
33 | public static let read: FitFileFlag = FitFileFlag(rawValue: 0x02)
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Write
35 | public static let write: FitFileFlag = FitFileFlag(rawValue: 0x04)
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FitFileFlag.swift:35:23: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Flags
28 | public struct FitFileFlag: OptionSet {
| `- note: consider making struct 'FitFileFlag' conform to the 'Sendable' protocol
29 | public let rawValue: UInt8
30 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
33 | public static let read: FitFileFlag = FitFileFlag(rawValue: 0x02)
34 | /// Write
35 | public static let write: FitFileFlag = FitFileFlag(rawValue: 0x04)
| |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /// Erase
37 | public static let erase: FitFileFlag = FitFileFlag(rawValue: 0x08)
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FitFileFlag.swift:37:23: warning: static property 'erase' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Flags
28 | public struct FitFileFlag: OptionSet {
| `- note: consider making struct 'FitFileFlag' conform to the 'Sendable' protocol
29 | public let rawValue: UInt8
30 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
35 | public static let write: FitFileFlag = FitFileFlag(rawValue: 0x04)
36 | /// Erase
37 | public static let erase: FitFileFlag = FitFileFlag(rawValue: 0x08)
| |- warning: static property 'erase' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'erase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[216/238] Compiling FitDataProtocol Intensity.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:92:16: warning: static property 'nonFitFile' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
90 |
91 | /// Non FIT File
92 | static let nonFitFile = FileType(rawValue: 0)
| |- warning: static property 'nonFitFile' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nonFitFile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// Device - Read only, single File
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:100:16: warning: static property 'device' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
98 | /// a device supports, and restrictions/capabilities (if applicable) of the messages
99 | /// and fields contained within each file type.
100 | static let device = FileType(rawValue: 1)
| |- warning: static property 'device' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'device' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | /// Settings - Read/Write, single File
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:109:16: warning: static property 'settings' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
107 | /// information about the user, bicycle, sensors that a device may pair to, and user
108 | /// interface preferences.
109 | static let settings = FileType(rawValue: 2)
| |- warning: static property 'settings' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'settings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// Sport - Read/write, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:116:16: warning: static property 'sport' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
114 | /// The records provide details on the types of zones supported (such as heart rate or power),
115 | /// and the desired target levels. The sports settings file allows these values to be grouped by sport.
116 | static let sport = FileType(rawValue: 3)
| |- warning: static property 'sport' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sport' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 | /// Activity - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:133:16: warning: static property 'course' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
131 | /// A course file contains data from a recorded activity that can be transferred to a display
132 | /// device to guide a user through the same activity.
133 | static let course = FileType(rawValue: 6)
| |- warning: static property 'course' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'course' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | /// Schedules - Read/write, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:139:16: warning: static property 'schedules' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
137 | /// Schedule files are used to schedule a user’s workouts and may contain multiple schedule
138 | /// messages each representing the start time of a workout.
139 | static let schedules = FileType(rawValue: 7)
| |- warning: static property 'schedules' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'schedules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 |
141 | /// Weight - Read, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:149:16: warning: static property 'weight' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
147 | /// messages have been recorded. To link multiple data messages in a weight file, they must
148 | /// have identical timestamps.
149 | static let weight = FileType(rawValue: 9)
| |- warning: static property 'weight' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'weight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | /// Totals - Read, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:155:16: warning: static property 'totals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
153 | /// Totals files are used to summarize a user’s activities and may contain multiple totals
154 | /// messages each representing summaries of a different activity type/sport.
155 | static let totals = FileType(rawValue: 10)
| |- warning: static property 'totals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'totals' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | /// Goals - Read/write, single file
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:162:16: warning: static property 'goals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
160 | /// a variety of activities, over specific periods of time, and with desired targets set according
161 | /// to total duration, calories consumed, distance travelled, number of steps taken and/or frequency of activity.
162 | static let goals = FileType(rawValue: 11)
| |- warning: static property 'goals' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'goals' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | /// Blood Pressure - Read
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:165:16: warning: static property 'bloodPressure' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
163 |
164 | /// Blood Pressure - Read
165 | static let bloodPressure = FileType(rawValue: 14)
| |- warning: static property 'bloodPressure' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bloodPressure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |
167 | /// Monitoring A - Read
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:168:16: warning: static property 'monitoringA' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
166 |
167 | /// Monitoring A - Read
168 | static let monitoringA = FileType(rawValue: 15)
| |- warning: static property 'monitoringA' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monitoringA' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |
170 | /// Activity Summary - Read/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:173:16: warning: static property 'activitySummary' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
171 | ///
172 | /// Activity summary files are a compact version of the activity file.
173 | static let activitySummary = FileType(rawValue: 20)
| |- warning: static property 'activitySummary' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activitySummary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// Monitoring Daily
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:176:16: warning: static property 'monitoringDaily' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
174 |
175 | /// Monitoring Daily
176 | static let monitoringDaily = FileType(rawValue: 28)
| |- warning: static property 'monitoringDaily' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monitoringDaily' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 | /// Monitoring B - Read
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:179:16: warning: static property 'monitoringB' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
177 |
178 | /// Monitoring B - Read
179 | static let monitoringB = FileType(rawValue: 32)
| |- warning: static property 'monitoringB' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monitoringB' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |
181 | /// Segment - Read/write/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:185:16: warning: static property 'segment' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
183 | /// Segment files contain data defining a route and timing information to gauge progress
184 | /// against previous performances or other users.
185 | static let segment = FileType(rawValue: 34)
| |- warning: static property 'segment' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'segment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// Segment List - Read/write/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:190:16: warning: static property 'segmentList' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
188 | ///
189 | /// Segment List files maintain a list of available segments on the device.
190 | static let segmentList = FileType(rawValue: 35)
| |- warning: static property 'segmentList' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'segmentList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 |
192 | /// Extd Configuration - Read/write/erase
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:193:16: warning: static property 'extdConfiguration' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
191 |
192 | /// Extd Configuration - Read/write/erase
193 | static let extdConfiguration = FileType(rawValue: 40)
| |- warning: static property 'extdConfiguration' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extdConfiguration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 |
195 | /// Invalid
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:196:16: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
194 |
195 | /// Invalid
196 | static let invalid = FileType(rawValue: 255)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | }
198 |
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FitFileFlag.swift:33:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Flags
28 | public struct FitFileFlag: OptionSet {
| `- note: consider making struct 'FitFileFlag' conform to the 'Sendable' protocol
29 | public let rawValue: UInt8
30 | public init(rawValue: UInt8) { self.rawValue = rawValue }
31 |
32 | /// Read
33 | public static let read: FitFileFlag = FitFileFlag(rawValue: 0x02)
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Write
35 | public static let write: FitFileFlag = FitFileFlag(rawValue: 0x04)
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FitFileFlag.swift:35:23: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Flags
28 | public struct FitFileFlag: OptionSet {
| `- note: consider making struct 'FitFileFlag' conform to the 'Sendable' protocol
29 | public let rawValue: UInt8
30 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
33 | public static let read: FitFileFlag = FitFileFlag(rawValue: 0x02)
34 | /// Write
35 | public static let write: FitFileFlag = FitFileFlag(rawValue: 0x04)
| |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /// Erase
37 | public static let erase: FitFileFlag = FitFileFlag(rawValue: 0x08)
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FitFileFlag.swift:37:23: warning: static property 'erase' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Flags
28 | public struct FitFileFlag: OptionSet {
| `- note: consider making struct 'FitFileFlag' conform to the 'Sendable' protocol
29 | public let rawValue: UInt8
30 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
35 | public static let write: FitFileFlag = FitFileFlag(rawValue: 0x04)
36 | /// Erase
37 | public static let erase: FitFileFlag = FitFileFlag(rawValue: 0x08)
| |- warning: static property 'erase' is not concurrency-safe because non-'Sendable' type 'FitFileFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'erase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[217/238] Compiling FitDataProtocol PowerZoneMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[218/238] Compiling FitDataProtocol RecordMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[219/238] Compiling FitDataProtocol ScheduleMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[220/238] Compiling FitDataProtocol SegmentLeaderboardEntryMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[221/238] Compiling FitDataProtocol SegmentPointMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[222/238] Compiling FitDataProtocol SessionMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[223/238] Compiling FitDataProtocol SetMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[224/238] Compiling FitDataProtocol SlaveDeviceMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[225/238] Compiling FitDataProtocol SoftwareMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[226/238] Compiling FitDataProtocol SpeedZoneMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[227/238] Compiling FitDataProtocol SportMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[228/238] Compiling FitDataProtocol StressLevelMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[229/238] Compiling FitDataProtocol StrideSpeedDistanceMonitorProfileMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[230/238] Compiling FitDataProtocol TotalsMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[231/238] Compiling FitDataProtocol UserProfileMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[232/238] Compiling FitDataProtocol VideoMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[233/238] Compiling FitDataProtocol WatchfaceSettingsMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[234/238] Compiling FitDataProtocol WeatherAlertMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[235/238] Compiling FitDataProtocol WeatherConditionsMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[236/238] Compiling FitDataProtocol WeightScaleMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[237/238] Compiling FitDataProtocol WorkoutMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
[238/238] Compiling FitDataProtocol WorkoutSessionMessage.swift
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:121:16: warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
119 | ///
120 | /// Activity files are used to record sensor data and events from an active session
121 | static let activity = FileType(rawValue: 4)
| |- warning: static property 'activity' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'activity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Workout - Read/write/erase, multiple files
/host/spi-builder-workspace/Sources/FitDataProtocol/Types/FileType.swift:127:16: warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// FIT File Type
28 | public struct FileType {
| `- note: consider making struct 'FileType' conform to the 'Sendable' protocol
29 |
30 | /// Raw Value for File Type
:
125 | /// A workout file describes a structured activity and guides a user through the activity.
126 | /// It can be designed on a computer and transferred to a display device or generated on the device itself.
127 | static let workout = FileType(rawValue: 5)
| |- warning: static property 'workout' is not concurrency-safe because non-'Sendable' type 'FileType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Course - Read/write/erase, multiple files
Build complete! (31.08s)
Build complete.
{
"dependencies" : [
{
"identity" : "fitnessunits",
"requirement" : {
"range" : [
{
"lower_bound" : "3.1.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/FitnessKit/FitnessUnits"
},
{
"identity" : "datadecoder",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/FitnessKit/DataDecoder"
},
{
"identity" : "antmessageprotocol",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/FitnessKit/AntMessageProtocol"
}
],
"manifest_display_name" : "FitDataProtocol",
"name" : "FitDataProtocol",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "FitDataProtocol",
"targets" : [
"FitDataProtocol"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FitDataProtocolTests",
"module_type" : "SwiftTarget",
"name" : "FitDataProtocolTests",
"path" : "Tests/FitDataProtocolTests",
"sources" : [
"ExerciseNameTests.swift",
"FitDataProtocolTests.swift",
"FitMessageTests.swift",
"ResolutionTest.swift",
"StringExtensionsTests.swift"
],
"target_dependencies" : [
"FitDataProtocol"
],
"type" : "test"
},
{
"c99name" : "FitDataProtocol",
"module_type" : "SwiftTarget",
"name" : "FitDataProtocol",
"path" : "Sources/FitDataProtocol",
"product_dependencies" : [
"FitnessUnits",
"DataDecoder",
"AntMessageProtocol"
],
"product_memberships" : [
"FitDataProtocol"
],
"sources" : [
"Decoder/FitFileDecoder.swift",
"Encoding/EncoderValidator.swift",
"Encoding/FitFileEncoder.swift",
"Encoding/Validators/GarminConnectFileEncoderValidator.swift",
"Encoding/Validators/GoalsFileEncoderValidator.swift",
"Encoding/Validators/WoroutFileEncoderValidator.swift",
"Extensions/AntMessageProtocolExtension.swift",
"Extensions/DataExtension.swift",
"Extensions/DateExtension.swift",
"Extensions/Resolutionable.swift",
"Extensions/StringExtension.swift",
"Extensions/UInt8Extension.swift",
"Internal/DefinitionMessage.swift",
"Internal/DeveloperFieldDefinition.swift",
"Internal/FieldDefinition.swift",
"Internal/FileHeader.swift",
"Internal/RecordHeader.swift",
"Merge/FitFileMerger.swift",
"Messages/ActivityMessage.swift",
"Messages/AntChannelIdMessage.swift",
"Messages/BikeProfileMessage.swift",
"Messages/BloodPressureMessage.swift",
"Messages/CadenceZoneMessage.swift",
"Messages/CapabilitiesMessage.swift",
"Messages/ConnectivityMessage.swift",
"Messages/CourseMessage.swift",
"Messages/CoursePointMessage.swift",
"Messages/DeveloperDataIdMessage.swift",
"Messages/DeviceInfoMessage.swift",
"Messages/DeviceSettingsMessage.swift",
"Messages/EventMessage.swift",
"Messages/ExerciseTitleMessage.swift",
"Messages/FieldDescriptionMessage.swift",
"Messages/FileCapabilitiesMessage.swift",
"Messages/FileCreatorMessage.swift",
"Messages/FileIdMessage.swift",
"Messages/FitMessage.swift",
"Messages/GoalMessage.swift",
"Messages/HeartRateZoneMessage.swift",
"Messages/HeartrateProfileMessage.swift",
"Messages/HrvMessage.swift",
"Messages/JumpMessage.swift",
"Messages/LapMessage.swift",
"Messages/MetZoneMessage.swift",
"Messages/PowerZoneMessage.swift",
"Messages/RecordMessage.swift",
"Messages/ScheduleMessage.swift",
"Messages/SegmentLeaderboardEntryMessage.swift",
"Messages/SegmentPointMessage.swift",
"Messages/SessionMessage.swift",
"Messages/SetMessage.swift",
"Messages/SlaveDeviceMessage.swift",
"Messages/SoftwareMessage.swift",
"Messages/SpeedZoneMessage.swift",
"Messages/SportMessage.swift",
"Messages/StressLevelMessage.swift",
"Messages/StrideSpeedDistanceMonitorProfileMessage.swift",
"Messages/TotalsMessage.swift",
"Messages/UserProfileMessage.swift",
"Messages/VideoMessage.swift",
"Messages/WatchfaceSettingsMessage.swift",
"Messages/WeatherAlertMessage.swift",
"Messages/WeatherConditionsMessage.swift",
"Messages/WeightScaleMessage.swift",
"Messages/WorkoutMessage.swift",
"Messages/WorkoutSessionMessage.swift",
"Messages/WorkoutStepMessage.swift",
"Messages/ZonesTargetMessage.swift",
"Types/Activity.swift",
"Types/AutoActivityDetect.swift",
"Types/AutoSyncFrequency.swift",
"Types/BacklightMode.swift",
"Types/Base Type/BaseType.swift",
"Types/Base Type/BaseTypeDecode.swift",
"Types/BaseUnit.swift",
"Types/BloodPressureType.swift",
"Types/BodyLocation.swift",
"Types/ConnectivityCapabilities.swift",
"Types/CoursePointType.swift",
"Types/DateMode.swift",
"Types/DeviceIndex.swift",
"Types/DisplayOrientation.swift",
"Types/DisplayTypes.swift",
"Types/Error.swift",
"Types/Event.swift",
"Types/EventType.swift",
"Types/Exercise/Exercise Name/BenchPressExerciseName.swift",
"Types/Exercise/Exercise Name/CalfRaiseExerciseName.swift",
"Types/Exercise/Exercise Name/CardioExerciseName.swift",
"Types/Exercise/Exercise Name/CarryExerciseName.swift",
"Types/Exercise/Exercise Name/ChopExerciseName.swift",
"Types/Exercise/Exercise Name/CoreExerciseName.swift",
"Types/Exercise/Exercise Name/CrunchExerciseName.swift",
"Types/Exercise/Exercise Name/CurlExerciseName.swift",
"Types/Exercise/Exercise Name/DeadliftExerciseName.swift",
"Types/Exercise/Exercise Name/FlyeExerciseName.swift",
"Types/Exercise/Exercise Name/HipRaiseExerciseName.swift",
"Types/Exercise/Exercise Name/HipStabilityExerciseName.swift",
"Types/Exercise/Exercise Name/HipSwingExerciseName.swift",
"Types/Exercise/Exercise Name/HyperextensionExerciseName.swift",
"Types/Exercise/Exercise Name/LateralRaiseExerciseName.swift",
"Types/Exercise/Exercise Name/LegCurlExerciseName.swift",
"Types/Exercise/Exercise Name/LegRaiseExerciseName.swift",
"Types/Exercise/Exercise Name/LungeExerciseName.swift",
"Types/Exercise/Exercise Name/OlympicLiftExerciseName.swift",
"Types/Exercise/Exercise Name/PlankExerciseName.swift",
"Types/Exercise/Exercise Name/PlyoExerciseName.swift",
"Types/Exercise/Exercise Name/PullUpExerciseName.swift",
"Types/Exercise/Exercise Name/PushUpExerciseName.swift",
"Types/Exercise/Exercise Name/RowExerciseName.swift",
"Types/Exercise/Exercise Name/RunExerciseName.swift",
"Types/Exercise/Exercise Name/ShoulderPressExerciseName.swift",
"Types/Exercise/Exercise Name/ShoulderStabilityExerciseName.swift",
"Types/Exercise/Exercise Name/ShrugExerciseName.swift",
"Types/Exercise/Exercise Name/SitUpExerciseName.swift",
"Types/Exercise/Exercise Name/SquatExerciseName.swift",
"Types/Exercise/Exercise Name/TotalBodyExerciseName.swift",
"Types/Exercise/Exercise Name/TricepExtensionExerciseName.swift",
"Types/Exercise/Exercise Name/WarmUpExerciseName.swift",
"Types/Exercise/ExerciseCategory.swift",
"Types/Exercise/ExerciseName.swift",
"Types/FieldData.swift",
"Types/FileType.swift",
"Types/FitFileFlag.swift",
"Types/FitTime.swift",
"Types/GarminProduct.swift",
"Types/GoalType.swift",
"Types/HeartrateType.swift",
"Types/HemoglobinPercent.swift",
"Types/Intensity.swift",
"Types/Language.swift",
"Types/LanguageCapabilities.swift",
"Types/LapTrigger.swift",
"Types/LeaderboardType.swift",
"Types/LeftRightBalance.swift",
"Types/MessageIndex.swift",
"Types/PositionDisplayType.swift",
"Types/PowerType.swift",
"Types/ScheduleType.swift",
"Types/SessionTriggerType.swift",
"Types/SetType.swift",
"Types/Side.swift",
"Types/SourceType.swift",
"Types/SportCapabilities.swift",
"Types/StrokeType.swift",
"Types/SwimStrokeType.swift",
"Types/Switch.swift",
"Types/TimeMode.swift",
"Types/Units/RatingUnit.swift",
"Types/Units/UnitCount+FIT.swift",
"Types/Units/UnitFitFlow.swift",
"Types/Units/UnitFitGrit.swift",
"Types/Values/PedalSmoothness.swift",
"Types/Values/Position.swift",
"Types/Values/ScoreType.swift",
"Types/Values/StanceTime.swift",
"Types/Values/TorqueEffectiveness.swift",
"Types/WatchFace.swift",
"Types/WeatherReportType.swift",
"Types/WeatherSeverity.swift",
"Types/WeatherStatusType.swift",
"Types/Weight.swift",
"Types/Workout/WorkoutCapabilities.swift",
"Types/Workout/WorkoutEquipment.swift",
"Types/Workout/WorkoutStepDurationType.swift",
"Types/Workout/WorkoutStepTargetType.swift",
"Utilities/Conversions.swift",
"Utilities/FitCrc.swift",
"Utilities/Wrappers/FitFieldDimension.swift",
"Utilities/Wrappers/FitFieldTime.swift",
"Utilities/Wrappers/FitFieldUnit.swift",
"Utilities/Wrappers/FitFieldWrapper.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.