Build Information
Successful build of AdaptiveCardUI, reference main (4ac1a3
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 23:03:22 UTC.
Swift 6 data race errors: 103
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
26 | private struct ContainerStyleKey: EnvironmentKey {
27 | static let defaultValue: ContainerStyle = .default
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/FactSet/FactSetView.swift:24:39: warning: non-constant range: not an integer range
22 | var body: some View {
23 | VStack(alignment: .leading) {
24 | ForEach(factSet.facts.indices) { row in
| `- warning: non-constant range: not an integer range
25 | HStack(alignment: .top, spacing: factSetConfiguration.spacing) {
26 | text(factSet.facts[row].title, configuration: factSetConfiguration.title)
[140/170] Compiling AdaptiveCardUI FactSetView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Container/EnvironmentValues+ContainerStyle.swift:27:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ContainerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
25 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
26 | private struct ContainerStyleKey: EnvironmentKey {
27 | static let defaultValue: ContainerStyle = .default
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ContainerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCard/Common/ContainerStyle.swift:4:15: note: struct 'ContainerStyle' does not conform to the 'Sendable' protocol
2 |
3 | /// The style for a container element.
4 | public struct ContainerStyle: Codable, Hashable, RawRepresentable {
| `- note: struct 'ContainerStyle' does not conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Container/EnvironmentValues+ContainerStyle.swift:3:5: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
1 | #if canImport(SwiftUI)
2 |
3 | import AdaptiveCard
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
4 | import SwiftUI
5 |
:
25 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
26 | private struct ContainerStyleKey: EnvironmentKey {
27 | static let defaultValue: ContainerStyle = .default
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/FactSet/FactSetView.swift:24:39: warning: non-constant range: not an integer range
22 | var body: some View {
23 | VStack(alignment: .leading) {
24 | ForEach(factSet.facts.indices) { row in
| `- warning: non-constant range: not an integer range
25 | HStack(alignment: .top, spacing: factSetConfiguration.spacing) {
26 | text(factSet.facts[row].title, configuration: factSetConfiguration.title)
[141/170] Compiling AdaptiveCardUI Alignment+VAlignment.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Container/EnvironmentValues+ContainerStyle.swift:27:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ContainerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
25 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
26 | private struct ContainerStyleKey: EnvironmentKey {
27 | static let defaultValue: ContainerStyle = .default
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ContainerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCard/Common/ContainerStyle.swift:4:15: note: struct 'ContainerStyle' does not conform to the 'Sendable' protocol
2 |
3 | /// The style for a container element.
4 | public struct ContainerStyle: Codable, Hashable, RawRepresentable {
| `- note: struct 'ContainerStyle' does not conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Container/EnvironmentValues+ContainerStyle.swift:3:5: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
1 | #if canImport(SwiftUI)
2 |
3 | import AdaptiveCard
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
4 | import SwiftUI
5 |
:
25 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
26 | private struct ContainerStyleKey: EnvironmentKey {
27 | static let defaultValue: ContainerStyle = .default
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/FactSet/FactSetView.swift:24:39: warning: non-constant range: not an integer range
22 | var body: some View {
23 | VStack(alignment: .leading) {
24 | ForEach(factSet.facts.indices) { row in
| `- warning: non-constant range: not an integer range
25 | HStack(alignment: .top, spacing: factSetConfiguration.spacing) {
26 | text(factSet.facts[row].title, configuration: factSetConfiguration.title)
[142/170] Compiling AdaptiveCardUI BlockElementHeight+CGFloat.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Container/EnvironmentValues+ContainerStyle.swift:27:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ContainerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
25 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
26 | private struct ContainerStyleKey: EnvironmentKey {
27 | static let defaultValue: ContainerStyle = .default
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ContainerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCard/Common/ContainerStyle.swift:4:15: note: struct 'ContainerStyle' does not conform to the 'Sendable' protocol
2 |
3 | /// The style for a container element.
4 | public struct ContainerStyle: Codable, Hashable, RawRepresentable {
| `- note: struct 'ContainerStyle' does not conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Container/EnvironmentValues+ContainerStyle.swift:3:5: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
1 | #if canImport(SwiftUI)
2 |
3 | import AdaptiveCard
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
4 | import SwiftUI
5 |
:
25 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
26 | private struct ContainerStyleKey: EnvironmentKey {
27 | static let defaultValue: ContainerStyle = .default
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/FactSet/FactSetView.swift:24:39: warning: non-constant range: not an integer range
22 | var body: some View {
23 | VStack(alignment: .leading) {
24 | ForEach(factSet.facts.indices) { row in
| `- warning: non-constant range: not an integer range
25 | HStack(alignment: .top, spacing: factSetConfiguration.spacing) {
26 | text(factSet.facts[row].title, configuration: factSetConfiguration.title)
[143/170] Compiling AdaptiveCardUI CollectSizeModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Container/EnvironmentValues+ContainerStyle.swift:27:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ContainerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
25 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
26 | private struct ContainerStyleKey: EnvironmentKey {
27 | static let defaultValue: ContainerStyle = .default
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ContainerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCard/Common/ContainerStyle.swift:4:15: note: struct 'ContainerStyle' does not conform to the 'Sendable' protocol
2 |
3 | /// The style for a container element.
4 | public struct ContainerStyle: Codable, Hashable, RawRepresentable {
| `- note: struct 'ContainerStyle' does not conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Container/EnvironmentValues+ContainerStyle.swift:3:5: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
1 | #if canImport(SwiftUI)
2 |
3 | import AdaptiveCard
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
4 | import SwiftUI
5 |
:
25 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
26 | private struct ContainerStyleKey: EnvironmentKey {
27 | static let defaultValue: ContainerStyle = .default
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/FactSet/FactSetView.swift:24:39: warning: non-constant range: not an integer range
22 | var body: some View {
23 | VStack(alignment: .leading) {
24 | ForEach(factSet.facts.indices) { row in
| `- warning: non-constant range: not an integer range
25 | HStack(alignment: .top, spacing: factSetConfiguration.spacing) {
26 | text(factSet.facts[row].title, configuration: factSetConfiguration.title)
[144/170] Emitting module AdaptiveCardUI
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/ShowCardConfiguration.swift:23:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ShowCardConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Controls behavior and styling of `showCard` actions.
7 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
8 | public struct ShowCardConfiguration: Equatable {
| `- note: consider making struct 'ShowCardConfiguration' conform to the 'Sendable' protocol
9 | /// Indicates the initial container style for the card.
10 | public let style: ContainerStyle
:
21 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
22 | public extension ShowCardConfiguration {
23 | static let `default` = ShowCardConfiguration(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ShowCardConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | style: .emphasis,
25 | inlineTopMargin: 8
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/ActionSetConfiguration.swift:57:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ActionSetConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// modifier and specify an instance of this type.
10 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
11 | public struct ActionSetConfiguration: Equatable {
| `- note: consider making struct 'ActionSetConfiguration' conform to the 'Sendable' protocol
12 | public enum Orientation: String, Decodable {
13 | case horizontal, vertical
:
55 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
56 | public extension ActionSetConfiguration {
57 | static let `default` = ActionSetConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ActionSetConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | }
59 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/ContainerConfiguration.swift:21:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ContainerConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
6 | public struct ContainerConfiguration: Equatable {
| `- note: consider making struct 'ContainerConfiguration' conform to the 'Sendable' protocol
7 | /// The background color to use for this container.
8 | public let backgroundColor: Color
:
19 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
20 | public extension ContainerConfiguration {
21 | static let `default` = ContainerConfiguration(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ContainerConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | backgroundColor: .defaultBackground,
23 | textColors: .default
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/TextColorConfiguration.swift:56:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TextColorConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
7 | public struct TextColorConfiguration: Equatable {
| `- note: consider making struct 'TextColorConfiguration' conform to the 'Sendable' protocol
8 | public let `default`: TextColorPair
9 | public let accent: TextColorPair
:
54 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
55 | public extension TextColorConfiguration {
56 | static let `default` = TextColorConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TextColorConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/ContainerConfiguration.swift:26:20: warning: static property 'emphasis' is not concurrency-safe because non-'Sendable' type 'ContainerConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
6 | public struct ContainerConfiguration: Equatable {
| `- note: consider making struct 'ContainerConfiguration' conform to the 'Sendable' protocol
7 | /// The background color to use for this container.
8 | public let backgroundColor: Color
:
24 | )
25 |
26 | static let emphasis = ContainerConfiguration(
| |- warning: static property 'emphasis' is not concurrency-safe because non-'Sendable' type 'ContainerConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emphasis' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | backgroundColor: .emphasisBackground,
28 | textColors: .default
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/ContainerConfiguration.swift:31:20: warning: static property 'accent' is not concurrency-safe because non-'Sendable' type 'ContainerConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
6 | public struct ContainerConfiguration: Equatable {
| `- note: consider making struct 'ContainerConfiguration' conform to the 'Sendable' protocol
7 | /// The background color to use for this container.
8 | public let backgroundColor: Color
:
29 | )
30 |
31 | static let accent = ContainerConfiguration(
| |- warning: static property 'accent' is not concurrency-safe because non-'Sendable' type 'ContainerConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | backgroundColor: .accentColor,
33 | textColors: .default
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/ContainerStyleConfiguration.swift:58:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ContainerStyleConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// A container style configuration specifies the configuration values for the different container styles.
7 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
8 | public struct ContainerStyleConfiguration: Equatable {
| `- note: consider making struct 'ContainerStyleConfiguration' conform to the 'Sendable' protocol
9 | /// The configuration values for the `default` container style.
10 | public let `default`: ContainerConfiguration
:
56 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
57 | public extension ContainerStyleConfiguration {
58 | static let `default` = ContainerStyleConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ContainerStyleConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/EnvironmentValues+Configuration.swift:46:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ActionSetConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
44 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
45 | private struct ActionSetConfigurationKey: EnvironmentKey {
46 | static let defaultValue = ActionSetConfiguration.default
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ActionSetConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/ActionSetConfiguration.swift:11:19: note: consider making struct 'ActionSetConfiguration' conform to the 'Sendable' protocol
9 | /// modifier and specify an instance of this type.
10 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
11 | public struct ActionSetConfiguration: Equatable {
| `- note: consider making struct 'ActionSetConfiguration' conform to the 'Sendable' protocol
12 | public enum Orientation: String, Decodable {
13 | case horizontal, vertical
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/EnvironmentValues+Configuration.swift:51:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ContainerStyleConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
49 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
50 | private struct ContainerStyleConfigurationKey: EnvironmentKey {
51 | static let defaultValue = ContainerStyleConfiguration.default
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ContainerStyleConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/ContainerStyleConfiguration.swift:8:19: note: consider making struct 'ContainerStyleConfiguration' conform to the 'Sendable' protocol
6 | /// A container style configuration specifies the configuration values for the different container styles.
7 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
8 | public struct ContainerStyleConfiguration: Equatable {
| `- note: consider making struct 'ContainerStyleConfiguration' conform to the 'Sendable' protocol
9 | /// The configuration values for the `default` container style.
10 | public let `default`: ContainerConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/EnvironmentValues+Configuration.swift:56:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ImageSizeConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
54 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
55 | private struct ImageSizeConfigurationKey: EnvironmentKey {
56 | static let defaultValue = ImageSizeConfiguration.default
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ImageSizeConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/ImageSizeConfiguration.swift:11:19: note: consider making struct 'ImageSizeConfiguration' conform to the 'Sendable' protocol
9 | /// modifier and specify an instance of this type.
10 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
11 | public struct ImageSizeConfiguration: Equatable {
| `- note: consider making struct 'ImageSizeConfiguration' conform to the 'Sendable' protocol
12 | /// Small image size value.
13 | public let small: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/ImageSizeConfiguration.swift:47:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageSizeConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// modifier and specify an instance of this type.
10 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
11 | public struct ImageSizeConfiguration: Equatable {
| `- note: consider making struct 'ImageSizeConfiguration' conform to the 'Sendable' protocol
12 | /// Small image size value.
13 | public let small: CGFloat
:
45 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
46 | public extension ImageSizeConfiguration {
47 | static let `default` = ImageSizeConfiguration(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageSizeConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | small: 48,
49 | medium: 96,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/EnvironmentValues+Configuration.swift:61:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'FontTypeConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
59 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
60 | private struct FontTypeConfigurationKey: EnvironmentKey {
61 | static let defaultValue = FontTypeConfiguration.default
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'FontTypeConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/FontTypeConfiguration.swift:11:19: note: consider making struct 'FontTypeConfiguration' conform to the 'Sendable' protocol
9 | /// modifier and specify an instance of this type.
10 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
11 | public struct FontTypeConfiguration: Equatable {
| `- note: consider making struct 'FontTypeConfiguration' conform to the 'Sendable' protocol
12 | /// The font configuration for the default font type.
13 | public let `default`: FontConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/FontTypeConfiguration.swift:35:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FontTypeConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// modifier and specify an instance of this type.
10 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
11 | public struct FontTypeConfiguration: Equatable {
| `- note: consider making struct 'FontTypeConfiguration' conform to the 'Sendable' protocol
12 | /// The font configuration for the default font type.
13 | public let `default`: FontConfiguration
:
33 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
34 | public extension FontTypeConfiguration {
35 | static let `default` = FontTypeConfiguration(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FontTypeConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | default: .default,
37 | monospace: .monospace
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/EnvironmentValues+Configuration.swift:66:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'FactSetConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
64 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
65 | private struct FactSetConfigurationKey: EnvironmentKey {
66 | static let defaultValue = FactSetConfiguration.default
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'FactSetConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/FactSetConfiguration.swift:11:19: note: consider making struct 'FactSetConfiguration' conform to the 'Sendable' protocol
9 | /// modifier and specify an instance of this type.
10 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
11 | public struct FactSetConfiguration: Equatable {
| `- note: consider making struct 'FactSetConfiguration' conform to the 'Sendable' protocol
12 | /// Text configuration to use for titles in fact sets.
13 | public let title: TextBlockConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/FactSetConfiguration.swift:34:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FactSetConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// modifier and specify an instance of this type.
10 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
11 | public struct FactSetConfiguration: Equatable {
| `- note: consider making struct 'FactSetConfiguration' conform to the 'Sendable' protocol
12 | /// Text configuration to use for titles in fact sets.
13 | public let title: TextBlockConfiguration
:
32 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
33 | public extension FactSetConfiguration {
34 | static let `default` = FactSetConfiguration(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FactSetConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | title: TextBlockConfiguration(weight: .bold, maxWidth: 132),
36 | value: .default,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/EnvironmentValues+Configuration.swift:71:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'SpacingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
69 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
70 | private struct SpacingConfigurationKey: EnvironmentKey {
71 | static let defaultValue: SpacingConfiguration = .default
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'SpacingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/SpacingConfiguration.swift:12:19: note: consider making struct 'SpacingConfiguration' conform to the 'Sendable' protocol
10 | /// modifier and specify an instance of this type.
11 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
12 | public struct SpacingConfiguration: Equatable {
| `- note: consider making struct 'SpacingConfiguration' conform to the 'Sendable' protocol
13 | public let `default`: CGFloat
14 | public let small: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/SpacingConfiguration.swift:58:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SpacingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | /// modifier and specify an instance of this type.
11 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
12 | public struct SpacingConfiguration: Equatable {
| `- note: consider making struct 'SpacingConfiguration' conform to the 'Sendable' protocol
13 | public let `default`: CGFloat
14 | public let small: CGFloat
:
56 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
57 | public extension SpacingConfiguration {
58 | static let `default` = SpacingConfiguration(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SpacingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | default: 8,
60 | small: 4,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/TextBlockConfiguration.swift:45:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TextBlockConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
7 | public struct TextBlockConfiguration: Equatable {
| `- note: consider making struct 'TextBlockConfiguration' conform to the 'Sendable' protocol
8 | /// The size of the text.
9 | public let size: FontSize
:
43 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
44 | public extension TextBlockConfiguration {
45 | static let `default` = TextBlockConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TextBlockConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/FontConfiguration.swift:77:20: warning: static property 'default1' is not concurrency-safe because non-'Sendable' type 'FontConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// A font configuration specifies a font for each different font size.
7 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
8 | public struct FontConfiguration: Equatable {
| `- note: consider making struct 'FontConfiguration' conform to the 'Sendable' protocol
9 | /// Default font.
10 | public let `default`: Font
:
75 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
76 | private extension FontConfiguration {
77 | static let default1 = FontConfiguration(
| |- warning: static property 'default1' is not concurrency-safe because non-'Sendable' type 'FontConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | default: .callout,
79 | small: .footnote,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/FontConfiguration.swift:86:20: warning: static property 'default2' is not concurrency-safe because non-'Sendable' type 'FontConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// A font configuration specifies a font for each different font size.
7 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
8 | public struct FontConfiguration: Equatable {
| `- note: consider making struct 'FontConfiguration' conform to the 'Sendable' protocol
9 | /// Default font.
10 | public let `default`: Font
:
84 |
85 | @available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, *)
86 | static let default2 = FontConfiguration(
| |- warning: static property 'default2' is not concurrency-safe because non-'Sendable' type 'FontConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | default: .callout,
88 | small: .footnote,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/FontConfiguration.swift:95:20: warning: static property 'monospace1' is not concurrency-safe because non-'Sendable' type 'FontConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// A font configuration specifies a font for each different font size.
7 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
8 | public struct FontConfiguration: Equatable {
| `- note: consider making struct 'FontConfiguration' conform to the 'Sendable' protocol
9 | /// Default font.
10 | public let `default`: Font
:
93 |
94 | @available(watchOS 7.0, *)
95 | static let monospace1 = FontConfiguration(
| |- warning: static property 'monospace1' is not concurrency-safe because non-'Sendable' type 'FontConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monospace1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | default: .system(.callout, design: .monospaced),
97 | small: .system(.footnote, design: .monospaced),
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/FontConfiguration.swift:104:20: warning: static property 'monospace2' is not concurrency-safe because non-'Sendable' type 'FontConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// A font configuration specifies a font for each different font size.
7 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
8 | public struct FontConfiguration: Equatable {
| `- note: consider making struct 'FontConfiguration' conform to the 'Sendable' protocol
9 | /// Default font.
10 | public let `default`: Font
:
102 |
103 | @available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, *)
104 | static let monospace2 = FontConfiguration(
| |- warning: static property 'monospace2' is not concurrency-safe because non-'Sendable' type 'FontConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monospace2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | default: .system(.callout, design: .monospaced),
106 | small: .system(.footnote, design: .monospaced),
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/TextColorPair.swift:21:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TextColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
6 | public struct TextColorPair: Equatable {
| `- note: consider making struct 'TextColorPair' conform to the 'Sendable' protocol
7 | /// Color to use when displaying default text.
8 | public let `default`: Color
:
19 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
20 | public extension TextColorPair {
21 | static let `default` = TextColorPair(default: .primary, subtle: .secondary)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TextColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static var dark: TextColorPair {
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/TextColorPair.swift:33:20: warning: static property 'accent' is not concurrency-safe because non-'Sendable' type 'TextColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
6 | public struct TextColorPair: Equatable {
| `- note: consider making struct 'TextColorPair' conform to the 'Sendable' protocol
7 | /// Color to use when displaying default text.
8 | public let `default`: Color
:
31 | static let light = TextColorPair(default: .white, subtle: Color.white.subtle)
32 |
33 | static let accent = TextColorPair(default: .accentColor, subtle: Color.accentColor.subtle)
| |- warning: static property 'accent' is not concurrency-safe because non-'Sendable' type 'TextColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | static let good = TextColorPair(default: .green, subtle: Color.green.subtle)
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/TextColorPair.swift:31:20: warning: static property 'light' is not concurrency-safe because non-'Sendable' type 'TextColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
6 | public struct TextColorPair: Equatable {
| `- note: consider making struct 'TextColorPair' conform to the 'Sendable' protocol
7 | /// Color to use when displaying default text.
8 | public let `default`: Color
:
29 | }
30 |
31 | static let light = TextColorPair(default: .white, subtle: Color.white.subtle)
| |- warning: static property 'light' is not concurrency-safe because non-'Sendable' type 'TextColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'light' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static let accent = TextColorPair(default: .accentColor, subtle: Color.accentColor.subtle)
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/TextColorPair.swift:35:20: warning: static property 'good' is not concurrency-safe because non-'Sendable' type 'TextColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
6 | public struct TextColorPair: Equatable {
| `- note: consider making struct 'TextColorPair' conform to the 'Sendable' protocol
7 | /// Color to use when displaying default text.
8 | public let `default`: Color
:
33 | static let accent = TextColorPair(default: .accentColor, subtle: Color.accentColor.subtle)
34 |
35 | static let good = TextColorPair(default: .green, subtle: Color.green.subtle)
| |- warning: static property 'good' is not concurrency-safe because non-'Sendable' type 'TextColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'good' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | static let warning = TextColorPair(default: .yellow, subtle: Color.yellow.subtle)
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/TextColorPair.swift:37:20: warning: static property 'warning' is not concurrency-safe because non-'Sendable' type 'TextColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
6 | public struct TextColorPair: Equatable {
| `- note: consider making struct 'TextColorPair' conform to the 'Sendable' protocol
7 | /// Color to use when displaying default text.
8 | public let `default`: Color
:
35 | static let good = TextColorPair(default: .green, subtle: Color.green.subtle)
36 |
37 | static let warning = TextColorPair(default: .yellow, subtle: Color.yellow.subtle)
| |- warning: static property 'warning' is not concurrency-safe because non-'Sendable' type 'TextColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | static let attention = TextColorPair(default: .red, subtle: Color.red.subtle)
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Configuration/TextColorPair.swift:39:20: warning: static property 'attention' is not concurrency-safe because non-'Sendable' type 'TextColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
6 | public struct TextColorPair: Equatable {
| `- note: consider making struct 'TextColorPair' conform to the 'Sendable' protocol
7 | /// Color to use when displaying default text.
8 | public let `default`: Color
:
37 | static let warning = TextColorPair(default: .yellow, subtle: Color.yellow.subtle)
38 |
39 | static let attention = TextColorPair(default: .red, subtle: Color.red.subtle)
| |- warning: static property 'attention' is not concurrency-safe because non-'Sendable' type 'TextColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attention' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Logic/Store/AdaptiveCardDownloader.swift:12:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
8 | final class AdaptiveCardDownloader {
| `- note: class 'AdaptiveCardDownloader' does not conform to the 'Sendable' protocol
9 | private let session: URLSession
10 | private let adaptiveCardCache: AdaptiveCardCache
11 |
12 | static let shared = AdaptiveCardDownloader(
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | session: URLSession(configuration: .default),
14 | adaptiveCardCache: ImmediateAdaptiveCardCache()
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:32:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCard/Common/SemanticVersion.swift:3:15: note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SemanticVersion: Equatable {
| `- note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
4 | public let major: Int
5 | public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:3:5: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
1 | #if canImport(SwiftUI)
2 |
3 | import AdaptiveCard
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
4 | import SwiftUI
5 |
:
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/CardElement/CustomCardElementView.swift:53:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
51 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
52 | private struct CustomCardElementViewFactoriesKey: EnvironmentKey {
53 | static let defaultValue: [String: CustomCardElementViewFactory] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Container/EnvironmentValues+ContainerStyle.swift:27:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ContainerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
25 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
26 | private struct ContainerStyleKey: EnvironmentKey {
27 | static let defaultValue: ContainerStyle = .default
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ContainerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCard/Common/ContainerStyle.swift:4:15: note: struct 'ContainerStyle' does not conform to the 'Sendable' protocol
2 |
3 | /// The style for a container element.
4 | public struct ContainerStyle: Codable, Hashable, RawRepresentable {
| `- note: struct 'ContainerStyle' does not conform to the 'Sendable' protocol
5 | public private(set) var rawValue: String
6 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Container/EnvironmentValues+ContainerStyle.swift:3:5: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
1 | #if canImport(SwiftUI)
2 |
3 | import AdaptiveCard
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
4 | import SwiftUI
5 |
:
25 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
26 | private struct ContainerStyleKey: EnvironmentKey {
27 | static let defaultValue: ContainerStyle = .default
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Image/CustomImageStyle.swift:53:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[ImageStyle : AnyCustomImageStyle]' may have shared mutable state; this is an error in the Swift 6 language mode
51 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
52 | private struct CustomImageStylesKey: EnvironmentKey {
53 | static let defaultValue: [ImageStyle: AnyCustomImageStyle] = [:]
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[ImageStyle : AnyCustomImageStyle]' may have shared mutable state; this is an error in the Swift 6 language mode
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCard/Common/ImageStyle.swift:3:15: note: struct 'ImageStyle' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct ImageStyle: Codable, Hashable, RawRepresentable {
| `- note: struct 'ImageStyle' does not conform to the 'Sendable' protocol
4 | public private(set) var rawValue: String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Image/CustomImageStyle.swift:3:5: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
1 | #if canImport(SwiftUI)
2 |
3 | import AdaptiveCard
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
4 | import SwiftUI
5 |
:
14 |
15 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
16 | struct AnyCustomImageStyle: CustomImageStyle {
| `- note: consider making struct 'AnyCustomImageStyle' conform to the 'Sendable' protocol
17 | private let _makeBody: (Content) -> AnyView
18 |
:
51 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
52 | private struct CustomImageStylesKey: EnvironmentKey {
53 | static let defaultValue: [ImageStyle: AnyCustomImageStyle] = [:]
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Text/TextElement.swift:83:16: warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | private extension ISO8601DateFormatter {
83 | static let withInternetDateTime: ISO8601DateFormatter = {
| |- warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | let formatter = ISO8601DateFormatter()
85 | formatter.formatOptions = [.withInternetDateTime]
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[145/170] Compiling AdaptiveCardUI CapsuleButtonModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:32:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCard/Common/SemanticVersion.swift:3:15: note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SemanticVersion: Equatable {
| `- note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
4 | public let major: Int
5 | public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:3:5: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
1 | #if canImport(SwiftUI)
2 |
3 | import AdaptiveCard
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
4 | import SwiftUI
5 |
:
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Logic/Store/AdaptiveCardDownloader.swift:12:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
8 | final class AdaptiveCardDownloader {
| `- note: class 'AdaptiveCardDownloader' does not conform to the 'Sendable' protocol
9 | private let session: URLSession
10 | private let adaptiveCardCache: AdaptiveCardCache
11 |
12 | static let shared = AdaptiveCardDownloader(
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | session: URLSession(configuration: .default),
14 | adaptiveCardCache: ImmediateAdaptiveCardCache()
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:32:21: warning: call to main actor-isolated initializer 'init(image:size:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
30 | image.resizable(resizingMode: .tile)
31 | case .repeatHorizontally:
32 | RepeatHorizontallyImageView(
| `- warning: call to main actor-isolated initializer 'init(image:size:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | image: image,
34 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/RepeatHorizontallyImageView.swift:12:9: note: calls to initializer 'init(image:size:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
10 | private let verticalAlignment: VAlignment
11 |
12 | init(
| `- note: calls to initializer 'init(image:size:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
13 | image: SwiftUI.Image,
14 | size: CGSize,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:38:21: warning: call to main actor-isolated initializer 'init(image:size:horizontalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
36 | )
37 | case .repeatVertically:
38 | RepeatVerticallyImageView(
| `- warning: call to main actor-isolated initializer 'init(image:size:horizontalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | image: image,
40 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/RepeatVerticallyImageView.swift:12:9: note: calls to initializer 'init(image:size:horizontalAlignment:)' from outside of its actor context are implicitly asynchronous
10 | private let horizontalAlignment: HAlignment
11 |
12 | init(
| `- note: calls to initializer 'init(image:size:horizontalAlignment:)' from outside of its actor context are implicitly asynchronous
13 | image: SwiftUI.Image,
14 | size: CGSize,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: call to main actor-isolated initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
42 | )
43 | default:
44 | CoverImageView(
| `- warning: call to main actor-isolated initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | image: image,
46 | aspectRatio: size.width / size.height,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/CoverImageView.swift:13:9: note: calls to initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
11 | private let verticalAlignment: VAlignment
12 |
13 | init(
| `- note: calls to initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
14 | image: SwiftUI.Image,
15 | aspectRatio: CGFloat,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:32:21: warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
30 | image.resizable(resizingMode: .tile)
31 | case .repeatHorizontally:
32 | RepeatHorizontallyImageView(
| |- warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.verticalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
33 | image: image,
34 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:38:21: warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
36 | )
37 | case .repeatVertically:
38 | RepeatVerticallyImageView(
| |- warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.horizontalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
39 | image: image,
40 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
42 | )
43 | default:
44 | CoverImageView(
| |- warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.horizontalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
45 | image: image,
46 | aspectRatio: size.width / size.height,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
42 | )
43 | default:
44 | CoverImageView(
| |- warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.verticalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
45 | image: image,
46 | aspectRatio: size.width / size.height,
[146/170] Compiling AdaptiveCardUI CapsuleButtonStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:32:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCard/Common/SemanticVersion.swift:3:15: note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SemanticVersion: Equatable {
| `- note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
4 | public let major: Int
5 | public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:3:5: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
1 | #if canImport(SwiftUI)
2 |
3 | import AdaptiveCard
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
4 | import SwiftUI
5 |
:
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Logic/Store/AdaptiveCardDownloader.swift:12:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
8 | final class AdaptiveCardDownloader {
| `- note: class 'AdaptiveCardDownloader' does not conform to the 'Sendable' protocol
9 | private let session: URLSession
10 | private let adaptiveCardCache: AdaptiveCardCache
11 |
12 | static let shared = AdaptiveCardDownloader(
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | session: URLSession(configuration: .default),
14 | adaptiveCardCache: ImmediateAdaptiveCardCache()
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:32:21: warning: call to main actor-isolated initializer 'init(image:size:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
30 | image.resizable(resizingMode: .tile)
31 | case .repeatHorizontally:
32 | RepeatHorizontallyImageView(
| `- warning: call to main actor-isolated initializer 'init(image:size:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | image: image,
34 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/RepeatHorizontallyImageView.swift:12:9: note: calls to initializer 'init(image:size:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
10 | private let verticalAlignment: VAlignment
11 |
12 | init(
| `- note: calls to initializer 'init(image:size:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
13 | image: SwiftUI.Image,
14 | size: CGSize,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:38:21: warning: call to main actor-isolated initializer 'init(image:size:horizontalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
36 | )
37 | case .repeatVertically:
38 | RepeatVerticallyImageView(
| `- warning: call to main actor-isolated initializer 'init(image:size:horizontalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | image: image,
40 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/RepeatVerticallyImageView.swift:12:9: note: calls to initializer 'init(image:size:horizontalAlignment:)' from outside of its actor context are implicitly asynchronous
10 | private let horizontalAlignment: HAlignment
11 |
12 | init(
| `- note: calls to initializer 'init(image:size:horizontalAlignment:)' from outside of its actor context are implicitly asynchronous
13 | image: SwiftUI.Image,
14 | size: CGSize,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: call to main actor-isolated initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
42 | )
43 | default:
44 | CoverImageView(
| `- warning: call to main actor-isolated initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | image: image,
46 | aspectRatio: size.width / size.height,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/CoverImageView.swift:13:9: note: calls to initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
11 | private let verticalAlignment: VAlignment
12 |
13 | init(
| `- note: calls to initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
14 | image: SwiftUI.Image,
15 | aspectRatio: CGFloat,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:32:21: warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
30 | image.resizable(resizingMode: .tile)
31 | case .repeatHorizontally:
32 | RepeatHorizontallyImageView(
| |- warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.verticalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
33 | image: image,
34 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:38:21: warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
36 | )
37 | case .repeatVertically:
38 | RepeatVerticallyImageView(
| |- warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.horizontalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
39 | image: image,
40 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
42 | )
43 | default:
44 | CoverImageView(
| |- warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.horizontalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
45 | image: image,
46 | aspectRatio: size.width / size.height,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
42 | )
43 | default:
44 | CoverImageView(
| |- warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.verticalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
45 | image: image,
46 | aspectRatio: size.width / size.height,
[147/170] Compiling AdaptiveCardUI AdaptiveCardFeatures.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:32:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCard/Common/SemanticVersion.swift:3:15: note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SemanticVersion: Equatable {
| `- note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
4 | public let major: Int
5 | public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:3:5: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
1 | #if canImport(SwiftUI)
2 |
3 | import AdaptiveCard
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
4 | import SwiftUI
5 |
:
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Logic/Store/AdaptiveCardDownloader.swift:12:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
8 | final class AdaptiveCardDownloader {
| `- note: class 'AdaptiveCardDownloader' does not conform to the 'Sendable' protocol
9 | private let session: URLSession
10 | private let adaptiveCardCache: AdaptiveCardCache
11 |
12 | static let shared = AdaptiveCardDownloader(
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | session: URLSession(configuration: .default),
14 | adaptiveCardCache: ImmediateAdaptiveCardCache()
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:32:21: warning: call to main actor-isolated initializer 'init(image:size:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
30 | image.resizable(resizingMode: .tile)
31 | case .repeatHorizontally:
32 | RepeatHorizontallyImageView(
| `- warning: call to main actor-isolated initializer 'init(image:size:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | image: image,
34 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/RepeatHorizontallyImageView.swift:12:9: note: calls to initializer 'init(image:size:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
10 | private let verticalAlignment: VAlignment
11 |
12 | init(
| `- note: calls to initializer 'init(image:size:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
13 | image: SwiftUI.Image,
14 | size: CGSize,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:38:21: warning: call to main actor-isolated initializer 'init(image:size:horizontalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
36 | )
37 | case .repeatVertically:
38 | RepeatVerticallyImageView(
| `- warning: call to main actor-isolated initializer 'init(image:size:horizontalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | image: image,
40 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/RepeatVerticallyImageView.swift:12:9: note: calls to initializer 'init(image:size:horizontalAlignment:)' from outside of its actor context are implicitly asynchronous
10 | private let horizontalAlignment: HAlignment
11 |
12 | init(
| `- note: calls to initializer 'init(image:size:horizontalAlignment:)' from outside of its actor context are implicitly asynchronous
13 | image: SwiftUI.Image,
14 | size: CGSize,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: call to main actor-isolated initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
42 | )
43 | default:
44 | CoverImageView(
| `- warning: call to main actor-isolated initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | image: image,
46 | aspectRatio: size.width / size.height,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/CoverImageView.swift:13:9: note: calls to initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
11 | private let verticalAlignment: VAlignment
12 |
13 | init(
| `- note: calls to initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
14 | image: SwiftUI.Image,
15 | aspectRatio: CGFloat,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:32:21: warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
30 | image.resizable(resizingMode: .tile)
31 | case .repeatHorizontally:
32 | RepeatHorizontallyImageView(
| |- warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.verticalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
33 | image: image,
34 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:38:21: warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
36 | )
37 | case .repeatVertically:
38 | RepeatVerticallyImageView(
| |- warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.horizontalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
39 | image: image,
40 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
42 | )
43 | default:
44 | CoverImageView(
| |- warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.horizontalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
45 | image: image,
46 | aspectRatio: size.width / size.height,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
42 | )
43 | default:
44 | CoverImageView(
| |- warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.verticalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
45 | image: image,
46 | aspectRatio: size.width / size.height,
[148/170] Compiling AdaptiveCardUI AdaptiveCardSourceView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:32:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCard/Common/SemanticVersion.swift:3:15: note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SemanticVersion: Equatable {
| `- note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
4 | public let major: Int
5 | public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:3:5: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
1 | #if canImport(SwiftUI)
2 |
3 | import AdaptiveCard
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
4 | import SwiftUI
5 |
:
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Logic/Store/AdaptiveCardDownloader.swift:12:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
8 | final class AdaptiveCardDownloader {
| `- note: class 'AdaptiveCardDownloader' does not conform to the 'Sendable' protocol
9 | private let session: URLSession
10 | private let adaptiveCardCache: AdaptiveCardCache
11 |
12 | static let shared = AdaptiveCardDownloader(
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | session: URLSession(configuration: .default),
14 | adaptiveCardCache: ImmediateAdaptiveCardCache()
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:32:21: warning: call to main actor-isolated initializer 'init(image:size:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
30 | image.resizable(resizingMode: .tile)
31 | case .repeatHorizontally:
32 | RepeatHorizontallyImageView(
| `- warning: call to main actor-isolated initializer 'init(image:size:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | image: image,
34 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/RepeatHorizontallyImageView.swift:12:9: note: calls to initializer 'init(image:size:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
10 | private let verticalAlignment: VAlignment
11 |
12 | init(
| `- note: calls to initializer 'init(image:size:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
13 | image: SwiftUI.Image,
14 | size: CGSize,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:38:21: warning: call to main actor-isolated initializer 'init(image:size:horizontalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
36 | )
37 | case .repeatVertically:
38 | RepeatVerticallyImageView(
| `- warning: call to main actor-isolated initializer 'init(image:size:horizontalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | image: image,
40 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/RepeatVerticallyImageView.swift:12:9: note: calls to initializer 'init(image:size:horizontalAlignment:)' from outside of its actor context are implicitly asynchronous
10 | private let horizontalAlignment: HAlignment
11 |
12 | init(
| `- note: calls to initializer 'init(image:size:horizontalAlignment:)' from outside of its actor context are implicitly asynchronous
13 | image: SwiftUI.Image,
14 | size: CGSize,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: call to main actor-isolated initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
42 | )
43 | default:
44 | CoverImageView(
| `- warning: call to main actor-isolated initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | image: image,
46 | aspectRatio: size.width / size.height,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/CoverImageView.swift:13:9: note: calls to initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
11 | private let verticalAlignment: VAlignment
12 |
13 | init(
| `- note: calls to initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
14 | image: SwiftUI.Image,
15 | aspectRatio: CGFloat,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:32:21: warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
30 | image.resizable(resizingMode: .tile)
31 | case .repeatHorizontally:
32 | RepeatHorizontallyImageView(
| |- warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.verticalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
33 | image: image,
34 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:38:21: warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
36 | )
37 | case .repeatVertically:
38 | RepeatVerticallyImageView(
| |- warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.horizontalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
39 | image: image,
40 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
42 | )
43 | default:
44 | CoverImageView(
| |- warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.horizontalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
45 | image: image,
46 | aspectRatio: size.width / size.height,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
42 | )
43 | default:
44 | CoverImageView(
| |- warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.verticalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
45 | image: image,
46 | aspectRatio: size.width / size.height,
[149/170] Compiling AdaptiveCardUI AdaptiveCardView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:32:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCard/Common/SemanticVersion.swift:3:15: note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SemanticVersion: Equatable {
| `- note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
4 | public let major: Int
5 | public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:3:5: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
1 | #if canImport(SwiftUI)
2 |
3 | import AdaptiveCard
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
4 | import SwiftUI
5 |
:
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Logic/Store/AdaptiveCardDownloader.swift:12:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
8 | final class AdaptiveCardDownloader {
| `- note: class 'AdaptiveCardDownloader' does not conform to the 'Sendable' protocol
9 | private let session: URLSession
10 | private let adaptiveCardCache: AdaptiveCardCache
11 |
12 | static let shared = AdaptiveCardDownloader(
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | session: URLSession(configuration: .default),
14 | adaptiveCardCache: ImmediateAdaptiveCardCache()
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:32:21: warning: call to main actor-isolated initializer 'init(image:size:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
30 | image.resizable(resizingMode: .tile)
31 | case .repeatHorizontally:
32 | RepeatHorizontallyImageView(
| `- warning: call to main actor-isolated initializer 'init(image:size:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | image: image,
34 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/RepeatHorizontallyImageView.swift:12:9: note: calls to initializer 'init(image:size:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
10 | private let verticalAlignment: VAlignment
11 |
12 | init(
| `- note: calls to initializer 'init(image:size:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
13 | image: SwiftUI.Image,
14 | size: CGSize,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:38:21: warning: call to main actor-isolated initializer 'init(image:size:horizontalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
36 | )
37 | case .repeatVertically:
38 | RepeatVerticallyImageView(
| `- warning: call to main actor-isolated initializer 'init(image:size:horizontalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | image: image,
40 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/RepeatVerticallyImageView.swift:12:9: note: calls to initializer 'init(image:size:horizontalAlignment:)' from outside of its actor context are implicitly asynchronous
10 | private let horizontalAlignment: HAlignment
11 |
12 | init(
| `- note: calls to initializer 'init(image:size:horizontalAlignment:)' from outside of its actor context are implicitly asynchronous
13 | image: SwiftUI.Image,
14 | size: CGSize,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: call to main actor-isolated initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
42 | )
43 | default:
44 | CoverImageView(
| `- warning: call to main actor-isolated initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | image: image,
46 | aspectRatio: size.width / size.height,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/CoverImageView.swift:13:9: note: calls to initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
11 | private let verticalAlignment: VAlignment
12 |
13 | init(
| `- note: calls to initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
14 | image: SwiftUI.Image,
15 | aspectRatio: CGFloat,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:32:21: warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
30 | image.resizable(resizingMode: .tile)
31 | case .repeatHorizontally:
32 | RepeatHorizontallyImageView(
| |- warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.verticalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
33 | image: image,
34 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:38:21: warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
36 | )
37 | case .repeatVertically:
38 | RepeatVerticallyImageView(
| |- warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.horizontalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
39 | image: image,
40 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
42 | )
43 | default:
44 | CoverImageView(
| |- warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.horizontalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
45 | image: image,
46 | aspectRatio: size.width / size.height,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
42 | )
43 | default:
44 | CoverImageView(
| |- warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.verticalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
45 | image: image,
46 | aspectRatio: size.width / size.height,
[150/170] Compiling AdaptiveCardUI ErrorView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:32:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCard/Common/SemanticVersion.swift:3:15: note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SemanticVersion: Equatable {
| `- note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
4 | public let major: Int
5 | public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:3:5: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
1 | #if canImport(SwiftUI)
2 |
3 | import AdaptiveCard
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
4 | import SwiftUI
5 |
:
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Logic/Store/AdaptiveCardDownloader.swift:12:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
8 | final class AdaptiveCardDownloader {
| `- note: class 'AdaptiveCardDownloader' does not conform to the 'Sendable' protocol
9 | private let session: URLSession
10 | private let adaptiveCardCache: AdaptiveCardCache
11 |
12 | static let shared = AdaptiveCardDownloader(
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | session: URLSession(configuration: .default),
14 | adaptiveCardCache: ImmediateAdaptiveCardCache()
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:32:21: warning: call to main actor-isolated initializer 'init(image:size:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
30 | image.resizable(resizingMode: .tile)
31 | case .repeatHorizontally:
32 | RepeatHorizontallyImageView(
| `- warning: call to main actor-isolated initializer 'init(image:size:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | image: image,
34 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/RepeatHorizontallyImageView.swift:12:9: note: calls to initializer 'init(image:size:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
10 | private let verticalAlignment: VAlignment
11 |
12 | init(
| `- note: calls to initializer 'init(image:size:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
13 | image: SwiftUI.Image,
14 | size: CGSize,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:38:21: warning: call to main actor-isolated initializer 'init(image:size:horizontalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
36 | )
37 | case .repeatVertically:
38 | RepeatVerticallyImageView(
| `- warning: call to main actor-isolated initializer 'init(image:size:horizontalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | image: image,
40 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/RepeatVerticallyImageView.swift:12:9: note: calls to initializer 'init(image:size:horizontalAlignment:)' from outside of its actor context are implicitly asynchronous
10 | private let horizontalAlignment: HAlignment
11 |
12 | init(
| `- note: calls to initializer 'init(image:size:horizontalAlignment:)' from outside of its actor context are implicitly asynchronous
13 | image: SwiftUI.Image,
14 | size: CGSize,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: call to main actor-isolated initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
42 | )
43 | default:
44 | CoverImageView(
| `- warning: call to main actor-isolated initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | image: image,
46 | aspectRatio: size.width / size.height,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/CoverImageView.swift:13:9: note: calls to initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
11 | private let verticalAlignment: VAlignment
12 |
13 | init(
| `- note: calls to initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
14 | image: SwiftUI.Image,
15 | aspectRatio: CGFloat,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:32:21: warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
30 | image.resizable(resizingMode: .tile)
31 | case .repeatHorizontally:
32 | RepeatHorizontallyImageView(
| |- warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.verticalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
33 | image: image,
34 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:38:21: warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
36 | )
37 | case .repeatVertically:
38 | RepeatVerticallyImageView(
| |- warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.horizontalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
39 | image: image,
40 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
42 | )
43 | default:
44 | CoverImageView(
| |- warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.horizontalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
45 | image: image,
46 | aspectRatio: size.width / size.height,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
42 | )
43 | default:
44 | CoverImageView(
| |- warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.verticalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
45 | image: image,
46 | aspectRatio: size.width / size.height,
[151/170] Compiling AdaptiveCardUI PrimitiveCardView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:32:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCard/Common/SemanticVersion.swift:3:15: note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SemanticVersion: Equatable {
| `- note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
4 | public let major: Int
5 | public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:3:5: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
1 | #if canImport(SwiftUI)
2 |
3 | import AdaptiveCard
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
4 | import SwiftUI
5 |
:
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Logic/Store/AdaptiveCardDownloader.swift:12:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
8 | final class AdaptiveCardDownloader {
| `- note: class 'AdaptiveCardDownloader' does not conform to the 'Sendable' protocol
9 | private let session: URLSession
10 | private let adaptiveCardCache: AdaptiveCardCache
11 |
12 | static let shared = AdaptiveCardDownloader(
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | session: URLSession(configuration: .default),
14 | adaptiveCardCache: ImmediateAdaptiveCardCache()
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:32:21: warning: call to main actor-isolated initializer 'init(image:size:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
30 | image.resizable(resizingMode: .tile)
31 | case .repeatHorizontally:
32 | RepeatHorizontallyImageView(
| `- warning: call to main actor-isolated initializer 'init(image:size:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | image: image,
34 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/RepeatHorizontallyImageView.swift:12:9: note: calls to initializer 'init(image:size:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
10 | private let verticalAlignment: VAlignment
11 |
12 | init(
| `- note: calls to initializer 'init(image:size:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
13 | image: SwiftUI.Image,
14 | size: CGSize,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:38:21: warning: call to main actor-isolated initializer 'init(image:size:horizontalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
36 | )
37 | case .repeatVertically:
38 | RepeatVerticallyImageView(
| `- warning: call to main actor-isolated initializer 'init(image:size:horizontalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | image: image,
40 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/RepeatVerticallyImageView.swift:12:9: note: calls to initializer 'init(image:size:horizontalAlignment:)' from outside of its actor context are implicitly asynchronous
10 | private let horizontalAlignment: HAlignment
11 |
12 | init(
| `- note: calls to initializer 'init(image:size:horizontalAlignment:)' from outside of its actor context are implicitly asynchronous
13 | image: SwiftUI.Image,
14 | size: CGSize,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: call to main actor-isolated initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
42 | )
43 | default:
44 | CoverImageView(
| `- warning: call to main actor-isolated initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | image: image,
46 | aspectRatio: size.width / size.height,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/CoverImageView.swift:13:9: note: calls to initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
11 | private let verticalAlignment: VAlignment
12 |
13 | init(
| `- note: calls to initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
14 | image: SwiftUI.Image,
15 | aspectRatio: CGFloat,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:32:21: warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
30 | image.resizable(resizingMode: .tile)
31 | case .repeatHorizontally:
32 | RepeatHorizontallyImageView(
| |- warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.verticalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
33 | image: image,
34 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:38:21: warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
36 | )
37 | case .repeatVertically:
38 | RepeatVerticallyImageView(
| |- warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.horizontalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
39 | image: image,
40 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
42 | )
43 | default:
44 | CoverImageView(
| |- warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.horizontalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
45 | image: image,
46 | aspectRatio: size.width / size.height,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
42 | )
43 | default:
44 | CoverImageView(
| |- warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.verticalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
45 | image: image,
46 | aspectRatio: size.width / size.height,
[152/170] Compiling AdaptiveCardUI BackgroundImageStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:32:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCard/Common/SemanticVersion.swift:3:15: note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SemanticVersion: Equatable {
| `- note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
4 | public let major: Int
5 | public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:3:5: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
1 | #if canImport(SwiftUI)
2 |
3 | import AdaptiveCard
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
4 | import SwiftUI
5 |
:
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Logic/Store/AdaptiveCardDownloader.swift:12:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
8 | final class AdaptiveCardDownloader {
| `- note: class 'AdaptiveCardDownloader' does not conform to the 'Sendable' protocol
9 | private let session: URLSession
10 | private let adaptiveCardCache: AdaptiveCardCache
11 |
12 | static let shared = AdaptiveCardDownloader(
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | session: URLSession(configuration: .default),
14 | adaptiveCardCache: ImmediateAdaptiveCardCache()
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:32:21: warning: call to main actor-isolated initializer 'init(image:size:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
30 | image.resizable(resizingMode: .tile)
31 | case .repeatHorizontally:
32 | RepeatHorizontallyImageView(
| `- warning: call to main actor-isolated initializer 'init(image:size:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | image: image,
34 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/RepeatHorizontallyImageView.swift:12:9: note: calls to initializer 'init(image:size:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
10 | private let verticalAlignment: VAlignment
11 |
12 | init(
| `- note: calls to initializer 'init(image:size:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
13 | image: SwiftUI.Image,
14 | size: CGSize,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:38:21: warning: call to main actor-isolated initializer 'init(image:size:horizontalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
36 | )
37 | case .repeatVertically:
38 | RepeatVerticallyImageView(
| `- warning: call to main actor-isolated initializer 'init(image:size:horizontalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | image: image,
40 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/RepeatVerticallyImageView.swift:12:9: note: calls to initializer 'init(image:size:horizontalAlignment:)' from outside of its actor context are implicitly asynchronous
10 | private let horizontalAlignment: HAlignment
11 |
12 | init(
| `- note: calls to initializer 'init(image:size:horizontalAlignment:)' from outside of its actor context are implicitly asynchronous
13 | image: SwiftUI.Image,
14 | size: CGSize,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: call to main actor-isolated initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
42 | )
43 | default:
44 | CoverImageView(
| `- warning: call to main actor-isolated initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | image: image,
46 | aspectRatio: size.width / size.height,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/CoverImageView.swift:13:9: note: calls to initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
11 | private let verticalAlignment: VAlignment
12 |
13 | init(
| `- note: calls to initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
14 | image: SwiftUI.Image,
15 | aspectRatio: CGFloat,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:32:21: warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
30 | image.resizable(resizingMode: .tile)
31 | case .repeatHorizontally:
32 | RepeatHorizontallyImageView(
| |- warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.verticalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
33 | image: image,
34 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:38:21: warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
36 | )
37 | case .repeatVertically:
38 | RepeatVerticallyImageView(
| |- warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.horizontalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
39 | image: image,
40 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
42 | )
43 | default:
44 | CoverImageView(
| |- warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.horizontalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
45 | image: image,
46 | aspectRatio: size.width / size.height,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
42 | )
43 | default:
44 | CoverImageView(
| |- warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.verticalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
45 | image: image,
46 | aspectRatio: size.width / size.height,
[153/170] Compiling AdaptiveCardUI BackgroundImageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:32:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : SemanticVersion]' may have shared mutable state; this is an error in the Swift 6 language mode
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCard/Common/SemanticVersion.swift:3:15: note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SemanticVersion: Equatable {
| `- note: struct 'SemanticVersion' does not conform to the 'Sendable' protocol
4 | public let major: Int
5 | public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/AdaptiveCard/AdaptiveCardFeatures.swift:3:5: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
1 | #if canImport(SwiftUI)
2 |
3 | import AdaptiveCard
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AdaptiveCard'
4 | import SwiftUI
5 |
:
30 | }
31 |
32 | static let defaultValue: [String: SemanticVersion] = [
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | Constants.adaptiveCardFeature: adaptiveCardVersion,
34 | ]
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/Logic/Store/AdaptiveCardDownloader.swift:12:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
8 | final class AdaptiveCardDownloader {
| `- note: class 'AdaptiveCardDownloader' does not conform to the 'Sendable' protocol
9 | private let session: URLSession
10 | private let adaptiveCardCache: AdaptiveCardCache
11 |
12 | static let shared = AdaptiveCardDownloader(
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AdaptiveCardDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | session: URLSession(configuration: .default),
14 | adaptiveCardCache: ImmediateAdaptiveCardCache()
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:32:21: warning: call to main actor-isolated initializer 'init(image:size:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
30 | image.resizable(resizingMode: .tile)
31 | case .repeatHorizontally:
32 | RepeatHorizontallyImageView(
| `- warning: call to main actor-isolated initializer 'init(image:size:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | image: image,
34 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/RepeatHorizontallyImageView.swift:12:9: note: calls to initializer 'init(image:size:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
10 | private let verticalAlignment: VAlignment
11 |
12 | init(
| `- note: calls to initializer 'init(image:size:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
13 | image: SwiftUI.Image,
14 | size: CGSize,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:38:21: warning: call to main actor-isolated initializer 'init(image:size:horizontalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
36 | )
37 | case .repeatVertically:
38 | RepeatVerticallyImageView(
| `- warning: call to main actor-isolated initializer 'init(image:size:horizontalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | image: image,
40 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/RepeatVerticallyImageView.swift:12:9: note: calls to initializer 'init(image:size:horizontalAlignment:)' from outside of its actor context are implicitly asynchronous
10 | private let horizontalAlignment: HAlignment
11 |
12 | init(
| `- note: calls to initializer 'init(image:size:horizontalAlignment:)' from outside of its actor context are implicitly asynchronous
13 | image: SwiftUI.Image,
14 | size: CGSize,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: call to main actor-isolated initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | func makeBody(state: NetworkImageState) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(state:)' part of global actor 'MainActor'
24 | switch state {
25 | case .loading, .failed:
:
42 | )
43 | default:
44 | CoverImageView(
| `- warning: call to main actor-isolated initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | image: image,
46 | aspectRatio: size.width / size.height,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/CoverImageView.swift:13:9: note: calls to initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
11 | private let verticalAlignment: VAlignment
12 |
13 | init(
| `- note: calls to initializer 'init(image:aspectRatio:horizontalAlignment:verticalAlignment:)' from outside of its actor context are implicitly asynchronous
14 | image: SwiftUI.Image,
15 | aspectRatio: CGFloat,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:32:21: warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
30 | image.resizable(resizingMode: .tile)
31 | case .repeatHorizontally:
32 | RepeatHorizontallyImageView(
| |- warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.verticalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
33 | image: image,
34 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:38:21: warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
36 | )
37 | case .repeatVertically:
38 | RepeatVerticallyImageView(
| |- warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.horizontalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
39 | image: image,
40 | size: size,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
42 | )
43 | default:
44 | CoverImageView(
| |- warning: sending 'self.horizontalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.horizontalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
45 | image: image,
46 | aspectRatio: size.width / size.height,
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/BackgroundImage/BackgroundImageStyle.swift:44:21: warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
42 | )
43 | default:
44 | CoverImageView(
| |- warning: sending 'self.verticalAlignment' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.verticalAlignment' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
45 | image: image,
46 | aspectRatio: size.width / size.height,
[154/170] Compiling AdaptiveCardUI CoverImageView.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/CardElement/CustomCardElementView.swift:53:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
51 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
52 | private struct CustomCardElementViewFactoriesKey: EnvironmentKey {
53 | static let defaultValue: [String: CustomCardElementViewFactory] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
[155/170] Compiling AdaptiveCardUI RepeatHorizontallyImageView.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/CardElement/CustomCardElementView.swift:53:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
51 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
52 | private struct CustomCardElementViewFactoriesKey: EnvironmentKey {
53 | static let defaultValue: [String: CustomCardElementViewFactory] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
[156/170] Compiling AdaptiveCardUI RepeatVerticallyImageView.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/CardElement/CustomCardElementView.swift:53:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
51 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
52 | private struct CustomCardElementViewFactoriesKey: EnvironmentKey {
53 | static let defaultValue: [String: CustomCardElementViewFactory] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
[157/170] Compiling AdaptiveCardUI CardElementList.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/CardElement/CustomCardElementView.swift:53:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
51 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
52 | private struct CustomCardElementViewFactoriesKey: EnvironmentKey {
53 | static let defaultValue: [String: CustomCardElementViewFactory] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
[158/170] Compiling AdaptiveCardUI CardElementView.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/CardElement/CustomCardElementView.swift:53:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
51 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
52 | private struct CustomCardElementViewFactoriesKey: EnvironmentKey {
53 | static let defaultValue: [String: CustomCardElementViewFactory] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
[159/170] Compiling AdaptiveCardUI CustomCardElementView.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/CardElement/CustomCardElementView.swift:53:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
51 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
52 | private struct CustomCardElementViewFactoriesKey: EnvironmentKey {
53 | static let defaultValue: [String: CustomCardElementViewFactory] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
[160/170] Compiling AdaptiveCardUI SpacingCardElementView.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/CardElement/CustomCardElementView.swift:53:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
51 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
52 | private struct CustomCardElementViewFactoriesKey: EnvironmentKey {
53 | static let defaultValue: [String: CustomCardElementViewFactory] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
[161/170] Compiling AdaptiveCardUI Color+ARGBHex.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/CardElement/CustomCardElementView.swift:53:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
51 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
52 | private struct CustomCardElementViewFactoriesKey: EnvironmentKey {
53 | static let defaultValue: [String: CustomCardElementViewFactory] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
[162/170] Compiling AdaptiveCardUI ColumnSetView.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/CardElement/CustomCardElementView.swift:53:20: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
51 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
52 | private struct CustomCardElementViewFactoriesKey: EnvironmentKey {
53 | static let defaultValue: [String: CustomCardElementViewFactory] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : CustomCardElementViewFactory]' (aka 'Dictionary<String, (any CustomCardElement) -> AnyView>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
[163/170] Compiling AdaptiveCardUI Font.Design+FontType.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Text/TextElement.swift:83:16: warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | private extension ISO8601DateFormatter {
83 | static let withInternetDateTime: ISO8601DateFormatter = {
| |- warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | let formatter = ISO8601DateFormatter()
85 | formatter.formatOptions = [.withInternetDateTime]
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[164/170] Compiling AdaptiveCardUI Font.Weight+FontWeight.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Text/TextElement.swift:83:16: warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | private extension ISO8601DateFormatter {
83 | static let withInternetDateTime: ISO8601DateFormatter = {
| |- warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | let formatter = ISO8601DateFormatter()
85 | formatter.formatOptions = [.withInternetDateTime]
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[165/170] Compiling AdaptiveCardUI RichTextBlockView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Text/TextElement.swift:83:16: warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | private extension ISO8601DateFormatter {
83 | static let withInternetDateTime: ISO8601DateFormatter = {
| |- warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | let formatter = ISO8601DateFormatter()
85 | formatter.formatOptions = [.withInternetDateTime]
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[166/170] Compiling AdaptiveCardUI Text+Parsing.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Text/TextElement.swift:83:16: warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | private extension ISO8601DateFormatter {
83 | static let withInternetDateTime: ISO8601DateFormatter = {
| |- warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | let formatter = ISO8601DateFormatter()
85 | formatter.formatOptions = [.withInternetDateTime]
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[167/170] Compiling AdaptiveCardUI TextAlignment+HAlignment.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Text/TextElement.swift:83:16: warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | private extension ISO8601DateFormatter {
83 | static let withInternetDateTime: ISO8601DateFormatter = {
| |- warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | let formatter = ISO8601DateFormatter()
85 | formatter.formatOptions = [.withInternetDateTime]
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[168/170] Compiling AdaptiveCardUI TextBlockView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Text/TextElement.swift:83:16: warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | private extension ISO8601DateFormatter {
83 | static let withInternetDateTime: ISO8601DateFormatter = {
| |- warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | let formatter = ISO8601DateFormatter()
85 | formatter.formatOptions = [.withInternetDateTime]
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[169/170] Compiling AdaptiveCardUI TextElement.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Text/TextElement.swift:83:16: warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | private extension ISO8601DateFormatter {
83 | static let withInternetDateTime: ISO8601DateFormatter = {
| |- warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | let formatter = ISO8601DateFormatter()
85 | formatter.formatOptions = [.withInternetDateTime]
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[170/170] Compiling AdaptiveCardUI resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/UI/Text/TextElement.swift:83:16: warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | private extension ISO8601DateFormatter {
83 | static let withInternetDateTime: ISO8601DateFormatter = {
| |- warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | let formatter = ISO8601DateFormatter()
85 | formatter.formatOptions = [.withInternetDateTime]
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
Build complete! (22.90s)
Build complete.
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "defaultcodable",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/gonzalezreal/DefaultCodable"
},
{
"identity" : "anyvalue",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/gonzalezreal/AnyValue"
},
{
"identity" : "networkimage",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/gonzalezreal/NetworkImage"
},
{
"identity" : "combine-schedulers",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/combine-schedulers"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing"
}
],
"manifest_display_name" : "AdaptiveCardUI",
"name" : "AdaptiveCardUI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "AdaptiveCard",
"targets" : [
"AdaptiveCard"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AdaptiveCardUI",
"targets" : [
"AdaptiveCardUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AdaptiveCardUITests",
"module_type" : "SwiftTarget",
"name" : "AdaptiveCardUITests",
"path" : "Tests/AdaptiveCardUITests",
"product_dependencies" : [
"SnapshotTesting"
],
"sources" : [
"Configuration/ActionSetConfigurationTests.swift",
"Configuration/FontConfigurationTests.swift",
"Configuration/ImageSizeConfigurationTests.swift",
"Configuration/ShowCardConfigurationTests.swift",
"Configuration/SpacingConfigurationTests.swift",
"Logic/AdaptiveCardDuplicateIdentifiersTests.swift",
"Logic/AdaptiveCardFeatureAdaptableTests.swift",
"Logic/AdaptiveCardImageURLsTests.swift",
"Logic/AdaptiveCardStoreTests.swift",
"Logic/AdaptiveCardToggleVisibilityTests.swift",
"UI/ActionRenderingTests.swift",
"UI/AdaptiveCardConfiguration+Test.swift",
"UI/ColorTests.swift",
"UI/ColumnSetRenderingTests.swift",
"UI/ContainerRenderingTests.swift",
"UI/CustomCardElementRenderingTests.swift",
"UI/CustomCardElements/RepoLanguage.swift",
"UI/CustomCardElements/RepoLanguageView.swift",
"UI/CustomCardElements/StarCount.swift",
"UI/CustomCardElements/StarCountView.swift",
"UI/FactSetRenderingTests.swift",
"UI/ImageRenderingTests.swift",
"UI/ImageSetRenderingTests.swift",
"UI/RichTextBlockRenderingTests.swift",
"UI/TestHelpers.swift",
"UI/TextBlockRenderingTests.swift",
"UI/TextElementTests.swift"
],
"target_dependencies" : [
"AdaptiveCardUI"
],
"type" : "test"
},
{
"c99name" : "AdaptiveCardUI",
"module_type" : "SwiftTarget",
"name" : "AdaptiveCardUI",
"path" : "Sources/AdaptiveCardUI",
"product_dependencies" : [
"NetworkImage",
"CombineSchedulers"
],
"product_memberships" : [
"AdaptiveCardUI"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/AdaptiveCardUI/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
}
],
"sources" : [
"Configuration/ActionSetConfiguration.swift",
"Configuration/AdaptiveCardConfiguration.swift",
"Configuration/Color+Configuration.swift",
"Configuration/ContainerConfiguration.swift",
"Configuration/ContainerStyleConfiguration.swift",
"Configuration/EnvironmentValues+Configuration.swift",
"Configuration/FactSetConfiguration.swift",
"Configuration/FontConfiguration.swift",
"Configuration/FontTypeConfiguration.swift",
"Configuration/ImageSizeConfiguration.swift",
"Configuration/ShowCardConfiguration.swift",
"Configuration/SpacingConfiguration.swift",
"Configuration/TextBlockConfiguration.swift",
"Configuration/TextColorConfiguration.swift",
"Configuration/TextColorPair.swift",
"Configuration/View+Configuration.swift",
"Internal/Exports.swift",
"Logic/FeatureAdaptation/Action+FeatureAdaptable.swift",
"Logic/FeatureAdaptation/AdaptiveCard+FeatureAdaptable.swift",
"Logic/FeatureAdaptation/CardElement+FeatureAdaptable.swift",
"Logic/FeatureAdaptation/ColumnSetElement+FeatureAdaptable.swift",
"Logic/FeatureAdaptation/Fallback+FeatureAdaptable.swift",
"Logic/FeatureAdaptation/FeatureAdaptable.swift",
"Logic/Store/AdaptiveCard+DuplicateIdentifiers.swift",
"Logic/Store/AdaptiveCard+ImageURLs.swift",
"Logic/Store/AdaptiveCardCache.swift",
"Logic/Store/AdaptiveCardDownloader.swift",
"Logic/Store/AdaptiveCardStore.swift",
"Logic/Store/ImmediateAdaptiveCardCache.swift",
"Logic/ToggleVisibility/AdaptiveCard+Toggleable.swift",
"Logic/ToggleVisibility/CardElement+Toggleable.swift",
"Logic/ToggleVisibility/ColumnSetElement+Toggleable.swift",
"Logic/ToggleVisibility/Image+Toggleable.swift",
"Logic/ToggleVisibility/Toggleable.swift",
"UI/ActionSet/ActionSetView.swift",
"UI/ActionSet/ActionView.swift",
"UI/ActionSet/CapsuleButtonModifier.swift",
"UI/ActionSet/CapsuleButtonStyle.swift",
"UI/AdaptiveCard/AdaptiveCardFeatures.swift",
"UI/AdaptiveCard/AdaptiveCardSourceView.swift",
"UI/AdaptiveCard/AdaptiveCardView.swift",
"UI/AdaptiveCard/ErrorView.swift",
"UI/AdaptiveCard/PrimitiveCardView.swift",
"UI/BackgroundImage/BackgroundImageStyle.swift",
"UI/BackgroundImage/BackgroundImageView.swift",
"UI/BackgroundImage/CoverImageView.swift",
"UI/BackgroundImage/RepeatHorizontallyImageView.swift",
"UI/BackgroundImage/RepeatVerticallyImageView.swift",
"UI/CardElement/CardElementList.swift",
"UI/CardElement/CardElementView.swift",
"UI/CardElement/CustomCardElementView.swift",
"UI/CardElement/SpacingCardElementView.swift",
"UI/Color/Color+ARGBHex.swift",
"UI/ColumnSet/ColumnSetView.swift",
"UI/ColumnSet/ColumnView.swift",
"UI/ColumnSet/SpacingColumnView.swift",
"UI/Container/ContainerView.swift",
"UI/Container/EnvironmentValues+ContainerStyle.swift",
"UI/FactSet/FactSetView.swift",
"UI/Helpers/Alignment+VAlignment.swift",
"UI/Helpers/BlockElementHeight+CGFloat.swift",
"UI/Helpers/CollectSizeModifier.swift",
"UI/Helpers/FlowLayout.swift",
"UI/Helpers/HAlign.swift",
"UI/Helpers/HAlignment+Offset.swift",
"UI/Helpers/Padded.swift",
"UI/Helpers/PixelDimension+CGFloat.swift",
"UI/Helpers/SelectActionModifier.swift",
"UI/Helpers/VAlignment+Offset.swift",
"UI/Image/AutoImageView.swift",
"UI/Image/ContentSizeKey.swift",
"UI/Image/CustomImageStyle.swift",
"UI/Image/FixedSizeImageView.swift",
"UI/Image/ImageSetView.swift",
"UI/Image/ImageSizeImageView.swift",
"UI/Image/ImageStyleView.swift",
"UI/Image/ImageView.swift",
"UI/Image/PrimitiveImageStyle.swift",
"UI/Text/Font.Design+FontType.swift",
"UI/Text/Font.Weight+FontWeight.swift",
"UI/Text/RichTextBlockView.swift",
"UI/Text/Text+Parsing.swift",
"UI/Text/TextAlignment+HAlignment.swift",
"UI/Text/TextBlockView.swift",
"UI/Text/TextElement.swift"
],
"target_dependencies" : [
"AdaptiveCard"
],
"type" : "library"
},
{
"c99name" : "AdaptiveCardTests",
"module_type" : "SwiftTarget",
"name" : "AdaptiveCardTests",
"path" : "Tests/AdaptiveCardTests",
"sources" : [
"ActionTests.swift",
"BackgroundImageTests.swift",
"BlockElementHeightTests.swift",
"CardElementTests.swift",
"ColumnSetElementTests.swift",
"ColumnWidthTests.swift",
"PixelDimensionTests.swift",
"SemanticVersionTests.swift",
"TargetElementTests.swift",
"TextRunTests.swift"
],
"target_dependencies" : [
"AdaptiveCard"
],
"type" : "test"
},
{
"c99name" : "AdaptiveCard",
"module_type" : "SwiftTarget",
"name" : "AdaptiveCard",
"path" : "Sources/AdaptiveCard",
"product_dependencies" : [
"DefaultCodable",
"AnyValue"
],
"product_memberships" : [
"AdaptiveCard",
"AdaptiveCardUI"
],
"sources" : [
"Actions/Action.swift",
"Actions/ActionProtocol.swift",
"Actions/ActionStyle.swift",
"Actions/OpenURLAction.swift",
"Actions/ShowCardAction.swift",
"Actions/SubmitAction.swift",
"Actions/TargetElement.swift",
"Actions/ToggleVisibilityAction.swift",
"Actions/UnknownAction.swift",
"AdaptiveCard.swift",
"Common/BackgroundImage.swift",
"Common/BlockElementHeight.swift",
"Common/ContainerStyle.swift",
"Common/FontSize.swift",
"Common/FontType.swift",
"Common/FontWeight.swift",
"Common/HAlignment.swift",
"Common/ImageFillMode.swift",
"Common/ImageSize.swift",
"Common/ImageStyle.swift",
"Common/ItemIdentifier.swift",
"Common/PixelDimension.swift",
"Common/SemanticVersion.swift",
"Common/Spacing.swift",
"Common/TextColor.swift",
"Common/VAlignment.swift",
"Containers/ActionSet.swift",
"Containers/ColumnSet.swift",
"Containers/Container.swift",
"Containers/Fact.swift",
"Containers/FactSet.swift",
"Containers/ImageSet.swift",
"Elements/CardElement.swift",
"Elements/CardElementProtocol.swift",
"Elements/Column.swift",
"Elements/ColumnSetElement.swift",
"Elements/ColumnSetElementProtocol.swift",
"Elements/ColumnWidth.swift",
"Elements/CustomCardElement.swift",
"Elements/Fallback.swift",
"Elements/Image.swift",
"Elements/RichTextBlock.swift",
"Elements/TextBlock.swift",
"Elements/TextRun.swift",
"Elements/UnknownCardElement.swift",
"Elements/UnknownColumnSetElement.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.