Build Information
Failed to build AdaptiveCardUI, reference main (4ac1a3
), with Swift 6.1 for Linux on 26 Apr 2025 08:04:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
| |- 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 | ]
[58/94] Compiling AdaptiveCard ImageFillMode.swift
/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/94] Compiling AdaptiveCard ColumnSetElementProtocol.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Elements/ColumnWidth.swift:51:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | extension ColumnWidth: DefaultValueProvider {
51 | public static var `default` = ColumnWidth.stretch
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
52 | }
53 |
[60/94] Compiling AdaptiveCard ColumnWidth.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Elements/ColumnWidth.swift:51:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | extension ColumnWidth: DefaultValueProvider {
51 | public static var `default` = ColumnWidth.stretch
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
52 | }
53 |
[61/94] Compiling AdaptiveCard CustomCardElement.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Elements/ColumnWidth.swift:51:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | extension ColumnWidth: DefaultValueProvider {
51 | public static var `default` = ColumnWidth.stretch
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
52 | }
53 |
[62/94] Compiling AdaptiveCard Fallback.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Elements/ColumnWidth.swift:51:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | extension ColumnWidth: DefaultValueProvider {
51 | public static var `default` = ColumnWidth.stretch
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
52 | }
53 |
[63/94] Compiling AdaptiveCard Image.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Elements/ColumnWidth.swift:51:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | extension ColumnWidth: DefaultValueProvider {
51 | public static var `default` = ColumnWidth.stretch
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
52 | }
53 |
[64/99] Emitting module AdaptiveCard
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ActionStyle {
19 | static let `default` = ActionStyle(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ActionStyle' 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 positive = ActionStyle(rawValue: "positive")
21 | static let destructive = ActionStyle(rawValue: "destructive")
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:20:16: warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension ActionStyle {
19 | static let `default` = ActionStyle(rawValue: "default")
20 | static let positive = ActionStyle(rawValue: "positive")
| |- warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'positive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let destructive = ActionStyle(rawValue: "destructive")
22 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:21:16: warning: static property 'destructive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let `default` = ActionStyle(rawValue: "default")
20 | static let positive = ActionStyle(rawValue: "positive")
21 | static let destructive = ActionStyle(rawValue: "destructive")
| |- warning: static property 'destructive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'destructive' 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/Actions/ActionStyle.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 ActionStyle: CaseIterable {
25 | public static var allCases: [ActionStyle] = [.default, .positive, .destructive]
| |- 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/AdaptiveCard.swift:5:12: warning: let 'adaptiveCardVersion' is not concurrency-safe because non-'Sendable' type 'SemanticVersion' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The Adaptive Card schema version supported by the library.
5 | public let adaptiveCardVersion = SemanticVersion(major: 1, minor: 3)
| |- warning: let 'adaptiveCardVersion' is not concurrency-safe because non-'Sendable' type 'SemanticVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'adaptiveCardVersion' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// An Adaptive Card, containing a free-form body of card elements, and an optional set of actions.
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/SemanticVersion.swift:3:15: note: consider making struct 'SemanticVersion' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SemanticVersion: Equatable {
| `- note: consider making struct 'SemanticVersion' conform to the 'Sendable' protocol
4 | public let major: Int
5 | public let minor: Int
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/BlockElementHeight.swift:44:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | extension BlockElementHeight: DefaultValueProvider {
44 | public static var `default` = BlockElementHeight.auto
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
45 | }
46 |
/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 | ]
/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 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Common/VAlignment.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 VAlignment: CaseIterable {
24 | public static var allCases: [VAlignment] = [.top, .center, .bottom]
| |- 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/Containers/ImageSet.swift:5:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public enum MediumImageSize: DefaultValueProvider {
5 | public static var `default` = ImageSize.medium
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
6 | }
7 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Elements/CardElement.swift:205:16: warning: static property 'customCardElementDecoders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
203 | typealias CustomCardElementEquatable = (CustomCardElement, CustomCardElement) -> Bool
204 |
205 | static var customCardElementDecoders: [String: CustomCardElementDecoder] = [:]
| |- warning: static property 'customCardElementDecoders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'customCardElementDecoders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'customCardElementDecoders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
206 | static var customCardElementEncoders: [String: CustomCardElementEncoder] = [:]
207 | static var customCardElementIsEqual: [String: CustomCardElementEquatable] = [:]
/host/spi-builder-workspace/Sources/AdaptiveCard/Elements/CardElement.swift:206:16: warning: static property 'customCardElementEncoders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
204 |
205 | static var customCardElementDecoders: [String: CustomCardElementDecoder] = [:]
206 | static var customCardElementEncoders: [String: CustomCardElementEncoder] = [:]
| |- warning: static property 'customCardElementEncoders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'customCardElementEncoders' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'customCardElementEncoders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | static var customCardElementIsEqual: [String: CustomCardElementEquatable] = [:]
208 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Elements/CardElement.swift:207:16: warning: static property 'customCardElementIsEqual' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
205 | static var customCardElementDecoders: [String: CustomCardElementDecoder] = [:]
206 | static var customCardElementEncoders: [String: CustomCardElementEncoder] = [:]
207 | static var customCardElementIsEqual: [String: CustomCardElementEquatable] = [:]
| |- warning: static property 'customCardElementIsEqual' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'customCardElementIsEqual' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'customCardElementIsEqual' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 | }
209 |
/host/spi-builder-workspace/Sources/AdaptiveCard/Elements/ColumnWidth.swift:51:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | extension ColumnWidth: DefaultValueProvider {
51 | public static var `default` = ColumnWidth.stretch
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
52 | }
53 |
[65/113] Compiling NetworkImage ImageCache.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ActionStyle {
19 | static let `default` = ActionStyle(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ActionStyle' 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 positive = ActionStyle(rawValue: "positive")
21 | static let destructive = ActionStyle(rawValue: "destructive")
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:20:16: warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension ActionStyle {
19 | static let `default` = ActionStyle(rawValue: "default")
20 | static let positive = ActionStyle(rawValue: "positive")
| |- warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'positive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let destructive = ActionStyle(rawValue: "destructive")
22 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:21:16: warning: static property 'destructive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let `default` = ActionStyle(rawValue: "default")
20 | static let positive = ActionStyle(rawValue: "positive")
21 | static let destructive = ActionStyle(rawValue: "destructive")
| |- warning: static property 'destructive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'destructive' 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/Actions/ActionStyle.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 ActionStyle: CaseIterable {
25 | public static var allCases: [ActionStyle] = [.default, .positive, .destructive]
| |- 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 |
[66/113] Compiling NetworkImage ImageDecoding.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ActionStyle {
19 | static let `default` = ActionStyle(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ActionStyle' 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 positive = ActionStyle(rawValue: "positive")
21 | static let destructive = ActionStyle(rawValue: "destructive")
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:20:16: warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension ActionStyle {
19 | static let `default` = ActionStyle(rawValue: "default")
20 | static let positive = ActionStyle(rawValue: "positive")
| |- warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'positive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let destructive = ActionStyle(rawValue: "destructive")
22 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:21:16: warning: static property 'destructive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let `default` = ActionStyle(rawValue: "default")
20 | static let positive = ActionStyle(rawValue: "positive")
21 | static let destructive = ActionStyle(rawValue: "destructive")
| |- warning: static property 'destructive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'destructive' 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/Actions/ActionStyle.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 ActionStyle: CaseIterable {
25 | public static var allCases: [ActionStyle] = [.default, .positive, .destructive]
| |- 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 |
[67/113] Compiling NetworkImage ImageDownloader.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ActionStyle {
19 | static let `default` = ActionStyle(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ActionStyle' 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 positive = ActionStyle(rawValue: "positive")
21 | static let destructive = ActionStyle(rawValue: "destructive")
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:20:16: warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension ActionStyle {
19 | static let `default` = ActionStyle(rawValue: "default")
20 | static let positive = ActionStyle(rawValue: "positive")
| |- warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'positive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let destructive = ActionStyle(rawValue: "destructive")
22 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:21:16: warning: static property 'destructive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let `default` = ActionStyle(rawValue: "default")
20 | static let positive = ActionStyle(rawValue: "positive")
21 | static let destructive = ActionStyle(rawValue: "destructive")
| |- warning: static property 'destructive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'destructive' 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/Actions/ActionStyle.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 ActionStyle: CaseIterable {
25 | public static var allCases: [ActionStyle] = [.default, .positive, .destructive]
| |- 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 |
[68/113] Compiling NetworkImage ImagePrefetcher.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ActionStyle {
19 | static let `default` = ActionStyle(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ActionStyle' 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 positive = ActionStyle(rawValue: "positive")
21 | static let destructive = ActionStyle(rawValue: "destructive")
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:20:16: warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension ActionStyle {
19 | static let `default` = ActionStyle(rawValue: "default")
20 | static let positive = ActionStyle(rawValue: "positive")
| |- warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'positive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let destructive = ActionStyle(rawValue: "destructive")
22 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:21:16: warning: static property 'destructive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let `default` = ActionStyle(rawValue: "default")
20 | static let positive = ActionStyle(rawValue: "positive")
21 | static let destructive = ActionStyle(rawValue: "destructive")
| |- warning: static property 'destructive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'destructive' 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/Actions/ActionStyle.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 ActionStyle: CaseIterable {
25 | public static var allCases: [ActionStyle] = [.default, .positive, .destructive]
| |- 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 |
[69/113] Compiling NetworkImage ImmediateImageCache.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ActionStyle {
19 | static let `default` = ActionStyle(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ActionStyle' 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 positive = ActionStyle(rawValue: "positive")
21 | static let destructive = ActionStyle(rawValue: "destructive")
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:20:16: warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension ActionStyle {
19 | static let `default` = ActionStyle(rawValue: "default")
20 | static let positive = ActionStyle(rawValue: "positive")
| |- warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'positive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let destructive = ActionStyle(rawValue: "destructive")
22 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:21:16: warning: static property 'destructive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let `default` = ActionStyle(rawValue: "default")
20 | static let positive = ActionStyle(rawValue: "positive")
21 | static let destructive = ActionStyle(rawValue: "destructive")
| |- warning: static property 'destructive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'destructive' 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/Actions/ActionStyle.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 ActionStyle: CaseIterable {
25 | public static var allCases: [ActionStyle] = [.default, .positive, .destructive]
| |- 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 |
[70/113] Compiling NetworkImage NetworkImageError.swift
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:19:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
17 |
18 | public extension ActionStyle {
19 | static let `default` = ActionStyle(rawValue: "default")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ActionStyle' 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 positive = ActionStyle(rawValue: "positive")
21 | static let destructive = ActionStyle(rawValue: "destructive")
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:20:16: warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
18 | public extension ActionStyle {
19 | static let `default` = ActionStyle(rawValue: "default")
20 | static let positive = ActionStyle(rawValue: "positive")
| |- warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'positive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let destructive = ActionStyle(rawValue: "destructive")
22 | }
/host/spi-builder-workspace/Sources/AdaptiveCard/Actions/ActionStyle.swift:21:16: warning: static property 'destructive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Controls the style of an Action, which influences how the action is displayed, spoken, etc.
4 | public struct ActionStyle: Codable, Hashable, RawRepresentable {
| `- note: consider making struct 'ActionStyle' conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
:
19 | static let `default` = ActionStyle(rawValue: "default")
20 | static let positive = ActionStyle(rawValue: "positive")
21 | static let destructive = ActionStyle(rawValue: "destructive")
| |- warning: static property 'destructive' is not concurrency-safe because non-'Sendable' type 'ActionStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'destructive' 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/Actions/ActionStyle.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 ActionStyle: CaseIterable {
25 | public static var allCases: [ActionStyle] = [.default, .positive, .destructive]
| |- 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[73/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
/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/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 |
[76/114] Compiling NetworkImage Image+OSImage.swift
[77/114] Compiling NetworkImage NetworkImage.swift
[78/114] Compiling NetworkImage NetworkImageState.swift
[79/114] Compiling NetworkImage NetworkImageStyle.swift
[80/114] Compiling NetworkImage ResizableNetworkImageStyle.swift
[81/114] Compiling NetworkImage NetworkImageStore.swift
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/URLSession+NetworkImage.swift:3:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 | private enum Constants {
5 | static let memoryCapacity = 10 * 1024 * 1024
[82/114] Compiling NetworkImage URLSession+NetworkImage.swift
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Core/URLSession+NetworkImage.swift:3:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 | private enum Constants {
5 | static let memoryCapacity = 10 * 1024 * 1024
/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 |
/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 |
[85/114] Compiling NetworkImage NetworkImageView.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/22] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[3/23] Emitting module DefaultCodable
[4/23] Compiling DefaultCodable Default.swift
[5/23] Compiling DefaultCodable DefaultValueProvider.swift
[6/23] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[7/24] Emitting module AnyValue
[8/24] Compiling ConcurrencyExtras Locking.swift
[9/25] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[10/25] Compiling ConcurrencyExtras ActorIsolated.swift
[11/25] Compiling ConcurrencyExtras AsyncStream.swift
[12/25] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[13/25] Compiling XCTestDynamicOverlay XCTFail.swift
[15/25] Compiling ConcurrencyExtras MainSerialExecutor.swift
[16/25] Compiling ConcurrencyExtras LockIsolated.swift
[17/25] Compiling ConcurrencyExtras Task.swift
[18/25] Emitting module ConcurrencyExtras
[19/25] Compiling AnyValue AnyValue.swift
[20/26] Emitting module XCTestDynamicOverlay
[21/26] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[22/26] Compiling XCTestDynamicOverlay Deprecations.swift
[23/26] Compiling ConcurrencyExtras UncheckedSendable.swift
[26/27] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[27/27] Compiling XCTestDynamicOverlay Unimplemented.swift
[29/82] Compiling CombineSchedulers Lock.swift
[30/82] Compiling CombineSchedulers NSRecursiveLock.swift
[31/82] Emitting module CombineSchedulers
[32/83] Compiling CombineSchedulers Timer.swift
[33/83] Compiling CombineSchedulers ImmediateScheduler.swift
[34/83] Compiling CombineSchedulers Deprecations.swift
[35/83] Compiling CombineSchedulers AnyScheduler.swift
[36/83] Compiling CombineSchedulers Concurrency.swift
[37/83] Compiling CombineSchedulers UIKit.swift
[38/83] Compiling CombineSchedulers UIScheduler.swift
[39/83] Compiling CombineSchedulers SwiftUI.swift
[40/83] Compiling CombineSchedulers TestScheduler.swift
[41/83] Compiling CombineSchedulers UnimplementedScheduler.swift
[42/84] Compiling AdaptiveCard TargetElement.swift
[43/84] Compiling AdaptiveCard ToggleVisibilityAction.swift
[44/84] Compiling AdaptiveCard UnknownAction.swift
[45/84] Compiling AdaptiveCard AdaptiveCard.swift
[46/84] Compiling AdaptiveCard BackgroundImage.swift
[47/84] Compiling AdaptiveCard BlockElementHeight.swift
[49/89] Emitting module AdaptiveCard
[50/89] Compiling AdaptiveCard ColumnSetElementProtocol.swift
[51/89] Compiling AdaptiveCard ColumnWidth.swift
[52/89] Compiling AdaptiveCard CustomCardElement.swift
[53/89] Compiling AdaptiveCard Fallback.swift
[54/89] Compiling AdaptiveCard Image.swift
[63/89] Compiling AdaptiveCard ActionSet.swift
[64/89] Compiling AdaptiveCard ColumnSet.swift
[65/89] Compiling AdaptiveCard Container.swift
[66/89] Compiling AdaptiveCard Fact.swift
[67/103] Compiling AdaptiveCard ImageSize.swift
[68/103] Compiling AdaptiveCard ImageStyle.swift
[69/103] Compiling AdaptiveCard ItemIdentifier.swift
[70/103] Compiling AdaptiveCard PixelDimension.swift
[71/103] Compiling AdaptiveCard SemanticVersion.swift
[72/103] Compiling AdaptiveCard Spacing.swift
[73/103] Compiling AdaptiveCard ContainerStyle.swift
[74/103] Compiling AdaptiveCard FontSize.swift
[75/103] Compiling AdaptiveCard FontType.swift
[76/103] Compiling AdaptiveCard FontWeight.swift
[77/103] Compiling AdaptiveCard HAlignment.swift
[78/103] Compiling AdaptiveCard ImageFillMode.swift
[79/103] Compiling AdaptiveCard FactSet.swift
[80/103] Compiling AdaptiveCard ImageSet.swift
[81/103] Compiling AdaptiveCard CardElement.swift
[82/103] Compiling AdaptiveCard CardElementProtocol.swift
[83/103] Compiling AdaptiveCard Column.swift
[84/103] Compiling AdaptiveCard ColumnSetElement.swift
[85/103] Compiling NetworkImage ResizableNetworkImageStyle.swift
[86/104] Compiling NetworkImage Image+OSImage.swift
[87/104] Compiling NetworkImage NetworkImage.swift
[88/104] Compiling NetworkImage NetworkImageState.swift
[89/104] Compiling NetworkImage NetworkImageStyle.swift
[90/104] Compiling NetworkImage ImageDownloader.swift
[91/104] Compiling NetworkImage ImagePrefetcher.swift
[92/104] 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 |
[93/104] 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 |
[94/104] 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 |
[95/104] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[96/104] 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
[97/104] 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
[98/104] 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
[99/104] Compiling NetworkImage NetworkImageView.swift
BUILD FAILURE 6.1 linux