Build Information
Failed to build AdaptiveCardUI, reference main (4ac1a3
), with Swift 6.0 for Linux on 27 Nov 2024 22:55:40 UTC.
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
24 | static let accent = ContainerStyle(rawValue: "accent")
| |- warning: static property 'accent' is not concurrency-safe because non-'Sendable' type 'ContainerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accent' 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
25 | }
26 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ContainerStyle.swift:28:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | extension ContainerStyle: CaseIterable {
28 | public static var allCases: [ContainerStyle] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
29 | .default, .emphasis, .good,
30 | .attention, .warning, .accent,
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/FontSize.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FontSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the relative size of text elements.
4 | public struct FontSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'FontSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension FontSize {
19 | static let `default` = FontSize(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FontSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
20 | static let small = FontSize(rawValue: "small")
21 | static let medium = FontSize(rawValue: "medium")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/FontSize.swift:20:16: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'FontSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the relative size of text elements.
4 | public struct FontSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'FontSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension FontSize {
19 | static let `default` = FontSize(rawValue: "default")
20 | static let small = FontSize(rawValue: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'FontSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'small' 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
21 | static let medium = FontSize(rawValue: "medium")
22 | static let large = FontSize(rawValue: "large")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/FontSize.swift:21:16: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'FontSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the relative size of text elements.
4 | public struct FontSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'FontSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let `default` = FontSize(rawValue: "default")
20 | static let small = FontSize(rawValue: "small")
21 | static let medium = FontSize(rawValue: "medium")
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'FontSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' 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
22 | static let large = FontSize(rawValue: "large")
23 | static let extraLarge = FontSize(rawValue: "extraLarge")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/FontSize.swift:22:16: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'FontSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the relative size of text elements.
4 | public struct FontSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'FontSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
20 | static let small = FontSize(rawValue: "small")
21 | static let medium = FontSize(rawValue: "medium")
22 | static let large = FontSize(rawValue: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'FontSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' 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
23 | static let extraLarge = FontSize(rawValue: "extraLarge")
24 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/FontSize.swift:23:16: warning: static property 'extraLarge' is not concurrency-safe because non-'Sendable' type 'FontSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the relative size of text elements.
4 | public struct FontSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'FontSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
21 | static let medium = FontSize(rawValue: "medium")
22 | static let large = FontSize(rawValue: "large")
23 | static let extraLarge = FontSize(rawValue: "extraLarge")
| |- warning: static property 'extraLarge' is not concurrency-safe because non-'Sendable' type 'FontSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extraLarge' 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
24 | }
25 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/FontSize.swift:27:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | extension FontSize: CaseIterable {
27 | public static var allCases: [FontSize] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
28 | .default, .small, .medium, .large, .extraLarge,
29 | ]
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/FontType.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FontType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The font type of text elements.
4 | public struct FontType: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'FontType' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension FontType {
19 | static let `default` = FontType(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FontType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
20 | static let monospace = FontType(rawValue: "monospace")
21 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/FontType.swift:20:16: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The font type of text elements.
4 | public struct FontType: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'FontType' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension FontType {
19 | static let `default` = FontType(rawValue: "default")
20 | static let monospace = FontType(rawValue: "monospace")
| |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monospace' 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
21 | }
22 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/FontType.swift:24:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | extension FontType: CaseIterable {
24 | public static var allCases: [FontType] = [.default, .monospace]
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
25 | }
26 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/FontWeight.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FontWeight' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the weight of text elements.
4 | public struct FontWeight: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'FontWeight' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension FontWeight {
19 | static let `default` = FontWeight(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FontWeight' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
20 | static let light = FontWeight(rawValue: "lighter")
21 | static let bold = FontWeight(rawValue: "bolder")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/FontWeight.swift:20:16: warning: static property 'light' is not concurrency-safe because non-'Sendable' type 'FontWeight' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the weight of text elements.
4 | public struct FontWeight: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'FontWeight' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension FontWeight {
19 | static let `default` = FontWeight(rawValue: "default")
20 | static let light = FontWeight(rawValue: "lighter")
| |- warning: static property 'light' is not concurrency-safe because non-'Sendable' type 'FontWeight' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'light' 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
21 | static let bold = FontWeight(rawValue: "bolder")
22 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/FontWeight.swift:21:16: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontWeight' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the weight of text elements.
4 | public struct FontWeight: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'FontWeight' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let `default` = FontWeight(rawValue: "default")
20 | static let light = FontWeight(rawValue: "lighter")
21 | static let bold = FontWeight(rawValue: "bolder")
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontWeight' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' 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
22 | }
23 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/FontWeight.swift:25:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | extension FontWeight: CaseIterable {
25 | public static var allCases: [FontWeight] = [.default, .light, .bold]
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
26 | }
27 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/HAlignment.swift:19:16: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls how content is horizontally positioned within its container.
4 | public struct HAlignment: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'HAlignment' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension HAlignment {
19 | static let left = HAlignment(rawValue: "left")
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' 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
20 | static let center = HAlignment(rawValue: "center")
21 | static let right = HAlignment(rawValue: "right")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/HAlignment.swift:20:16: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'HAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls how content is horizontally positioned within its container.
4 | public struct HAlignment: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'HAlignment' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension HAlignment {
19 | static let left = HAlignment(rawValue: "left")
20 | static let center = HAlignment(rawValue: "center")
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'HAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'center' 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
21 | static let right = HAlignment(rawValue: "right")
22 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/HAlignment.swift:21:16: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'HAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls how content is horizontally positioned within its container.
4 | public struct HAlignment: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'HAlignment' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let left = HAlignment(rawValue: "left")
20 | static let center = HAlignment(rawValue: "center")
21 | static let right = HAlignment(rawValue: "right")
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'HAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'right' 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
22 | }
23 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/HAlignment.swift:25:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | extension HAlignment: CaseIterable {
25 | public static var allCases: [HAlignment] = [.left, .center, .right]
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
26 | }
27 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageFillMode.swift:18:16: warning: static property 'cover' is not concurrency-safe because non-'Sendable' type 'ImageFillMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageFillMode: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageFillMode' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
16 |
17 | public extension ImageFillMode {
18 | static let cover = ImageFillMode(rawValue: "cover")
| |- warning: static property 'cover' is not concurrency-safe because non-'Sendable' type 'ImageFillMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cover' 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
19 | static let repeatHorizontally = ImageFillMode(rawValue: "repeatHorizontally")
20 | static let repeatVertically = ImageFillMode(rawValue: "repeatVertically")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageFillMode.swift:19:16: warning: static property 'repeatHorizontally' is not concurrency-safe because non-'Sendable' type 'ImageFillMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageFillMode: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageFillMode' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
17 | public extension ImageFillMode {
18 | static let cover = ImageFillMode(rawValue: "cover")
19 | static let repeatHorizontally = ImageFillMode(rawValue: "repeatHorizontally")
| |- warning: static property 'repeatHorizontally' is not concurrency-safe because non-'Sendable' type 'ImageFillMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'repeatHorizontally' 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
20 | static let repeatVertically = ImageFillMode(rawValue: "repeatVertically")
21 | static let `repeat` = ImageFillMode(rawValue: "repeat")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageFillMode.swift:20:16: warning: static property 'repeatVertically' is not concurrency-safe because non-'Sendable' type 'ImageFillMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageFillMode: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageFillMode' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
18 | static let cover = ImageFillMode(rawValue: "cover")
19 | static let repeatHorizontally = ImageFillMode(rawValue: "repeatHorizontally")
20 | static let repeatVertically = ImageFillMode(rawValue: "repeatVertically")
| |- warning: static property 'repeatVertically' is not concurrency-safe because non-'Sendable' type 'ImageFillMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'repeatVertically' 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
21 | static let `repeat` = ImageFillMode(rawValue: "repeat")
22 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageFillMode.swift:21:16: warning: static property 'repeat' is not concurrency-safe because non-'Sendable' type 'ImageFillMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageFillMode: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageFillMode' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
19 | static let repeatHorizontally = ImageFillMode(rawValue: "repeatHorizontally")
20 | static let repeatVertically = ImageFillMode(rawValue: "repeatVertically")
21 | static let `repeat` = ImageFillMode(rawValue: "repeat")
| |- warning: static property 'repeat' is not concurrency-safe because non-'Sendable' type 'ImageFillMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'repeat' 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
22 | }
23 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageFillMode.swift:25:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | extension ImageFillMode: CaseIterable {
25 | public static var allCases: [ImageFillMode] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
26 | .cover, .repeatHorizontally, .repeatVertically, .repeat,
27 | ]
[59/94] Compiling AdaptiveCard ImageSize.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:19:16: warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ImageSize {
19 | static let auto = ImageSize(rawValue: "auto")
| |- warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'auto' 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
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:20:16: warning: static property 'stretch' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension ImageSize {
19 | static let auto = ImageSize(rawValue: "auto")
20 | static let stretch = ImageSize(rawValue: "stretch")
| |- warning: static property 'stretch' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stretch' 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
21 | static let small = ImageSize(rawValue: "small")
22 | static let medium = ImageSize(rawValue: "medium")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:21:16: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let auto = ImageSize(rawValue: "auto")
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'small' 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
22 | static let medium = ImageSize(rawValue: "medium")
23 | static let large = ImageSize(rawValue: "large")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:22:16: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
22 | static let medium = ImageSize(rawValue: "medium")
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' 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
23 | static let large = ImageSize(rawValue: "large")
24 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:23:16: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
21 | static let small = ImageSize(rawValue: "small")
22 | static let medium = ImageSize(rawValue: "medium")
23 | static let large = ImageSize(rawValue: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' 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
24 | }
25 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:27:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | extension ImageSize: CaseIterable {
27 | public static var allCases: [ImageSize] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
28 | .auto, .stretch, .small, .medium, .large,
29 | ]
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:18:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageStyle' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
16 |
17 | public extension ImageStyle {
18 | static let `default` = ImageStyle(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
19 | static let person = ImageStyle(rawValue: "person")
20 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:19:16: warning: static property 'person' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageStyle' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
17 | public extension ImageStyle {
18 | static let `default` = ImageStyle(rawValue: "default")
19 | static let person = ImageStyle(rawValue: "person")
| |- warning: static property 'person' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'person' 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
20 | }
21 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:23:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | extension ImageStyle: CaseIterable {
23 | public static var allCases: [ImageStyle] = [.default, .person]
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
24 | }
25 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension Spacing {
19 | static let `default` = Spacing(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:20:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension Spacing {
19 | static let `default` = Spacing(rawValue: "default")
20 | static let none = Spacing(rawValue: "none")
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
21 | static let small = Spacing(rawValue: "small")
22 | static let medium = Spacing(rawValue: "medium")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:21:16: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let `default` = Spacing(rawValue: "default")
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'small' 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
22 | static let medium = Spacing(rawValue: "medium")
23 | static let large = Spacing(rawValue: "large")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:22:16: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
22 | static let medium = Spacing(rawValue: "medium")
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' 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
23 | static let large = Spacing(rawValue: "large")
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:23:16: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
21 | static let small = Spacing(rawValue: "small")
22 | static let medium = Spacing(rawValue: "medium")
23 | static let large = Spacing(rawValue: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' 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
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
25 | static let padding = Spacing(rawValue: "padding")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:24:16: warning: static property 'extraLarge' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
22 | static let medium = Spacing(rawValue: "medium")
23 | static let large = Spacing(rawValue: "large")
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
| |- warning: static property 'extraLarge' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extraLarge' 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
25 | static let padding = Spacing(rawValue: "padding")
26 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:25:16: warning: static property 'padding' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
23 | static let large = Spacing(rawValue: "large")
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
25 | static let padding = Spacing(rawValue: "padding")
| |- warning: static property 'padding' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'padding' 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
26 | }
27 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:29:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | extension Spacing: CaseIterable {
29 | public static var allCases: [Spacing] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
30 | .default, .none, .small, .medium, .large, .extraLarge, .padding,
31 | ]
[60/94] Compiling AdaptiveCard ImageStyle.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:19:16: warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ImageSize {
19 | static let auto = ImageSize(rawValue: "auto")
| |- warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'auto' 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
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:20:16: warning: static property 'stretch' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension ImageSize {
19 | static let auto = ImageSize(rawValue: "auto")
20 | static let stretch = ImageSize(rawValue: "stretch")
| |- warning: static property 'stretch' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stretch' 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
21 | static let small = ImageSize(rawValue: "small")
22 | static let medium = ImageSize(rawValue: "medium")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:21:16: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let auto = ImageSize(rawValue: "auto")
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'small' 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
22 | static let medium = ImageSize(rawValue: "medium")
23 | static let large = ImageSize(rawValue: "large")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:22:16: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
22 | static let medium = ImageSize(rawValue: "medium")
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' 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
23 | static let large = ImageSize(rawValue: "large")
24 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:23:16: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
21 | static let small = ImageSize(rawValue: "small")
22 | static let medium = ImageSize(rawValue: "medium")
23 | static let large = ImageSize(rawValue: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' 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
24 | }
25 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:27:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | extension ImageSize: CaseIterable {
27 | public static var allCases: [ImageSize] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
28 | .auto, .stretch, .small, .medium, .large,
29 | ]
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:18:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageStyle' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
16 |
17 | public extension ImageStyle {
18 | static let `default` = ImageStyle(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
19 | static let person = ImageStyle(rawValue: "person")
20 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:19:16: warning: static property 'person' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageStyle' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
17 | public extension ImageStyle {
18 | static let `default` = ImageStyle(rawValue: "default")
19 | static let person = ImageStyle(rawValue: "person")
| |- warning: static property 'person' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'person' 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
20 | }
21 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:23:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | extension ImageStyle: CaseIterable {
23 | public static var allCases: [ImageStyle] = [.default, .person]
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
24 | }
25 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension Spacing {
19 | static let `default` = Spacing(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:20:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension Spacing {
19 | static let `default` = Spacing(rawValue: "default")
20 | static let none = Spacing(rawValue: "none")
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
21 | static let small = Spacing(rawValue: "small")
22 | static let medium = Spacing(rawValue: "medium")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:21:16: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let `default` = Spacing(rawValue: "default")
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'small' 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
22 | static let medium = Spacing(rawValue: "medium")
23 | static let large = Spacing(rawValue: "large")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:22:16: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
22 | static let medium = Spacing(rawValue: "medium")
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' 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
23 | static let large = Spacing(rawValue: "large")
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:23:16: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
21 | static let small = Spacing(rawValue: "small")
22 | static let medium = Spacing(rawValue: "medium")
23 | static let large = Spacing(rawValue: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' 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
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
25 | static let padding = Spacing(rawValue: "padding")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:24:16: warning: static property 'extraLarge' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
22 | static let medium = Spacing(rawValue: "medium")
23 | static let large = Spacing(rawValue: "large")
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
| |- warning: static property 'extraLarge' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extraLarge' 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
25 | static let padding = Spacing(rawValue: "padding")
26 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:25:16: warning: static property 'padding' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
23 | static let large = Spacing(rawValue: "large")
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
25 | static let padding = Spacing(rawValue: "padding")
| |- warning: static property 'padding' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'padding' 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
26 | }
27 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:29:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | extension Spacing: CaseIterable {
29 | public static var allCases: [Spacing] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
30 | .default, .none, .small, .medium, .large, .extraLarge, .padding,
31 | ]
[61/94] Compiling AdaptiveCard ItemIdentifier.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:19:16: warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ImageSize {
19 | static let auto = ImageSize(rawValue: "auto")
| |- warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'auto' 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
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:20:16: warning: static property 'stretch' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension ImageSize {
19 | static let auto = ImageSize(rawValue: "auto")
20 | static let stretch = ImageSize(rawValue: "stretch")
| |- warning: static property 'stretch' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stretch' 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
21 | static let small = ImageSize(rawValue: "small")
22 | static let medium = ImageSize(rawValue: "medium")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:21:16: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let auto = ImageSize(rawValue: "auto")
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'small' 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
22 | static let medium = ImageSize(rawValue: "medium")
23 | static let large = ImageSize(rawValue: "large")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:22:16: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
22 | static let medium = ImageSize(rawValue: "medium")
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' 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
23 | static let large = ImageSize(rawValue: "large")
24 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:23:16: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
21 | static let small = ImageSize(rawValue: "small")
22 | static let medium = ImageSize(rawValue: "medium")
23 | static let large = ImageSize(rawValue: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' 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
24 | }
25 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:27:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | extension ImageSize: CaseIterable {
27 | public static var allCases: [ImageSize] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
28 | .auto, .stretch, .small, .medium, .large,
29 | ]
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:18:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageStyle' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
16 |
17 | public extension ImageStyle {
18 | static let `default` = ImageStyle(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
19 | static let person = ImageStyle(rawValue: "person")
20 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:19:16: warning: static property 'person' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageStyle' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
17 | public extension ImageStyle {
18 | static let `default` = ImageStyle(rawValue: "default")
19 | static let person = ImageStyle(rawValue: "person")
| |- warning: static property 'person' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'person' 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
20 | }
21 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:23:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | extension ImageStyle: CaseIterable {
23 | public static var allCases: [ImageStyle] = [.default, .person]
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
24 | }
25 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension Spacing {
19 | static let `default` = Spacing(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:20:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension Spacing {
19 | static let `default` = Spacing(rawValue: "default")
20 | static let none = Spacing(rawValue: "none")
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
21 | static let small = Spacing(rawValue: "small")
22 | static let medium = Spacing(rawValue: "medium")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:21:16: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let `default` = Spacing(rawValue: "default")
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'small' 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
22 | static let medium = Spacing(rawValue: "medium")
23 | static let large = Spacing(rawValue: "large")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:22:16: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
22 | static let medium = Spacing(rawValue: "medium")
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' 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
23 | static let large = Spacing(rawValue: "large")
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:23:16: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
21 | static let small = Spacing(rawValue: "small")
22 | static let medium = Spacing(rawValue: "medium")
23 | static let large = Spacing(rawValue: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' 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
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
25 | static let padding = Spacing(rawValue: "padding")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:24:16: warning: static property 'extraLarge' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
22 | static let medium = Spacing(rawValue: "medium")
23 | static let large = Spacing(rawValue: "large")
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
| |- warning: static property 'extraLarge' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extraLarge' 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
25 | static let padding = Spacing(rawValue: "padding")
26 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:25:16: warning: static property 'padding' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
23 | static let large = Spacing(rawValue: "large")
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
25 | static let padding = Spacing(rawValue: "padding")
| |- warning: static property 'padding' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'padding' 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
26 | }
27 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:29:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | extension Spacing: CaseIterable {
29 | public static var allCases: [Spacing] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
30 | .default, .none, .small, .medium, .large, .extraLarge, .padding,
31 | ]
[62/94] Compiling AdaptiveCard PixelDimension.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:19:16: warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ImageSize {
19 | static let auto = ImageSize(rawValue: "auto")
| |- warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'auto' 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
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:20:16: warning: static property 'stretch' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension ImageSize {
19 | static let auto = ImageSize(rawValue: "auto")
20 | static let stretch = ImageSize(rawValue: "stretch")
| |- warning: static property 'stretch' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stretch' 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
21 | static let small = ImageSize(rawValue: "small")
22 | static let medium = ImageSize(rawValue: "medium")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:21:16: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let auto = ImageSize(rawValue: "auto")
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'small' 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
22 | static let medium = ImageSize(rawValue: "medium")
23 | static let large = ImageSize(rawValue: "large")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:22:16: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
22 | static let medium = ImageSize(rawValue: "medium")
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' 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
23 | static let large = ImageSize(rawValue: "large")
24 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:23:16: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
21 | static let small = ImageSize(rawValue: "small")
22 | static let medium = ImageSize(rawValue: "medium")
23 | static let large = ImageSize(rawValue: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' 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
24 | }
25 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:27:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | extension ImageSize: CaseIterable {
27 | public static var allCases: [ImageSize] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
28 | .auto, .stretch, .small, .medium, .large,
29 | ]
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:18:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageStyle' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
16 |
17 | public extension ImageStyle {
18 | static let `default` = ImageStyle(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
19 | static let person = ImageStyle(rawValue: "person")
20 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:19:16: warning: static property 'person' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageStyle' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
17 | public extension ImageStyle {
18 | static let `default` = ImageStyle(rawValue: "default")
19 | static let person = ImageStyle(rawValue: "person")
| |- warning: static property 'person' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'person' 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
20 | }
21 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:23:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | extension ImageStyle: CaseIterable {
23 | public static var allCases: [ImageStyle] = [.default, .person]
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
24 | }
25 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension Spacing {
19 | static let `default` = Spacing(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:20:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension Spacing {
19 | static let `default` = Spacing(rawValue: "default")
20 | static let none = Spacing(rawValue: "none")
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
21 | static let small = Spacing(rawValue: "small")
22 | static let medium = Spacing(rawValue: "medium")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:21:16: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let `default` = Spacing(rawValue: "default")
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'small' 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
22 | static let medium = Spacing(rawValue: "medium")
23 | static let large = Spacing(rawValue: "large")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:22:16: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
22 | static let medium = Spacing(rawValue: "medium")
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' 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
23 | static let large = Spacing(rawValue: "large")
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:23:16: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
21 | static let small = Spacing(rawValue: "small")
22 | static let medium = Spacing(rawValue: "medium")
23 | static let large = Spacing(rawValue: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' 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
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
25 | static let padding = Spacing(rawValue: "padding")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:24:16: warning: static property 'extraLarge' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
22 | static let medium = Spacing(rawValue: "medium")
23 | static let large = Spacing(rawValue: "large")
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
| |- warning: static property 'extraLarge' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extraLarge' 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
25 | static let padding = Spacing(rawValue: "padding")
26 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:25:16: warning: static property 'padding' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
23 | static let large = Spacing(rawValue: "large")
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
25 | static let padding = Spacing(rawValue: "padding")
| |- warning: static property 'padding' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'padding' 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
26 | }
27 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:29:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | extension Spacing: CaseIterable {
29 | public static var allCases: [Spacing] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
30 | .default, .none, .small, .medium, .large, .extraLarge, .padding,
31 | ]
[63/94] Compiling AdaptiveCard SemanticVersion.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:19:16: warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ImageSize {
19 | static let auto = ImageSize(rawValue: "auto")
| |- warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'auto' 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
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:20:16: warning: static property 'stretch' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension ImageSize {
19 | static let auto = ImageSize(rawValue: "auto")
20 | static let stretch = ImageSize(rawValue: "stretch")
| |- warning: static property 'stretch' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stretch' 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
21 | static let small = ImageSize(rawValue: "small")
22 | static let medium = ImageSize(rawValue: "medium")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:21:16: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let auto = ImageSize(rawValue: "auto")
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'small' 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
22 | static let medium = ImageSize(rawValue: "medium")
23 | static let large = ImageSize(rawValue: "large")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:22:16: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
22 | static let medium = ImageSize(rawValue: "medium")
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' 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
23 | static let large = ImageSize(rawValue: "large")
24 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:23:16: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
21 | static let small = ImageSize(rawValue: "small")
22 | static let medium = ImageSize(rawValue: "medium")
23 | static let large = ImageSize(rawValue: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' 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
24 | }
25 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:27:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | extension ImageSize: CaseIterable {
27 | public static var allCases: [ImageSize] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
28 | .auto, .stretch, .small, .medium, .large,
29 | ]
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:18:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageStyle' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
16 |
17 | public extension ImageStyle {
18 | static let `default` = ImageStyle(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
19 | static let person = ImageStyle(rawValue: "person")
20 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:19:16: warning: static property 'person' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageStyle' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
17 | public extension ImageStyle {
18 | static let `default` = ImageStyle(rawValue: "default")
19 | static let person = ImageStyle(rawValue: "person")
| |- warning: static property 'person' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'person' 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
20 | }
21 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:23:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | extension ImageStyle: CaseIterable {
23 | public static var allCases: [ImageStyle] = [.default, .person]
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
24 | }
25 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension Spacing {
19 | static let `default` = Spacing(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:20:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension Spacing {
19 | static let `default` = Spacing(rawValue: "default")
20 | static let none = Spacing(rawValue: "none")
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
21 | static let small = Spacing(rawValue: "small")
22 | static let medium = Spacing(rawValue: "medium")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:21:16: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let `default` = Spacing(rawValue: "default")
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'small' 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
22 | static let medium = Spacing(rawValue: "medium")
23 | static let large = Spacing(rawValue: "large")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:22:16: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
22 | static let medium = Spacing(rawValue: "medium")
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' 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
23 | static let large = Spacing(rawValue: "large")
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:23:16: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
21 | static let small = Spacing(rawValue: "small")
22 | static let medium = Spacing(rawValue: "medium")
23 | static let large = Spacing(rawValue: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' 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
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
25 | static let padding = Spacing(rawValue: "padding")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:24:16: warning: static property 'extraLarge' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
22 | static let medium = Spacing(rawValue: "medium")
23 | static let large = Spacing(rawValue: "large")
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
| |- warning: static property 'extraLarge' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extraLarge' 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
25 | static let padding = Spacing(rawValue: "padding")
26 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:25:16: warning: static property 'padding' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
23 | static let large = Spacing(rawValue: "large")
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
25 | static let padding = Spacing(rawValue: "padding")
| |- warning: static property 'padding' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'padding' 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
26 | }
27 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:29:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | extension Spacing: CaseIterable {
29 | public static var allCases: [Spacing] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
30 | .default, .none, .small, .medium, .large, .extraLarge, .padding,
31 | ]
[64/94] Compiling AdaptiveCard Spacing.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:19:16: warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ImageSize {
19 | static let auto = ImageSize(rawValue: "auto")
| |- warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'auto' 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
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:20:16: warning: static property 'stretch' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension ImageSize {
19 | static let auto = ImageSize(rawValue: "auto")
20 | static let stretch = ImageSize(rawValue: "stretch")
| |- warning: static property 'stretch' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stretch' 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
21 | static let small = ImageSize(rawValue: "small")
22 | static let medium = ImageSize(rawValue: "medium")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:21:16: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let auto = ImageSize(rawValue: "auto")
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'small' 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
22 | static let medium = ImageSize(rawValue: "medium")
23 | static let large = ImageSize(rawValue: "large")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:22:16: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
22 | static let medium = ImageSize(rawValue: "medium")
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' 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
23 | static let large = ImageSize(rawValue: "large")
24 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:23:16: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
21 | static let small = ImageSize(rawValue: "small")
22 | static let medium = ImageSize(rawValue: "medium")
23 | static let large = ImageSize(rawValue: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' 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
24 | }
25 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:27:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | extension ImageSize: CaseIterable {
27 | public static var allCases: [ImageSize] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
28 | .auto, .stretch, .small, .medium, .large,
29 | ]
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:18:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageStyle' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
16 |
17 | public extension ImageStyle {
18 | static let `default` = ImageStyle(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
19 | static let person = ImageStyle(rawValue: "person")
20 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:19:16: warning: static property 'person' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageStyle' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
17 | public extension ImageStyle {
18 | static let `default` = ImageStyle(rawValue: "default")
19 | static let person = ImageStyle(rawValue: "person")
| |- warning: static property 'person' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'person' 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
20 | }
21 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:23:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | extension ImageStyle: CaseIterable {
23 | public static var allCases: [ImageStyle] = [.default, .person]
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
24 | }
25 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension Spacing {
19 | static let `default` = Spacing(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:20:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension Spacing {
19 | static let `default` = Spacing(rawValue: "default")
20 | static let none = Spacing(rawValue: "none")
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
21 | static let small = Spacing(rawValue: "small")
22 | static let medium = Spacing(rawValue: "medium")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:21:16: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let `default` = Spacing(rawValue: "default")
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'small' 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
22 | static let medium = Spacing(rawValue: "medium")
23 | static let large = Spacing(rawValue: "large")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:22:16: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
22 | static let medium = Spacing(rawValue: "medium")
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' 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
23 | static let large = Spacing(rawValue: "large")
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:23:16: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
21 | static let small = Spacing(rawValue: "small")
22 | static let medium = Spacing(rawValue: "medium")
23 | static let large = Spacing(rawValue: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' 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
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
25 | static let padding = Spacing(rawValue: "padding")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:24:16: warning: static property 'extraLarge' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
22 | static let medium = Spacing(rawValue: "medium")
23 | static let large = Spacing(rawValue: "large")
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
| |- warning: static property 'extraLarge' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extraLarge' 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
25 | static let padding = Spacing(rawValue: "padding")
26 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:25:16: warning: static property 'padding' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
23 | static let large = Spacing(rawValue: "large")
24 | static let extraLarge = Spacing(rawValue: "extraLarge")
25 | static let padding = Spacing(rawValue: "padding")
| |- warning: static property 'padding' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'padding' 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
26 | }
27 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:29:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | extension Spacing: CaseIterable {
29 | public static var allCases: [Spacing] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' 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
30 | .default, .none, .small, .medium, .large, .extraLarge, .padding,
31 | ]
[65/113] Compiling AdaptiveCard ColumnSetElementProtocol.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Elements/ColumnWidth.swift:51:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | extension ColumnWidth: DefaultValueProvider {
51 | public static var `default` = ColumnWidth.stretch
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
52 | }
53 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension Spacing {
19 | static let `default` = Spacing(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/BlockElementHeight.swift:44:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | extension BlockElementHeight: DefaultValueProvider {
44 | public static var `default` = BlockElementHeight.auto
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
45 | }
46 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/HAlignment.swift:19:16: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls how content is horizontally positioned within its container.
4 | public struct HAlignment: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'HAlignment' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension HAlignment {
19 | static let left = HAlignment(rawValue: "left")
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' 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
20 | static let center = HAlignment(rawValue: "center")
21 | static let right = HAlignment(rawValue: "right")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:19:16: warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ImageSize {
19 | static let auto = ImageSize(rawValue: "auto")
| |- warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'auto' 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
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:18:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageStyle' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
16 |
17 | public extension ImageStyle {
18 | static let `default` = ImageStyle(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
19 | static let person = ImageStyle(rawValue: "person")
20 | }
[66/113] Compiling AdaptiveCard ColumnWidth.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Elements/ColumnWidth.swift:51:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | extension ColumnWidth: DefaultValueProvider {
51 | public static var `default` = ColumnWidth.stretch
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
52 | }
53 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension Spacing {
19 | static let `default` = Spacing(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/BlockElementHeight.swift:44:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | extension BlockElementHeight: DefaultValueProvider {
44 | public static var `default` = BlockElementHeight.auto
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
45 | }
46 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/HAlignment.swift:19:16: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls how content is horizontally positioned within its container.
4 | public struct HAlignment: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'HAlignment' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension HAlignment {
19 | static let left = HAlignment(rawValue: "left")
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' 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
20 | static let center = HAlignment(rawValue: "center")
21 | static let right = HAlignment(rawValue: "right")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:19:16: warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ImageSize {
19 | static let auto = ImageSize(rawValue: "auto")
| |- warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'auto' 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
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:18:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageStyle' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
16 |
17 | public extension ImageStyle {
18 | static let `default` = ImageStyle(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
19 | static let person = ImageStyle(rawValue: "person")
20 | }
[67/113] Compiling AdaptiveCard CustomCardElement.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Elements/ColumnWidth.swift:51:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | extension ColumnWidth: DefaultValueProvider {
51 | public static var `default` = ColumnWidth.stretch
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
52 | }
53 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension Spacing {
19 | static let `default` = Spacing(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/BlockElementHeight.swift:44:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | extension BlockElementHeight: DefaultValueProvider {
44 | public static var `default` = BlockElementHeight.auto
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
45 | }
46 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/HAlignment.swift:19:16: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls how content is horizontally positioned within its container.
4 | public struct HAlignment: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'HAlignment' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension HAlignment {
19 | static let left = HAlignment(rawValue: "left")
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' 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
20 | static let center = HAlignment(rawValue: "center")
21 | static let right = HAlignment(rawValue: "right")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:19:16: warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ImageSize {
19 | static let auto = ImageSize(rawValue: "auto")
| |- warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'auto' 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
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:18:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageStyle' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
16 |
17 | public extension ImageStyle {
18 | static let `default` = ImageStyle(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
19 | static let person = ImageStyle(rawValue: "person")
20 | }
[68/113] Compiling AdaptiveCard Fallback.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Elements/ColumnWidth.swift:51:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | extension ColumnWidth: DefaultValueProvider {
51 | public static var `default` = ColumnWidth.stretch
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
52 | }
53 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension Spacing {
19 | static let `default` = Spacing(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/BlockElementHeight.swift:44:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | extension BlockElementHeight: DefaultValueProvider {
44 | public static var `default` = BlockElementHeight.auto
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
45 | }
46 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/HAlignment.swift:19:16: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls how content is horizontally positioned within its container.
4 | public struct HAlignment: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'HAlignment' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension HAlignment {
19 | static let left = HAlignment(rawValue: "left")
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' 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
20 | static let center = HAlignment(rawValue: "center")
21 | static let right = HAlignment(rawValue: "right")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:19:16: warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ImageSize {
19 | static let auto = ImageSize(rawValue: "auto")
| |- warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'auto' 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
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:18:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageStyle' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
16 |
17 | public extension ImageStyle {
18 | static let `default` = ImageStyle(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
19 | static let person = ImageStyle(rawValue: "person")
20 | }
[69/113] Compiling AdaptiveCard Image.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Elements/ColumnWidth.swift:51:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | extension ColumnWidth: DefaultValueProvider {
51 | public static var `default` = ColumnWidth.stretch
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
52 | }
53 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension Spacing {
19 | static let `default` = Spacing(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/BlockElementHeight.swift:44:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | extension BlockElementHeight: DefaultValueProvider {
44 | public static var `default` = BlockElementHeight.auto
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
45 | }
46 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/HAlignment.swift:19:16: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls how content is horizontally positioned within its container.
4 | public struct HAlignment: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'HAlignment' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension HAlignment {
19 | static let left = HAlignment(rawValue: "left")
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' 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
20 | static let center = HAlignment(rawValue: "center")
21 | static let right = HAlignment(rawValue: "right")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageSize.swift:19:16: warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the approximate size of the image. The physical dimensions will vary per host.
4 | public struct ImageSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ImageSize {
19 | static let auto = ImageSize(rawValue: "auto")
| |- warning: static property 'auto' is not concurrency-safe because non-'Sendable' type 'ImageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'auto' 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
20 | static let stretch = ImageSize(rawValue: "stretch")
21 | static let small = ImageSize(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:18:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ImageStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ImageStyle' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
16 |
17 | public extension ImageStyle {
18 | static let `default` = ImageStyle(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
19 | static let person = ImageStyle(rawValue: "person")
20 | }
[70/113] Compiling NetworkImage ImageDownloader.swift
[71/113] Compiling NetworkImage ImagePrefetcher.swift
[72/114] Compiling NetworkImage ImageCache.swift
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImageCache.swift:8:33: error: cannot find type 'OSImage' in scope
6 | public protocol ImageCache: AnyObject {
7 | /// Returns the image associated with a given URL.
8 | func image(for url: URL) -> OSImage?
| `- error: cannot find type 'OSImage' in scope
9 |
10 | /// Stores the image in the cache, associated with the specified URL.
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImageCache.swift:11:28: error: cannot find type 'OSImage' in scope
9 |
10 | /// Stores the image in the cache, associated with the specified URL.
11 | func setImage(_ image: OSImage, for url: URL)
| `- error: cannot find type 'OSImage' in scope
12 | }
13 |
[73/114] Compiling NetworkImage ImageDecoding.swift
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImageCache.swift:8:33: error: cannot find type 'OSImage' in scope
6 | public protocol ImageCache: AnyObject {
7 | /// Returns the image associated with a given URL.
8 | func image(for url: URL) -> OSImage?
| `- error: cannot find type 'OSImage' in scope
9 |
10 | /// Stores the image in the cache, associated with the specified URL.
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImageCache.swift:11:28: error: cannot find type 'OSImage' in scope
9 |
10 | /// Stores the image in the cache, associated with the specified URL.
11 | func setImage(_ image: OSImage, for url: URL)
| `- error: cannot find type 'OSImage' in scope
12 | }
13 |
[74/114] Compiling NetworkImage Image+OSImage.swift
[75/114] Compiling NetworkImage NetworkImage.swift
[76/114] Compiling NetworkImage NetworkImageState.swift
[77/114] Compiling NetworkImage NetworkImageStyle.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[78/114] Emitting module NetworkImage
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImageCache.swift:8:33: error: cannot find type 'OSImage' in scope
6 | public protocol ImageCache: AnyObject {
7 | /// Returns the image associated with a given URL.
8 | func image(for url: URL) -> OSImage?
| `- error: cannot find type 'OSImage' in scope
9 |
10 | /// Stores the image in the cache, associated with the specified URL.
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImageCache.swift:11:28: error: cannot find type 'OSImage' in scope
9 |
10 | /// Stores the image in the cache, associated with the specified URL.
11 | func setImage(_ image: OSImage, for url: URL)
| `- error: cannot find type 'OSImage' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImmediateImageCache.swift:5:40: error: cannot find type 'OSImage' in scope
3 | /// An in-memory `ImageCache`.
4 | public final class ImmediateImageCache: ImageCache {
5 | private let cache = NSCache<NSURL, OSImage>()
| `- error: cannot find type 'OSImage' in scope
6 |
7 | public func image(for url: URL) -> OSImage? {
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImmediateImageCache.swift:7:40: error: cannot find type 'OSImage' in scope
5 | private let cache = NSCache<NSURL, OSImage>()
6 |
7 | public func image(for url: URL) -> OSImage? {
| `- error: cannot find type 'OSImage' in scope
8 | cache.object(forKey: url as NSURL)
9 | }
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImmediateImageCache.swift:11:35: error: cannot find type 'OSImage' in scope
9 | }
10 |
11 | public func setImage(_ image: OSImage, for url: URL) {
| `- error: cannot find type 'OSImage' in scope
12 | cache.setObject(image, forKey: url as NSURL)
13 | }
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/URLSession+NetworkImage.swift:3:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 | private enum Constants {
5 | static let memoryCapacity = 10 * 1024 * 1024
[79/114] Compiling NetworkImage ImmediateImageCache.swift
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImmediateImageCache.swift:5:40: error: cannot find type 'OSImage' in scope
3 | /// An in-memory `ImageCache`.
4 | public final class ImmediateImageCache: ImageCache {
5 | private let cache = NSCache<NSURL, OSImage>()
| `- error: cannot find type 'OSImage' in scope
6 |
7 | public func image(for url: URL) -> OSImage? {
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImmediateImageCache.swift:7:40: error: cannot find type 'OSImage' in scope
5 | private let cache = NSCache<NSURL, OSImage>()
6 |
7 | public func image(for url: URL) -> OSImage? {
| `- error: cannot find type 'OSImage' in scope
8 | cache.object(forKey: url as NSURL)
9 | }
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImmediateImageCache.swift:11:35: error: cannot find type 'OSImage' in scope
9 | }
10 |
11 | public func setImage(_ image: OSImage, for url: URL) {
| `- error: cannot find type 'OSImage' in scope
12 | cache.setObject(image, forKey: url as NSURL)
13 | }
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImageCache.swift:8:33: error: cannot find type 'OSImage' in scope
6 | public protocol ImageCache: AnyObject {
7 | /// Returns the image associated with a given URL.
8 | func image(for url: URL) -> OSImage?
| `- error: cannot find type 'OSImage' in scope
9 |
10 | /// Stores the image in the cache, associated with the specified URL.
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImageCache.swift:11:28: error: cannot find type 'OSImage' in scope
9 |
10 | /// Stores the image in the cache, associated with the specified URL.
11 | func setImage(_ image: OSImage, for url: URL)
| `- error: cannot find type 'OSImage' in scope
12 | }
13 |
[80/114] Compiling NetworkImage NetworkImageError.swift
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImmediateImageCache.swift:5:40: error: cannot find type 'OSImage' in scope
3 | /// An in-memory `ImageCache`.
4 | public final class ImmediateImageCache: ImageCache {
5 | private let cache = NSCache<NSURL, OSImage>()
| `- error: cannot find type 'OSImage' in scope
6 |
7 | public func image(for url: URL) -> OSImage? {
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImmediateImageCache.swift:7:40: error: cannot find type 'OSImage' in scope
5 | private let cache = NSCache<NSURL, OSImage>()
6 |
7 | public func image(for url: URL) -> OSImage? {
| `- error: cannot find type 'OSImage' in scope
8 | cache.object(forKey: url as NSURL)
9 | }
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImmediateImageCache.swift:11:35: error: cannot find type 'OSImage' in scope
9 | }
10 |
11 | public func setImage(_ image: OSImage, for url: URL) {
| `- error: cannot find type 'OSImage' in scope
12 | cache.setObject(image, forKey: url as NSURL)
13 | }
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImageCache.swift:8:33: error: cannot find type 'OSImage' in scope
6 | public protocol ImageCache: AnyObject {
7 | /// Returns the image associated with a given URL.
8 | func image(for url: URL) -> OSImage?
| `- error: cannot find type 'OSImage' in scope
9 |
10 | /// Stores the image in the cache, associated with the specified URL.
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/ImageCache.swift:11:28: error: cannot find type 'OSImage' in scope
9 |
10 | /// Stores the image in the cache, associated with the specified URL.
11 | func setImage(_ image: OSImage, for url: URL)
| `- error: cannot find type 'OSImage' in scope
12 | }
13 |
[81/114] Compiling NetworkImage NetworkImageStore.swift
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/URLSession+NetworkImage.swift:3:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 | private enum Constants {
5 | static let memoryCapacity = 10 * 1024 * 1024
[82/114] Compiling NetworkImage URLSession+NetworkImage.swift
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/URLSession+NetworkImage.swift:3:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 | private enum Constants {
5 | static let memoryCapacity = 10 * 1024 * 1024
[83/114] Compiling NetworkImage ResizableNetworkImageStyle.swift
[84/114] Compiling NetworkImage NetworkImageView.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/Spacing.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Specifies how much spacing. Hosts pick the exact pixel amounts for each of these.
4 | public struct Spacing: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'Spacing' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension Spacing {
19 | static let `default` = Spacing(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Spacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
20 | static let none = Spacing(rawValue: "none")
21 | static let small = Spacing(rawValue: "small")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/HAlignment.swift:19:16: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls how content is horizontally positioned within its container.
4 | public struct HAlignment: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'HAlignment' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension HAlignment {
19 | static let left = HAlignment(rawValue: "left")
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' 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
20 | static let center = HAlignment(rawValue: "center")
21 | static let right = HAlignment(rawValue: "right")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/TextColor.swift:18:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TextColor' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct TextColor: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'TextColor' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
16 |
17 | public extension TextColor {
18 | static let `default` = TextColor(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
19 | static let dark = TextColor(rawValue: "dark")
20 | static let light = TextColor(rawValue: "light")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/FontType.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FontType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The font type of text elements.
4 | public struct FontType: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'FontType' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension FontType {
19 | static let `default` = FontType(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FontType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
20 | static let monospace = FontType(rawValue: "monospace")
21 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/FontSize.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FontSize' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the relative size of text elements.
4 | public struct FontSize: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'FontSize' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension FontSize {
19 | static let `default` = FontSize(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FontSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
20 | static let small = FontSize(rawValue: "small")
21 | static let medium = FontSize(rawValue: "medium")
BUILD FAILURE 6.0 linux