Build Information
Failed to build AdaptiveCardUI, reference main (4ac1a3
), with Swift 6.1 for Wasm on 27 May 2025 22:24:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'cover' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'repeatHorizontally' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'repeatVertically' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'repeat' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | .cover, .repeatHorizontally, .repeatVertically, .repeat,
27 | ]
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ContainerStyle.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ContainerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The style for a container element.
4 | public struct ContainerStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ContainerStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ContainerStyle {
19 | static let `default` = ContainerStyle(rawValue: "default")
| |- warning: static property 'default' 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let emphasis = ContainerStyle(rawValue: "emphasis")
21 | static let good = ContainerStyle(rawValue: "good")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ContainerStyle.swift:20:16: warning: static property 'emphasis' is not concurrency-safe because non-'Sendable' type 'ContainerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The style for a container element.
4 | public struct ContainerStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ContainerStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension ContainerStyle {
19 | static let `default` = ContainerStyle(rawValue: "default")
20 | static let emphasis = ContainerStyle(rawValue: "emphasis")
| |- warning: static property 'emphasis' 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: add '@MainActor' to make static property 'emphasis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let good = ContainerStyle(rawValue: "good")
22 | static let attention = ContainerStyle(rawValue: "attention")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ContainerStyle.swift:21:16: warning: static property 'good' is not concurrency-safe because non-'Sendable' type 'ContainerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The style for a container element.
4 | public struct ContainerStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ContainerStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let `default` = ContainerStyle(rawValue: "default")
20 | static let emphasis = ContainerStyle(rawValue: "emphasis")
21 | static let good = ContainerStyle(rawValue: "good")
| |- warning: static property 'good' 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: add '@MainActor' to make static property 'good' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let attention = ContainerStyle(rawValue: "attention")
23 | static let warning = ContainerStyle(rawValue: "warning")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ContainerStyle.swift:22:16: warning: static property 'attention' is not concurrency-safe because non-'Sendable' type 'ContainerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The style for a container element.
4 | public struct ContainerStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ContainerStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
20 | static let emphasis = ContainerStyle(rawValue: "emphasis")
21 | static let good = ContainerStyle(rawValue: "good")
22 | static let attention = ContainerStyle(rawValue: "attention")
| |- warning: static property 'attention' 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: add '@MainActor' to make static property 'attention' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let warning = ContainerStyle(rawValue: "warning")
24 | static let accent = ContainerStyle(rawValue: "accent")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ContainerStyle.swift:23:16: warning: static property 'warning' is not concurrency-safe because non-'Sendable' type 'ContainerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The style for a container element.
4 | public struct ContainerStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ContainerStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
21 | static let good = ContainerStyle(rawValue: "good")
22 | static let attention = ContainerStyle(rawValue: "attention")
23 | static let warning = ContainerStyle(rawValue: "warning")
| |- warning: static property 'warning' 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: add '@MainActor' to make static property 'warning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let accent = ContainerStyle(rawValue: "accent")
25 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/ContainerStyle.swift:24:16: 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
2 |
3 | /// The style for a container element.
4 | public struct ContainerStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ContainerStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
22 | static let attention = ContainerStyle(rawValue: "attention")
23 | static let warning = ContainerStyle(rawValue: "warning")
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: add '@MainActor' to make static property 'accent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'medium' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'extraLarge' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'monospace' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'light' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'center' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'cover' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'repeatHorizontally' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'repeatVertically' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'repeat' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | .cover, .repeatHorizontally, .repeatVertically, .repeat,
27 | ]
[59/113] Compiling NetworkImage ResizableNetworkImageStyle.swift
[60/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 |
[61/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/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
[63/114] Compiling NetworkImage ImageDownloader.swift
[64/114] Compiling NetworkImage ImagePrefetcher.swift
[65/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 |
[66/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 |
[67/114] Compiling NetworkImage NetworkImageState.swift
[68/114] Compiling NetworkImage NetworkImageStyle.swift
[69/114] Compiling NetworkImage Image+OSImage.swift
[70/114] Compiling NetworkImage NetworkImage.swift
[71/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
[72/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
[73/114] Compiling NetworkImage NetworkImageView.swift
[74/114] 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: add '@MainActor' to make static property 'auto' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'stretch' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'medium' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'person' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'medium' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'extraLarge' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'padding' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | .default, .none, .small, .medium, .large, .extraLarge, .padding,
31 | ]
[75/114] 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: add '@MainActor' to make static property 'auto' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'stretch' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'medium' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'person' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'medium' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'extraLarge' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'padding' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | .default, .none, .small, .medium, .large, .extraLarge, .padding,
31 | ]
[76/114] 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: add '@MainActor' to make static property 'auto' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'stretch' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'medium' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'person' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'medium' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'extraLarge' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'padding' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | .default, .none, .small, .medium, .large, .extraLarge, .padding,
31 | ]
[77/114] 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: add '@MainActor' to make static property 'auto' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'stretch' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'medium' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'person' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'medium' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'extraLarge' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'padding' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | .default, .none, .small, .medium, .large, .extraLarge, .padding,
31 | ]
[78/114] 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: add '@MainActor' to make static property 'auto' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'stretch' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'medium' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'person' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'medium' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'extraLarge' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'padding' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | .default, .none, .small, .medium, .large, .extraLarge, .padding,
31 | ]
[79/114] 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: add '@MainActor' to make static property 'auto' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'stretch' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'medium' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'person' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'medium' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'extraLarge' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'padding' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | .default, .none, .small, .medium, .large, .extraLarge, .padding,
31 | ]
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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/TextColor.swift:19:16: warning: static property 'dark' 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 |
:
17 | public extension TextColor {
18 | static let `default` = TextColor(rawValue: "default")
19 | static let dark = TextColor(rawValue: "dark")
| |- warning: static property 'dark' 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: add '@MainActor' to make static property 'dark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let light = TextColor(rawValue: "light")
21 | static let accent = TextColor(rawValue: "accent")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/TextColor.swift:20:16: warning: static property 'light' 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 |
:
18 | static let `default` = TextColor(rawValue: "default")
19 | static let dark = TextColor(rawValue: "dark")
20 | static let light = TextColor(rawValue: "light")
| |- warning: static property 'light' 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: add '@MainActor' to make static property 'light' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let accent = TextColor(rawValue: "accent")
22 | static let good = TextColor(rawValue: "good")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/TextColor.swift:21:16: warning: static property 'accent' 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 |
:
19 | static let dark = TextColor(rawValue: "dark")
20 | static let light = TextColor(rawValue: "light")
21 | static let accent = TextColor(rawValue: "accent")
| |- warning: static property 'accent' 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: add '@MainActor' to make static property 'accent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let good = TextColor(rawValue: "good")
23 | static let warning = TextColor(rawValue: "warning")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/TextColor.swift:22:16: warning: static property 'good' 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 |
:
20 | static let light = TextColor(rawValue: "light")
21 | static let accent = TextColor(rawValue: "accent")
22 | static let good = TextColor(rawValue: "good")
| |- warning: static property 'good' 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: add '@MainActor' to make static property 'good' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let warning = TextColor(rawValue: "warning")
24 | static let attention = TextColor(rawValue: "attention")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/TextColor.swift:23:16: warning: static property 'warning' 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 |
:
21 | static let accent = TextColor(rawValue: "accent")
22 | static let good = TextColor(rawValue: "good")
23 | static let warning = TextColor(rawValue: "warning")
| |- warning: static property 'warning' 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: add '@MainActor' to make static property 'warning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let attention = TextColor(rawValue: "attention")
25 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/TextColor.swift:24:16: warning: static property 'attention' 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 |
:
22 | static let good = TextColor(rawValue: "good")
23 | static let warning = TextColor(rawValue: "warning")
24 | static let attention = TextColor(rawValue: "attention")
| |- warning: static property 'attention' 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: add '@MainActor' to make static property 'attention' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/TextColor.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 TextColor: CaseIterable {
28 | public static var allCases: [TextColor] = [
| |- 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: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | .default, .dark, .light, .accent, .good, .warning, .attention,
30 | ]
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/VAlignment.swift:18:16: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'VAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct VAlignment: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'VAlignment' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
16 |
17 | public extension VAlignment {
18 | static let top = VAlignment(rawValue: "top")
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'VAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let center = VAlignment(rawValue: "center")
20 | static let bottom = VAlignment(rawValue: "bottom")
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/VAlignment.swift:19:16: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'VAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct VAlignment: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'VAlignment' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
17 | public extension VAlignment {
18 | static let top = VAlignment(rawValue: "top")
19 | static let center = VAlignment(rawValue: "center")
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'VAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'center' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let bottom = VAlignment(rawValue: "bottom")
21 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/VAlignment.swift:20:16: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'VAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct VAlignment: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'VAlignment' conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
:
18 | static let top = VAlignment(rawValue: "top")
19 | static let center = VAlignment(rawValue: "center")
20 | static let bottom = VAlignment(rawValue: "bottom")
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'VAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/22] Emitting module ConcurrencyExtras
[3/22] Compiling ConcurrencyExtras ActorIsolated.swift
[4/23] Compiling DefaultCodable DefaultValueProvider.swift
[5/23] Compiling ConcurrencyExtras AsyncStream.swift
[6/23] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[7/23] Compiling ConcurrencyExtras LockIsolated.swift
[8/23] Compiling ConcurrencyExtras Locking.swift
[9/23] Compiling ConcurrencyExtras MainSerialExecutor.swift
[10/23] Compiling ConcurrencyExtras Task.swift
[11/23] Compiling XCTestDynamicOverlay XCTFail.swift
[12/23] Compiling AnyValue AnyValue.swift
[13/23] Emitting module AnyValue
[14/24] Emitting module DefaultCodable
[15/24] Compiling DefaultCodable Default.swift
[16/26] Emitting module XCTestDynamicOverlay
[17/26] Compiling XCTestDynamicOverlay Deprecations.swift
[18/26] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[21/26] Compiling ConcurrencyExtras UncheckedSendable.swift
[22/27] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[24/69] Compiling XCTestDynamicOverlay Unimplemented.swift
[25/69] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[26/69] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[27/69] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[29/82] Compiling CombineSchedulers UIScheduler.swift
[30/83] Compiling CombineSchedulers ImmediateScheduler.swift
[31/83] Compiling CombineSchedulers Deprecations.swift
[32/83] Compiling CombineSchedulers Lock.swift
[33/83] Compiling CombineSchedulers NSRecursiveLock.swift
[34/83] Compiling CombineSchedulers SwiftUI.swift
[35/83] Compiling CombineSchedulers TestScheduler.swift
[36/83] Emitting module CombineSchedulers
[37/83] Compiling CombineSchedulers Timer.swift
[38/83] Compiling CombineSchedulers AnyScheduler.swift
[39/83] Compiling CombineSchedulers Concurrency.swift
[40/83] Compiling CombineSchedulers UIKit.swift
[41/83] Compiling CombineSchedulers UnimplementedScheduler.swift
[43/98] Compiling NetworkImage ResizableNetworkImageStyle.swift
[44/99] Compiling NetworkImage NetworkImageState.swift
[45/99] Compiling NetworkImage NetworkImageStyle.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/99] 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
[47/99] Compiling NetworkImage NetworkImageView.swift
[48/99] 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 |
[49/99] 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 |
[50/99] Compiling NetworkImage Image+OSImage.swift
[51/99] Compiling NetworkImage NetworkImage.swift
[52/99] Compiling NetworkImage ImageDownloader.swift
[53/99] Compiling NetworkImage ImagePrefetcher.swift
[54/99] 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 |
[55/99] 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 |
[56/99] 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
[57/99] 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
[58/99] Compiling AdaptiveCard ContainerStyle.swift
[59/99] Compiling AdaptiveCard FontSize.swift
[60/99] Compiling AdaptiveCard FontType.swift
[61/99] Compiling AdaptiveCard FontWeight.swift
[62/99] Compiling AdaptiveCard HAlignment.swift
[63/99] Compiling AdaptiveCard ImageFillMode.swift
[64/99] Compiling AdaptiveCard ImageSize.swift
[65/99] Compiling AdaptiveCard ImageStyle.swift
[66/99] Compiling AdaptiveCard ItemIdentifier.swift
[67/99] Compiling AdaptiveCard PixelDimension.swift
[68/99] Compiling AdaptiveCard SemanticVersion.swift
[69/99] Compiling AdaptiveCard Spacing.swift
[70/99] Emitting module AdaptiveCard
[83/104] Compiling AdaptiveCard ColumnSetElementProtocol.swift
[84/104] Compiling AdaptiveCard ColumnWidth.swift
[85/104] Compiling AdaptiveCard CustomCardElement.swift
[86/104] Compiling AdaptiveCard Fallback.swift
[87/104] Compiling AdaptiveCard Image.swift
[88/104] Compiling AdaptiveCard TextColor.swift
[89/104] Compiling AdaptiveCard VAlignment.swift
[90/104] Compiling AdaptiveCard ActionSet.swift
[91/104] Compiling AdaptiveCard ColumnSet.swift
[92/104] Compiling AdaptiveCard Container.swift
[93/104] Compiling AdaptiveCard Fact.swift
[94/104] Compiling AdaptiveCard FactSet.swift
[95/104] Compiling AdaptiveCard ImageSet.swift
[96/104] Compiling AdaptiveCard CardElement.swift
[97/104] Compiling AdaptiveCard CardElementProtocol.swift
[98/104] Compiling AdaptiveCard Column.swift
[99/104] Compiling AdaptiveCard ColumnSetElement.swift
BUILD FAILURE 6.1 wasm