Build Information
Failed to build swift-markdown-ui, reference main (a9c761
), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 03:14:49 UTC.
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
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
118 | }
119 | }
[166/175] Compiling MarkdownUI MarkdownParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:8:22: warning: type 'FontPropertiesAttribute.Value' (aka 'FontProperties') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
6 | var body: some View {
7 | TextStyleAttributesReader { attributes in
8 | let fontSize = attributes.fontProperties?.scaledSize ?? FontProperties.defaultSize
| `- warning: type 'FontPropertiesAttribute.Value' (aka 'FontProperties') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
9 | self.image.font(.system(size: round(fontSize / 3)))
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/TextStyle/Styles/FontProperties.swift:4:15: note: consider making struct 'FontProperties' conform to the 'Sendable' protocol
2 |
3 | /// The characteristics of a font.
4 | public struct FontProperties: Hashable {
| `- note: consider making struct 'FontProperties' conform to the 'Sendable' protocol
5 | /// The font family.
6 | public enum Family: Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:69:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
67 | Text("\(configuration.itemNumber).")
68 | .monospacedDigit()
69 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:77:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | BlockStyle { configuration in
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:100:18: warning: main actor-isolated static property 'disc' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | public static func disc(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
99 | BlockStyle { _ in
100 | ListBullet.disc
| `- warning: main actor-isolated static property 'disc' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:13:14: note: static property declared here
11 | }
12 |
13 | static var disc: Self {
| `- note: static property declared here
14 | .init(image: .init(systemName: "circle.fill"))
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:108:18: warning: main actor-isolated static property 'circle' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 | public static func circle(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
107 | BlockStyle { _ in
108 | ListBullet.circle
| `- warning: main actor-isolated static property 'circle' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:17:14: note: static property declared here
15 | }
16 |
17 | static var circle: Self {
| `- note: static property declared here
18 | .init(image: .init(systemName: "circle"))
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:116:18: warning: main actor-isolated static property 'square' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 | public static func square(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
115 | BlockStyle { _ in
116 | ListBullet.square
| `- warning: main actor-isolated static property 'square' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:21:14: note: static property declared here
19 | }
20 |
21 | static var square: Self {
| `- note: static property declared here
22 | .init(image: .init(systemName: "square.fill"))
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:69:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
67 | Text("\(configuration.itemNumber).")
68 | .monospacedDigit()
69 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:77:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
75 | BlockStyle { configuration in
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
118 | }
119 | }
[167/175] Compiling MarkdownUI AttributedStringInlineRenderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:8:22: warning: type 'FontPropertiesAttribute.Value' (aka 'FontProperties') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
6 | var body: some View {
7 | TextStyleAttributesReader { attributes in
8 | let fontSize = attributes.fontProperties?.scaledSize ?? FontProperties.defaultSize
| `- warning: type 'FontPropertiesAttribute.Value' (aka 'FontProperties') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
9 | self.image.font(.system(size: round(fontSize / 3)))
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/TextStyle/Styles/FontProperties.swift:4:15: note: consider making struct 'FontProperties' conform to the 'Sendable' protocol
2 |
3 | /// The characteristics of a font.
4 | public struct FontProperties: Hashable {
| `- note: consider making struct 'FontProperties' conform to the 'Sendable' protocol
5 | /// The font family.
6 | public enum Family: Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:69:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
67 | Text("\(configuration.itemNumber).")
68 | .monospacedDigit()
69 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:77:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | BlockStyle { configuration in
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:100:18: warning: main actor-isolated static property 'disc' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | public static func disc(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
99 | BlockStyle { _ in
100 | ListBullet.disc
| `- warning: main actor-isolated static property 'disc' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:13:14: note: static property declared here
11 | }
12 |
13 | static var disc: Self {
| `- note: static property declared here
14 | .init(image: .init(systemName: "circle.fill"))
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:108:18: warning: main actor-isolated static property 'circle' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 | public static func circle(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
107 | BlockStyle { _ in
108 | ListBullet.circle
| `- warning: main actor-isolated static property 'circle' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:17:14: note: static property declared here
15 | }
16 |
17 | static var circle: Self {
| `- note: static property declared here
18 | .init(image: .init(systemName: "circle"))
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:116:18: warning: main actor-isolated static property 'square' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 | public static func square(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
115 | BlockStyle { _ in
116 | ListBullet.square
| `- warning: main actor-isolated static property 'square' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:21:14: note: static property declared here
19 | }
20 |
21 | static var square: Self {
| `- note: static property declared here
22 | .init(image: .init(systemName: "square.fill"))
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:69:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
67 | Text("\(configuration.itemNumber).")
68 | .monospacedDigit()
69 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:77:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
75 | BlockStyle { configuration in
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
118 | }
119 | }
[168/175] Compiling MarkdownUI InlineTextStyles.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:8:22: warning: type 'FontPropertiesAttribute.Value' (aka 'FontProperties') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
6 | var body: some View {
7 | TextStyleAttributesReader { attributes in
8 | let fontSize = attributes.fontProperties?.scaledSize ?? FontProperties.defaultSize
| `- warning: type 'FontPropertiesAttribute.Value' (aka 'FontProperties') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
9 | self.image.font(.system(size: round(fontSize / 3)))
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/TextStyle/Styles/FontProperties.swift:4:15: note: consider making struct 'FontProperties' conform to the 'Sendable' protocol
2 |
3 | /// The characteristics of a font.
4 | public struct FontProperties: Hashable {
| `- note: consider making struct 'FontProperties' conform to the 'Sendable' protocol
5 | /// The font family.
6 | public enum Family: Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:69:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
67 | Text("\(configuration.itemNumber).")
68 | .monospacedDigit()
69 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:77:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | BlockStyle { configuration in
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:100:18: warning: main actor-isolated static property 'disc' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | public static func disc(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
99 | BlockStyle { _ in
100 | ListBullet.disc
| `- warning: main actor-isolated static property 'disc' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:13:14: note: static property declared here
11 | }
12 |
13 | static var disc: Self {
| `- note: static property declared here
14 | .init(image: .init(systemName: "circle.fill"))
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:108:18: warning: main actor-isolated static property 'circle' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 | public static func circle(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
107 | BlockStyle { _ in
108 | ListBullet.circle
| `- warning: main actor-isolated static property 'circle' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:17:14: note: static property declared here
15 | }
16 |
17 | static var circle: Self {
| `- note: static property declared here
18 | .init(image: .init(systemName: "circle"))
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:116:18: warning: main actor-isolated static property 'square' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 | public static func square(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
115 | BlockStyle { _ in
116 | ListBullet.square
| `- warning: main actor-isolated static property 'square' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:21:14: note: static property declared here
19 | }
20 |
21 | static var square: Self {
| `- note: static property declared here
22 | .init(image: .init(systemName: "square.fill"))
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:69:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
67 | Text("\(configuration.itemNumber).")
68 | .monospacedDigit()
69 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:77:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
75 | BlockStyle { configuration in
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
118 | }
119 | }
[169/175] Compiling MarkdownUI TextInlineRenderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:8:22: warning: type 'FontPropertiesAttribute.Value' (aka 'FontProperties') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
6 | var body: some View {
7 | TextStyleAttributesReader { attributes in
8 | let fontSize = attributes.fontProperties?.scaledSize ?? FontProperties.defaultSize
| `- warning: type 'FontPropertiesAttribute.Value' (aka 'FontProperties') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
9 | self.image.font(.system(size: round(fontSize / 3)))
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/TextStyle/Styles/FontProperties.swift:4:15: note: consider making struct 'FontProperties' conform to the 'Sendable' protocol
2 |
3 | /// The characteristics of a font.
4 | public struct FontProperties: Hashable {
| `- note: consider making struct 'FontProperties' conform to the 'Sendable' protocol
5 | /// The font family.
6 | public enum Family: Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:69:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
67 | Text("\(configuration.itemNumber).")
68 | .monospacedDigit()
69 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:77:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | BlockStyle { configuration in
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:100:18: warning: main actor-isolated static property 'disc' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | public static func disc(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
99 | BlockStyle { _ in
100 | ListBullet.disc
| `- warning: main actor-isolated static property 'disc' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:13:14: note: static property declared here
11 | }
12 |
13 | static var disc: Self {
| `- note: static property declared here
14 | .init(image: .init(systemName: "circle.fill"))
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:108:18: warning: main actor-isolated static property 'circle' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 | public static func circle(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
107 | BlockStyle { _ in
108 | ListBullet.circle
| `- warning: main actor-isolated static property 'circle' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:17:14: note: static property declared here
15 | }
16 |
17 | static var circle: Self {
| `- note: static property declared here
18 | .init(image: .init(systemName: "circle"))
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:116:18: warning: main actor-isolated static property 'square' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 | public static func square(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
115 | BlockStyle { _ in
116 | ListBullet.square
| `- warning: main actor-isolated static property 'square' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:21:14: note: static property declared here
19 | }
20 |
21 | static var square: Self {
| `- note: static property declared here
22 | .init(image: .init(systemName: "square.fill"))
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:69:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
67 | Text("\(configuration.itemNumber).")
68 | .monospacedDigit()
69 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:77:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
75 | BlockStyle { configuration in
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
118 | }
119 | }
[170/175] Compiling MarkdownUI BlockConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:8:22: warning: type 'FontPropertiesAttribute.Value' (aka 'FontProperties') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
6 | var body: some View {
7 | TextStyleAttributesReader { attributes in
8 | let fontSize = attributes.fontProperties?.scaledSize ?? FontProperties.defaultSize
| `- warning: type 'FontPropertiesAttribute.Value' (aka 'FontProperties') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
9 | self.image.font(.system(size: round(fontSize / 3)))
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/TextStyle/Styles/FontProperties.swift:4:15: note: consider making struct 'FontProperties' conform to the 'Sendable' protocol
2 |
3 | /// The characteristics of a font.
4 | public struct FontProperties: Hashable {
| `- note: consider making struct 'FontProperties' conform to the 'Sendable' protocol
5 | /// The font family.
6 | public enum Family: Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:69:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
67 | Text("\(configuration.itemNumber).")
68 | .monospacedDigit()
69 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:77:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | BlockStyle { configuration in
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:100:18: warning: main actor-isolated static property 'disc' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | public static func disc(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
99 | BlockStyle { _ in
100 | ListBullet.disc
| `- warning: main actor-isolated static property 'disc' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:13:14: note: static property declared here
11 | }
12 |
13 | static var disc: Self {
| `- note: static property declared here
14 | .init(image: .init(systemName: "circle.fill"))
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:108:18: warning: main actor-isolated static property 'circle' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 | public static func circle(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
107 | BlockStyle { _ in
108 | ListBullet.circle
| `- warning: main actor-isolated static property 'circle' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:17:14: note: static property declared here
15 | }
16 |
17 | static var circle: Self {
| `- note: static property declared here
18 | .init(image: .init(systemName: "circle"))
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:116:18: warning: main actor-isolated static property 'square' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 | public static func square(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
115 | BlockStyle { _ in
116 | ListBullet.square
| `- warning: main actor-isolated static property 'square' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:21:14: note: static property declared here
19 | }
20 |
21 | static var square: Self {
| `- note: static property declared here
22 | .init(image: .init(systemName: "square.fill"))
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:69:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
67 | Text("\(configuration.itemNumber).")
68 | .monospacedDigit()
69 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:77:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
75 | BlockStyle { configuration in
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
118 | }
119 | }
[171/175] Compiling MarkdownUI BlockStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:8:22: warning: type 'FontPropertiesAttribute.Value' (aka 'FontProperties') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
6 | var body: some View {
7 | TextStyleAttributesReader { attributes in
8 | let fontSize = attributes.fontProperties?.scaledSize ?? FontProperties.defaultSize
| `- warning: type 'FontPropertiesAttribute.Value' (aka 'FontProperties') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
9 | self.image.font(.system(size: round(fontSize / 3)))
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/TextStyle/Styles/FontProperties.swift:4:15: note: consider making struct 'FontProperties' conform to the 'Sendable' protocol
2 |
3 | /// The characteristics of a font.
4 | public struct FontProperties: Hashable {
| `- note: consider making struct 'FontProperties' conform to the 'Sendable' protocol
5 | /// The font family.
6 | public enum Family: Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:69:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
67 | Text("\(configuration.itemNumber).")
68 | .monospacedDigit()
69 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:77:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | BlockStyle { configuration in
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:100:18: warning: main actor-isolated static property 'disc' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | public static func disc(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
99 | BlockStyle { _ in
100 | ListBullet.disc
| `- warning: main actor-isolated static property 'disc' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:13:14: note: static property declared here
11 | }
12 |
13 | static var disc: Self {
| `- note: static property declared here
14 | .init(image: .init(systemName: "circle.fill"))
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:108:18: warning: main actor-isolated static property 'circle' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 | public static func circle(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
107 | BlockStyle { _ in
108 | ListBullet.circle
| `- warning: main actor-isolated static property 'circle' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:17:14: note: static property declared here
15 | }
16 |
17 | static var circle: Self {
| `- note: static property declared here
18 | .init(image: .init(systemName: "circle"))
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:116:18: warning: main actor-isolated static property 'square' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 | public static func square(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
115 | BlockStyle { _ in
116 | ListBullet.square
| `- warning: main actor-isolated static property 'square' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:21:14: note: static property declared here
19 | }
20 |
21 | static var square: Self {
| `- note: static property declared here
22 | .init(image: .init(systemName: "square.fill"))
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:69:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
67 | Text("\(configuration.itemNumber).")
68 | .monospacedDigit()
69 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:77:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
75 | BlockStyle { configuration in
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
118 | }
119 | }
[172/175] Compiling MarkdownUI CodeBlockConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:8:22: warning: type 'FontPropertiesAttribute.Value' (aka 'FontProperties') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
6 | var body: some View {
7 | TextStyleAttributesReader { attributes in
8 | let fontSize = attributes.fontProperties?.scaledSize ?? FontProperties.defaultSize
| `- warning: type 'FontPropertiesAttribute.Value' (aka 'FontProperties') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
9 | self.image.font(.system(size: round(fontSize / 3)))
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/TextStyle/Styles/FontProperties.swift:4:15: note: consider making struct 'FontProperties' conform to the 'Sendable' protocol
2 |
3 | /// The characteristics of a font.
4 | public struct FontProperties: Hashable {
| `- note: consider making struct 'FontProperties' conform to the 'Sendable' protocol
5 | /// The font family.
6 | public enum Family: Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:69:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
67 | Text("\(configuration.itemNumber).")
68 | .monospacedDigit()
69 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:77:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | BlockStyle { configuration in
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:100:18: warning: main actor-isolated static property 'disc' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | public static func disc(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
99 | BlockStyle { _ in
100 | ListBullet.disc
| `- warning: main actor-isolated static property 'disc' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:13:14: note: static property declared here
11 | }
12 |
13 | static var disc: Self {
| `- note: static property declared here
14 | .init(image: .init(systemName: "circle.fill"))
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:108:18: warning: main actor-isolated static property 'circle' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 | public static func circle(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
107 | BlockStyle { _ in
108 | ListBullet.circle
| `- warning: main actor-isolated static property 'circle' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:17:14: note: static property declared here
15 | }
16 |
17 | static var circle: Self {
| `- note: static property declared here
18 | .init(image: .init(systemName: "circle"))
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:116:18: warning: main actor-isolated static property 'square' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 | public static func square(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
115 | BlockStyle { _ in
116 | ListBullet.square
| `- warning: main actor-isolated static property 'square' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:21:14: note: static property declared here
19 | }
20 |
21 | static var square: Self {
| `- note: static property declared here
22 | .init(image: .init(systemName: "square.fill"))
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:69:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
67 | Text("\(configuration.itemNumber).")
68 | .monospacedDigit()
69 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:77:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
75 | BlockStyle { configuration in
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
118 | }
119 | }
[173/175] Compiling MarkdownUI ListBullet.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:8:22: warning: type 'FontPropertiesAttribute.Value' (aka 'FontProperties') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
6 | var body: some View {
7 | TextStyleAttributesReader { attributes in
8 | let fontSize = attributes.fontProperties?.scaledSize ?? FontProperties.defaultSize
| `- warning: type 'FontPropertiesAttribute.Value' (aka 'FontProperties') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
9 | self.image.font(.system(size: round(fontSize / 3)))
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/TextStyle/Styles/FontProperties.swift:4:15: note: consider making struct 'FontProperties' conform to the 'Sendable' protocol
2 |
3 | /// The characteristics of a font.
4 | public struct FontProperties: Hashable {
| `- note: consider making struct 'FontProperties' conform to the 'Sendable' protocol
5 | /// The font family.
6 | public enum Family: Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:69:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
67 | Text("\(configuration.itemNumber).")
68 | .monospacedDigit()
69 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:77:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | BlockStyle { configuration in
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:100:18: warning: main actor-isolated static property 'disc' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | public static func disc(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
99 | BlockStyle { _ in
100 | ListBullet.disc
| `- warning: main actor-isolated static property 'disc' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:13:14: note: static property declared here
11 | }
12 |
13 | static var disc: Self {
| `- note: static property declared here
14 | .init(image: .init(systemName: "circle.fill"))
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:108:18: warning: main actor-isolated static property 'circle' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 | public static func circle(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
107 | BlockStyle { _ in
108 | ListBullet.circle
| `- warning: main actor-isolated static property 'circle' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:17:14: note: static property declared here
15 | }
16 |
17 | static var circle: Self {
| `- note: static property declared here
18 | .init(image: .init(systemName: "circle"))
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:116:18: warning: main actor-isolated static property 'square' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 | public static func square(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
115 | BlockStyle { _ in
116 | ListBullet.square
| `- warning: main actor-isolated static property 'square' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:21:14: note: static property declared here
19 | }
20 |
21 | static var square: Self {
| `- note: static property declared here
22 | .init(image: .init(systemName: "square.fill"))
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:69:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
67 | Text("\(configuration.itemNumber).")
68 | .monospacedDigit()
69 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:77:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
75 | BlockStyle { configuration in
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
118 | }
119 | }
[174/175] Compiling MarkdownUI ListMarkerConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:8:22: warning: type 'FontPropertiesAttribute.Value' (aka 'FontProperties') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
6 | var body: some View {
7 | TextStyleAttributesReader { attributes in
8 | let fontSize = attributes.fontProperties?.scaledSize ?? FontProperties.defaultSize
| `- warning: type 'FontPropertiesAttribute.Value' (aka 'FontProperties') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
9 | self.image.font(.system(size: round(fontSize / 3)))
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/TextStyle/Styles/FontProperties.swift:4:15: note: consider making struct 'FontProperties' conform to the 'Sendable' protocol
2 |
3 | /// The characteristics of a font.
4 | public struct FontProperties: Hashable {
| `- note: consider making struct 'FontProperties' conform to the 'Sendable' protocol
5 | /// The font family.
6 | public enum Family: Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:69:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
67 | Text("\(configuration.itemNumber).")
68 | .monospacedDigit()
69 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:77:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | BlockStyle { configuration in
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:100:18: warning: main actor-isolated static property 'disc' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | public static func disc(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
99 | BlockStyle { _ in
100 | ListBullet.disc
| `- warning: main actor-isolated static property 'disc' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:13:14: note: static property declared here
11 | }
12 |
13 | static var disc: Self {
| `- note: static property declared here
14 | .init(image: .init(systemName: "circle.fill"))
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:108:18: warning: main actor-isolated static property 'circle' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 | public static func circle(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
107 | BlockStyle { _ in
108 | ListBullet.circle
| `- warning: main actor-isolated static property 'circle' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:17:14: note: static property declared here
15 | }
16 |
17 | static var circle: Self {
| `- note: static property declared here
18 | .init(image: .init(systemName: "circle"))
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| `- warning: call to main actor-isolated instance method 'relativeFrame(minWidth:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:83:15: note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
81 | /// This method behaves like the one in SwiftUI but takes `RelativeSize`
82 | /// values instead of `CGFloat` for the width and height.
83 | public func relativeFrame(
| `- note: calls to instance method 'relativeFrame(minWidth:alignment:)' from outside of its actor context are implicitly asynchronous
84 | minWidth: RelativeSize,
85 | alignment: Alignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:116:18: warning: main actor-isolated static property 'square' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 | public static func square(minWidth: RelativeSize, alignment: Alignment = .center) -> Self {
115 | BlockStyle { _ in
116 | ListBullet.square
| `- warning: main actor-isolated static property 'square' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListBullet.swift:21:14: note: static property declared here
19 | }
20 |
21 | static var square: Self {
| `- note: static property declared here
22 | .init(image: .init(systemName: "square.fill"))
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:69:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
67 | Text("\(configuration.itemNumber).")
68 | .monospacedDigit()
69 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:77:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
75 | BlockStyle { configuration in
76 | Text(configuration.itemNumber.roman + ".")
77 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:85:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
83 | BlockStyle { configuration in
84 | Text(configuration.itemNumber.roman.lowercased() + ".")
85 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:93:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
91 | BlockStyle { _ in
92 | Text("-")
93 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:101:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
99 | BlockStyle { _ in
100 | ListBullet.disc
101 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:109:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
107 | BlockStyle { _ in
108 | ListBullet.circle
109 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift:117:10: warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
115 | BlockStyle { _ in
116 | ListBullet.square
117 | .relativeFrame(minWidth: minWidth, alignment: alignment)
| |- warning: sending 'minWidth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'minWidth' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
118 | }
119 | }
[175/175] Emitting module MarkdownUI
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Utility/RelativeSize.swift:36:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'RelativeSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | /// }
23 | /// ```
24 | public struct RelativeSize: Hashable {
| `- note: consider making struct 'RelativeSize' conform to the 'Sendable' protocol
25 | enum Unit: Hashable {
26 | case em
:
34 | extension RelativeSize {
35 | /// A size with a value of zero.
36 | public static let zero = RelativeSize(value: 0, unit: .rem)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'RelativeSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Creates a size value relative to the current font size.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme+Basic.swift:17:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
15 | /// Numbered list | 
16 | /// Table | 
17 | public static let basic = Theme()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
18 | .code {
19 | FontFamilyVariant(.monospaced)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme+DocC.swift:17:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
15 | /// Numbered list | 
16 | /// Table | 
17 | public static let docC = Theme()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
18 | .text {
19 | ForegroundColor(.text)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme+GitHub.swift:17:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
15 | /// Numbered list | 
16 | /// Table | 
17 | public static let gitHub = Theme()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
18 | .text {
19 | ForegroundColor(.text)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:104:14: warning: stored property 'text' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'any TextStyle'; this is an error in the Swift 6 language mode
102 | public struct Theme: Sendable {
103 | /// The default text style.
104 | public var text: TextStyle = EmptyTextStyle()
| `- warning: stored property 'text' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'any TextStyle'; this is an error in the Swift 6 language mode
105 |
106 | /// The inline code style.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/TextStyle/TextStyle.swift:60:17: note: protocol 'TextStyle' does not conform to the 'Sendable' protocol
58 | ///
59 | /// 
60 | public protocol TextStyle {
| `- note: protocol 'TextStyle' does not conform to the 'Sendable' protocol
61 | func _collectAttributes(in attributes: inout AttributeContainer)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:107:14: warning: stored property 'code' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'any TextStyle'; this is an error in the Swift 6 language mode
105 |
106 | /// The inline code style.
107 | public var code: TextStyle = FontFamilyVariant(.monospaced)
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'any TextStyle'; this is an error in the Swift 6 language mode
108 |
109 | /// The emphasis style.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/TextStyle/TextStyle.swift:60:17: note: protocol 'TextStyle' does not conform to the 'Sendable' protocol
58 | ///
59 | /// 
60 | public protocol TextStyle {
| `- note: protocol 'TextStyle' does not conform to the 'Sendable' protocol
61 | func _collectAttributes(in attributes: inout AttributeContainer)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:110:14: warning: stored property 'emphasis' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'any TextStyle'; this is an error in the Swift 6 language mode
108 |
109 | /// The emphasis style.
110 | public var emphasis: TextStyle = FontStyle(.italic)
| `- warning: stored property 'emphasis' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'any TextStyle'; this is an error in the Swift 6 language mode
111 |
112 | /// The strong style.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/TextStyle/TextStyle.swift:60:17: note: protocol 'TextStyle' does not conform to the 'Sendable' protocol
58 | ///
59 | /// 
60 | public protocol TextStyle {
| `- note: protocol 'TextStyle' does not conform to the 'Sendable' protocol
61 | func _collectAttributes(in attributes: inout AttributeContainer)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:113:14: warning: stored property 'strong' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'any TextStyle'; this is an error in the Swift 6 language mode
111 |
112 | /// The strong style.
113 | public var strong: TextStyle = FontWeight(.semibold)
| `- warning: stored property 'strong' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'any TextStyle'; this is an error in the Swift 6 language mode
114 |
115 | /// The strikethrough style.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/TextStyle/TextStyle.swift:60:17: note: protocol 'TextStyle' does not conform to the 'Sendable' protocol
58 | ///
59 | /// 
60 | public protocol TextStyle {
| `- note: protocol 'TextStyle' does not conform to the 'Sendable' protocol
61 | func _collectAttributes(in attributes: inout AttributeContainer)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:116:14: warning: stored property 'strikethrough' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'any TextStyle'; this is an error in the Swift 6 language mode
114 |
115 | /// The strikethrough style.
116 | public var strikethrough: TextStyle = StrikethroughStyle(.single)
| `- warning: stored property 'strikethrough' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'any TextStyle'; this is an error in the Swift 6 language mode
117 |
118 | /// The link style.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/TextStyle/TextStyle.swift:60:17: note: protocol 'TextStyle' does not conform to the 'Sendable' protocol
58 | ///
59 | /// 
60 | public protocol TextStyle {
| `- note: protocol 'TextStyle' does not conform to the 'Sendable' protocol
61 | func _collectAttributes(in attributes: inout AttributeContainer)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:119:14: warning: stored property 'link' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'any TextStyle'; this is an error in the Swift 6 language mode
117 |
118 | /// The link style.
119 | public var link: TextStyle = EmptyTextStyle()
| `- warning: stored property 'link' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'any TextStyle'; this is an error in the Swift 6 language mode
120 |
121 | var headings = Array(
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/TextStyle/TextStyle.swift:60:17: note: protocol 'TextStyle' does not conform to the 'Sendable' protocol
58 | ///
59 | /// 
60 | public protocol TextStyle {
| `- note: protocol 'TextStyle' does not conform to the 'Sendable' protocol
61 | func _collectAttributes(in attributes: inout AttributeContainer)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:121:7: warning: stored property 'headings' of 'Sendable'-conforming struct 'Theme' has non-sendable type '[BlockStyle<BlockConfiguration>]'; this is an error in the Swift 6 language mode
119 | public var link: TextStyle = EmptyTextStyle()
120 |
121 | var headings = Array(
| `- warning: stored property 'headings' of 'Sendable'-conforming struct 'Theme' has non-sendable type '[BlockStyle<BlockConfiguration>]'; this is an error in the Swift 6 language mode
122 | repeating: BlockStyle<BlockConfiguration> { $0.label },
123 | count: 6
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/BlockStyle.swift:40:15: note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
38 | ///
39 | /// 
40 | public struct BlockStyle<Configuration> {
| `- note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
41 | private let body: (Configuration) -> AnyView
42 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:163:14: warning: stored property 'paragraph' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<BlockConfiguration>'; this is an error in the Swift 6 language mode
161 |
162 | /// The paragraph style.
163 | public var paragraph = BlockStyle<BlockConfiguration> { $0.label }
| `- warning: stored property 'paragraph' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<BlockConfiguration>'; this is an error in the Swift 6 language mode
164 |
165 | /// The blockquote style.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/BlockStyle.swift:40:15: note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
38 | ///
39 | /// 
40 | public struct BlockStyle<Configuration> {
| `- note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
41 | private let body: (Configuration) -> AnyView
42 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:166:14: warning: stored property 'blockquote' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<BlockConfiguration>'; this is an error in the Swift 6 language mode
164 |
165 | /// The blockquote style.
166 | public var blockquote = BlockStyle<BlockConfiguration> { $0.label }
| `- warning: stored property 'blockquote' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<BlockConfiguration>'; this is an error in the Swift 6 language mode
167 |
168 | /// The code block style.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/BlockStyle.swift:40:15: note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
38 | ///
39 | /// 
40 | public struct BlockStyle<Configuration> {
| `- note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
41 | private let body: (Configuration) -> AnyView
42 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:169:14: warning: stored property 'codeBlock' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<CodeBlockConfiguration>'; this is an error in the Swift 6 language mode
167 |
168 | /// The code block style.
169 | public var codeBlock = BlockStyle<CodeBlockConfiguration> { $0.label }
| `- warning: stored property 'codeBlock' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<CodeBlockConfiguration>'; this is an error in the Swift 6 language mode
170 |
171 | /// The image style.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/BlockStyle.swift:40:15: note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
38 | ///
39 | /// 
40 | public struct BlockStyle<Configuration> {
| `- note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
41 | private let body: (Configuration) -> AnyView
42 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:172:14: warning: stored property 'image' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<BlockConfiguration>'; this is an error in the Swift 6 language mode
170 |
171 | /// The image style.
172 | public var image = BlockStyle<BlockConfiguration> { $0.label }
| `- warning: stored property 'image' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<BlockConfiguration>'; this is an error in the Swift 6 language mode
173 |
174 | /// The list style.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/BlockStyle.swift:40:15: note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
38 | ///
39 | /// 
40 | public struct BlockStyle<Configuration> {
| `- note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
41 | private let body: (Configuration) -> AnyView
42 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:175:14: warning: stored property 'list' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<BlockConfiguration>'; this is an error in the Swift 6 language mode
173 |
174 | /// The list style.
175 | public var list = BlockStyle<BlockConfiguration> { $0.label }
| `- warning: stored property 'list' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<BlockConfiguration>'; this is an error in the Swift 6 language mode
176 |
177 | /// The list item style.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/BlockStyle.swift:40:15: note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
38 | ///
39 | /// 
40 | public struct BlockStyle<Configuration> {
| `- note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
41 | private let body: (Configuration) -> AnyView
42 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:178:14: warning: stored property 'listItem' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<BlockConfiguration>'; this is an error in the Swift 6 language mode
176 |
177 | /// The list item style.
178 | public var listItem = BlockStyle<BlockConfiguration> { $0.label }
| `- warning: stored property 'listItem' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<BlockConfiguration>'; this is an error in the Swift 6 language mode
179 |
180 | /// The task list marker style.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/BlockStyle.swift:40:15: note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
38 | ///
39 | /// 
40 | public struct BlockStyle<Configuration> {
| `- note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
41 | private let body: (Configuration) -> AnyView
42 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:181:14: warning: stored property 'taskListMarker' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<TaskListMarkerConfiguration>'; this is an error in the Swift 6 language mode
179 |
180 | /// The task list marker style.
181 | public var taskListMarker = BlockStyle.checkmarkSquare
| `- warning: stored property 'taskListMarker' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<TaskListMarkerConfiguration>'; this is an error in the Swift 6 language mode
182 |
183 | /// The bulleted list marker style.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/BlockStyle.swift:40:15: note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
38 | ///
39 | /// 
40 | public struct BlockStyle<Configuration> {
| `- note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
41 | private let body: (Configuration) -> AnyView
42 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:184:14: warning: stored property 'bulletedListMarker' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<ListMarkerConfiguration>'; this is an error in the Swift 6 language mode
182 |
183 | /// The bulleted list marker style.
184 | public var bulletedListMarker = BlockStyle.discCircleSquare
| `- warning: stored property 'bulletedListMarker' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<ListMarkerConfiguration>'; this is an error in the Swift 6 language mode
185 |
186 | /// The numbered list marker style.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/BlockStyle.swift:40:15: note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
38 | ///
39 | /// 
40 | public struct BlockStyle<Configuration> {
| `- note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
41 | private let body: (Configuration) -> AnyView
42 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:187:14: warning: stored property 'numberedListMarker' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<ListMarkerConfiguration>'; this is an error in the Swift 6 language mode
185 |
186 | /// The numbered list marker style.
187 | public var numberedListMarker = BlockStyle.decimal
| `- warning: stored property 'numberedListMarker' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<ListMarkerConfiguration>'; this is an error in the Swift 6 language mode
188 |
189 | /// The table style.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/BlockStyle.swift:40:15: note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
38 | ///
39 | /// 
40 | public struct BlockStyle<Configuration> {
| `- note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
41 | private let body: (Configuration) -> AnyView
42 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:190:14: warning: stored property 'table' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<BlockConfiguration>'; this is an error in the Swift 6 language mode
188 |
189 | /// The table style.
190 | public var table = BlockStyle<BlockConfiguration> { $0.label }
| `- warning: stored property 'table' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<BlockConfiguration>'; this is an error in the Swift 6 language mode
191 |
192 | /// The table cell style.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/BlockStyle.swift:40:15: note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
38 | ///
39 | /// 
40 | public struct BlockStyle<Configuration> {
| `- note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
41 | private let body: (Configuration) -> AnyView
42 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:193:14: warning: stored property 'tableCell' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<TableCellConfiguration>'; this is an error in the Swift 6 language mode
191 |
192 | /// The table cell style.
193 | public var tableCell = BlockStyle<TableCellConfiguration> { $0.label }
| `- warning: stored property 'tableCell' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<TableCellConfiguration>'; this is an error in the Swift 6 language mode
194 |
195 | /// The thematic break style.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/BlockStyle.swift:40:15: note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
38 | ///
39 | /// 
40 | public struct BlockStyle<Configuration> {
| `- note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
41 | private let body: (Configuration) -> AnyView
42 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/Theme.swift:196:14: warning: stored property 'thematicBreak' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<()>'; this is an error in the Swift 6 language mode
194 |
195 | /// The thematic break style.
196 | public var thematicBreak = BlockStyle { Divider() }
| `- warning: stored property 'thematicBreak' of 'Sendable'-conforming struct 'Theme' has non-sendable type 'BlockStyle<()>'; this is an error in the Swift 6 language mode
197 |
198 | /// Creates a theme with default text styles.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/BlockStyle.swift:40:15: note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
38 | ///
39 | /// 
40 | public struct BlockStyle<Configuration> {
| `- note: consider making generic struct 'BlockStyle' conform to the 'Sendable' protocol
41 | private let body: (Configuration) -> AnyView
42 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Views/Environment/Environment+BaseURL.swift:16:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | private struct BaseURLKey: EnvironmentKey {
16 | static var defaultValue: URL? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Views/Environment/Environment+BaseURL.swift:20:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | private struct ImageBaseURLKey: EnvironmentKey {
20 | static var defaultValue: URL? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Views/Environment/Environment+CodeSyntaxHighlighter.swift:26:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any CodeSyntaxHighlighter' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | private struct CodeSyntaxHighlighterKey: EnvironmentKey {
26 | static let defaultValue: CodeSyntaxHighlighter = .plainText
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any CodeSyntaxHighlighter' 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
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Extensibility/CodeSyntaxHighlighter.swift:7:17: note: protocol 'CodeSyntaxHighlighter' does not conform to the 'Sendable' protocol
5 | /// To configure the current code syntax highlighter for a view hierarchy, use the
6 | /// `markdownCodeSyntaxHighlighter(_:)` modifier.
7 | public protocol CodeSyntaxHighlighter {
| `- note: protocol 'CodeSyntaxHighlighter' does not conform to the 'Sendable' protocol
8 | /// Returns a text view configured with the syntax highlighted code.
9 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Views/Environment/Environment+ImageProvider.swift:23:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyImageProvider' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | private struct ImageProviderKey: EnvironmentKey {
23 | static let defaultValue: AnyImageProvider = .init(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyImageProvider' 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
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Extensibility/ImageProvider.swift:29:8: note: consider making struct 'AnyImageProvider' conform to the 'Sendable' protocol
27 | }
28 |
29 | struct AnyImageProvider: ImageProvider {
| `- note: consider making struct 'AnyImageProvider' conform to the 'Sendable' protocol
30 | private let _makeImage: (URL?) -> AnyView
31 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Views/Environment/Environment+InlineImageProvider.swift:23:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any InlineImageProvider' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | private struct InlineImageProviderKey: EnvironmentKey {
23 | static let defaultValue: InlineImageProvider = .default
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any InlineImageProvider' 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
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Extensibility/InlineImageProvider.swift:7:17: note: protocol 'InlineImageProvider' does not conform to the 'Sendable' protocol
5 | /// To configure the current inline image provider for a view hierarchy,
6 | /// use the `markdownInlineImageProvider(_:)` modifier.
7 | public protocol InlineImageProvider {
| `- note: protocol 'InlineImageProvider' does not conform to the 'Sendable' protocol
8 | /// Returns an image for the given URL.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Views/Environment/Environment+List.swift:16:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | private struct ListLevelKey: EnvironmentKey {
16 | static var defaultValue = 0
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Views/Environment/Environment+List.swift:20:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | private struct TightSpacingEnabledKey: EnvironmentKey {
20 | static var defaultValue = false
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Views/Environment/Environment+SoftBreakMode.swift:22:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'SoftBreak.Mode' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | private struct SoftBreakModeKey: EnvironmentKey {
22 | static let defaultValue: SoftBreak.Mode = .space
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'SoftBreak.Mode' 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
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/DSL/Inlines/SoftBreak.swift:16:15: note: consider making enum 'Mode' conform to the 'Sendable' protocol
14 |
15 | extension SoftBreak {
16 | public enum Mode {
| `- note: consider making enum 'Mode' conform to the 'Sendable' protocol
17 | /// Treat a soft break as a space
18 | case space
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Views/Environment/Environment+Table.swift:40:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TableBorderStyle' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | private struct TableBorderStyleKey: EnvironmentKey {
40 | static let defaultValue = TableBorderStyle(color: .secondary)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TableBorderStyle' 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
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/TableBorderStyle.swift:33:15: note: consider making struct 'TableBorderStyle' conform to the 'Sendable' protocol
31 | ///
32 | /// 
33 | public struct TableBorderStyle {
| `- note: consider making struct 'TableBorderStyle' conform to the 'Sendable' protocol
34 | /// The visible table borders.
35 | public var visibleBorders: TableBorderSelector
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Views/Environment/Environment+Table.swift:44:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TableBackgroundStyle' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | private struct TableBackgroundStyleKey: EnvironmentKey {
44 | static let defaultValue = TableBackgroundStyle.clear
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TableBackgroundStyle' 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
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/BlockStyle/TableBackgroundStyle.swift:30:15: note: consider making struct 'TableBackgroundStyle' conform to the 'Sendable' protocol
28 | ///
29 | /// 
30 | public struct TableBackgroundStyle {
| `- note: consider making struct 'TableBackgroundStyle' conform to the 'Sendable' protocol
31 | let background: (_ row: Int, _ column: Int) -> AnyShapeStyle
32 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Views/Environment/Environment+TextStyle.swift:54:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any TextStyle' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | private struct TextStyleKey: EnvironmentKey {
54 | static let defaultValue: TextStyle = FontProperties()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any TextStyle' 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
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUI/Theme/TextStyle/TextStyle.swift:60:17: note: protocol 'TextStyle' does not conform to the 'Sendable' protocol
58 | ///
59 | /// 
60 | public protocol TextStyle {
| `- note: protocol 'TextStyle' does not conform to the 'Sendable' protocol
61 | func _collectAttributes(in attributes: inout AttributeContainer)
62 | }
BUILD FAILURE 6.0 macosSpm