Build Information
Successful build of swift-web-page with Swift 6.0 for Linux.
Swift 6 data race errors: 65
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
109 | public static let png: Image = "png"
110 | public static let svg: Image = "svg+xml"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:13:21: warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
11 |
12 | public static let gif = image(.gif)
13 | public static let javascript = application(.javascript)
| |- warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'javascript' 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
14 | public static let jpeg = image(.jpeg)
15 | public static let json = application(.json)
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:65:23: warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | extension MediaType {
58 | public struct Application: RawRepresentable {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
59 | public let rawValue: String
60 |
:
63 | }
64 |
65 | public static let javascript: Application = "javascript"
| |- warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'javascript' 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
66 | public static let json: Application = "json"
67 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:14:21: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
12 | public static let gif = image(.gif)
13 | public static let javascript = application(.javascript)
14 | public static let jpeg = image(.jpeg)
| |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jpeg' 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
15 | public static let json = application(.json)
16 | public static let html = text(.html, charset: .utf8)
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:107:23: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 |
99 | public struct Image: RawRepresentable {
| `- note: consider making struct 'Image' conform to the 'Sendable' protocol
100 | public let rawValue: String
101 |
:
105 |
106 | public static let bmp: Image = "bmp"
107 | public static let jpeg: Image = "jpeg"
| |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jpeg' 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
108 | public static let gif: Image = "gif"
109 | public static let png: Image = "png"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:15:21: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
13 | public static let javascript = application(.javascript)
14 | public static let jpeg = image(.jpeg)
15 | public static let json = application(.json)
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' 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
16 | public static let html = text(.html, charset: .utf8)
17 | public static let mp3 = audio(.mpeg)
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:66:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | extension MediaType {
58 | public struct Application: RawRepresentable {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
59 | public let rawValue: String
60 |
:
64 |
65 | public static let javascript: Application = "javascript"
66 | public static let json: Application = "json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public static let xml: Application = "xml"
68 | public static let xWwwFormUrlencoded: Application = "x-www-form-url-encoded"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:16:21: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
14 | public static let jpeg = image(.jpeg)
15 | public static let json = application(.json)
16 | public static let html = text(.html, charset: .utf8)
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'html' 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 | public static let mp3 = audio(.mpeg)
18 | public static let plain = text(.plain, charset: nil)
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:137:23: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Text: RawRepresentable {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
129 | public let rawValue: String
130 |
:
135 | public static let css: Text = "css"
136 | public static let csv: Text = "csv"
137 | public static let html: Text = "html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'html' 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
138 | public static let plain: Text = "plain"
139 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:160:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MediaType.Charset' may have shared mutable state; this is an error in the Swift 6 language mode
151 | }
152 |
153 | public struct Charset: RawRepresentable {
| `- note: consider making struct 'Charset' conform to the 'Sendable' protocol
154 | public let rawValue: String
155 |
:
158 | }
159 |
160 | public static let utf8: Charset = "utf-8"
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MediaType.Charset' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utf8' 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
161 | // TODO: http://www.iana.org/assignments/character-sets/character-sets.xhtml
162 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:17:21: warning: static property 'mp3' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
15 | public static let json = application(.json)
16 | public static let html = text(.html, charset: .utf8)
17 | public static let mp3 = audio(.mpeg)
| |- warning: static property 'mp3' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mp3' 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
18 | public static let plain = text(.plain, charset: nil)
19 | public static let png = image(.png)
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:80:23: warning: static property 'mpeg' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct Audio: RawRepresentable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
72 | public let rawValue: String
73 |
:
78 | public static let aiff: Audio = "aiff"
79 | public static let ogg: Audio = "ogg"
80 | public static let mpeg: Audio = "mpeg"
| |- warning: static property 'mpeg' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mpeg' 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
81 | public static let wav: Audio = "wav"
82 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:18:21: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
16 | public static let html = text(.html, charset: .utf8)
17 | public static let mp3 = audio(.mpeg)
18 | public static let plain = text(.plain, charset: nil)
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let png = image(.png)
20 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:138:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Text: RawRepresentable {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
129 | public let rawValue: String
130 |
:
136 | public static let csv: Text = "csv"
137 | public static let html: Text = "html"
138 | public static let plain: Text = "plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plain' 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
139 | }
140 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:19:21: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
17 | public static let mp3 = audio(.mpeg)
18 | public static let plain = text(.plain, charset: nil)
19 | public static let png = image(.png)
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'png' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | public var application: Application? {
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:109:23: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 |
99 | public struct Image: RawRepresentable {
| `- note: consider making struct 'Image' conform to the 'Sendable' protocol
100 | public let rawValue: String
101 |
:
107 | public static let jpeg: Image = "jpeg"
108 | public static let gif: Image = "gif"
109 | public static let png: Image = "png"
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'png' 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
110 | public static let svg: Image = "svg+xml"
111 | public static let tiff: Image = "tiff"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:67:23: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | extension MediaType {
58 | public struct Application: RawRepresentable {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
59 | public let rawValue: String
60 |
:
65 | public static let javascript: Application = "javascript"
66 | public static let json: Application = "json"
67 | public static let xml: Application = "xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xml' 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
68 | public static let xWwwFormUrlencoded: Application = "x-www-form-url-encoded"
69 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:68:23: warning: static property 'xWwwFormUrlencoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | extension MediaType {
58 | public struct Application: RawRepresentable {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
59 | public let rawValue: String
60 |
:
66 | public static let json: Application = "json"
67 | public static let xml: Application = "xml"
68 | public static let xWwwFormUrlencoded: Application = "x-www-form-url-encoded"
| |- warning: static property 'xWwwFormUrlencoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xWwwFormUrlencoded' 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
69 | }
70 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:78:23: warning: static property 'aiff' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct Audio: RawRepresentable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
72 | public let rawValue: String
73 |
:
76 | }
77 |
78 | public static let aiff: Audio = "aiff"
| |- warning: static property 'aiff' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'aiff' 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
79 | public static let ogg: Audio = "ogg"
80 | public static let mpeg: Audio = "mpeg"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:79:23: warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct Audio: RawRepresentable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
72 | public let rawValue: String
73 |
:
77 |
78 | public static let aiff: Audio = "aiff"
79 | public static let ogg: Audio = "ogg"
| |- warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ogg' 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
80 | public static let mpeg: Audio = "mpeg"
81 | public static let wav: Audio = "wav"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:81:23: warning: static property 'wav' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct Audio: RawRepresentable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
72 | public let rawValue: String
73 |
:
79 | public static let ogg: Audio = "ogg"
80 | public static let mpeg: Audio = "mpeg"
81 | public static let wav: Audio = "wav"
| |- warning: static property 'wav' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wav' 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
82 | }
83 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:91:23: warning: static property 'collection' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct Font: RawRepresentable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
85 | public let rawValue: String
86 |
:
89 | }
90 |
91 | public static let collection: Font = "collection"
| |- warning: static property 'collection' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collection' 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
92 | public static let otf: Font = "otf"
93 | public static let sfnt: Font = "sfnt"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:92:23: warning: static property 'otf' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct Font: RawRepresentable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
85 | public let rawValue: String
86 |
:
90 |
91 | public static let collection: Font = "collection"
92 | public static let otf: Font = "otf"
| |- warning: static property 'otf' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otf' 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
93 | public static let sfnt: Font = "sfnt"
94 | public static let ttf: Font = "ttf"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:93:23: warning: static property 'sfnt' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct Font: RawRepresentable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
85 | public let rawValue: String
86 |
:
91 | public static let collection: Font = "collection"
92 | public static let otf: Font = "otf"
93 | public static let sfnt: Font = "sfnt"
| |- warning: static property 'sfnt' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sfnt' 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
94 | public static let ttf: Font = "ttf"
95 | public static let woff: Font = "woff"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:94:23: warning: static property 'ttf' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct Font: RawRepresentable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
85 | public let rawValue: String
86 |
:
92 | public static let otf: Font = "otf"
93 | public static let sfnt: Font = "sfnt"
94 | public static let ttf: Font = "ttf"
| |- warning: static property 'ttf' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ttf' 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
95 | public static let woff: Font = "woff"
96 | public static let woff2: Font = "woff2"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:95:23: warning: static property 'woff' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct Font: RawRepresentable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
85 | public let rawValue: String
86 |
:
93 | public static let sfnt: Font = "sfnt"
94 | public static let ttf: Font = "ttf"
95 | public static let woff: Font = "woff"
| |- warning: static property 'woff' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'woff' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let woff2: Font = "woff2"
97 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:96:23: warning: static property 'woff2' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct Font: RawRepresentable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
85 | public let rawValue: String
86 |
:
94 | public static let ttf: Font = "ttf"
95 | public static let woff: Font = "woff"
96 | public static let woff2: Font = "woff2"
| |- warning: static property 'woff2' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'woff2' 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
97 | }
98 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:106:23: warning: static property 'bmp' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 |
99 | public struct Image: RawRepresentable {
| `- note: consider making struct 'Image' conform to the 'Sendable' protocol
100 | public let rawValue: String
101 |
:
104 | }
105 |
106 | public static let bmp: Image = "bmp"
| |- warning: static property 'bmp' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bmp' 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
107 | public static let jpeg: Image = "jpeg"
108 | public static let gif: Image = "gif"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:110:23: warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 |
99 | public struct Image: RawRepresentable {
| `- note: consider making struct 'Image' conform to the 'Sendable' protocol
100 | public let rawValue: String
101 |
:
108 | public static let gif: Image = "gif"
109 | public static let png: Image = "png"
110 | public static let svg: Image = "svg+xml"
| |- warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'svg' 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
111 | public static let tiff: Image = "tiff"
112 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:111:23: warning: static property 'tiff' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 |
99 | public struct Image: RawRepresentable {
| `- note: consider making struct 'Image' conform to the 'Sendable' protocol
100 | public let rawValue: String
101 |
:
109 | public static let png: Image = "png"
110 | public static let svg: Image = "svg+xml"
111 | public static let tiff: Image = "tiff"
| |- warning: static property 'tiff' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tiff' 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
112 | }
113 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:121:23: warning: static property 'alternative' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
112 | }
113 |
114 | public struct Multipart: RawRepresentable {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
115 | public let rawValue: String
116 |
:
119 | }
120 |
121 | public static let alternative: Multipart = "alternative"
| |- warning: static property 'alternative' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alternative' 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
122 | public static let digest: Multipart = "digest"
123 | public static let mixed: Multipart = "mixed"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:122:23: warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
112 | }
113 |
114 | public struct Multipart: RawRepresentable {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
115 | public let rawValue: String
116 |
:
120 |
121 | public static let alternative: Multipart = "alternative"
122 | public static let digest: Multipart = "digest"
| |- warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'digest' 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
123 | public static let mixed: Multipart = "mixed"
124 | public static let parallel: Multipart = "parallel"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:123:23: warning: static property 'mixed' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
112 | }
113 |
114 | public struct Multipart: RawRepresentable {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
115 | public let rawValue: String
116 |
:
121 | public static let alternative: Multipart = "alternative"
122 | public static let digest: Multipart = "digest"
123 | public static let mixed: Multipart = "mixed"
| |- warning: static property 'mixed' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mixed' 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
124 | public static let parallel: Multipart = "parallel"
125 | public static let formData: Multipart = "form-data"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:124:23: warning: static property 'parallel' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
112 | }
113 |
114 | public struct Multipart: RawRepresentable {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
115 | public let rawValue: String
116 |
:
122 | public static let digest: Multipart = "digest"
123 | public static let mixed: Multipart = "mixed"
124 | public static let parallel: Multipart = "parallel"
| |- warning: static property 'parallel' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parallel' 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
125 | public static let formData: Multipart = "form-data"
126 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:125:23: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
112 | }
113 |
114 | public struct Multipart: RawRepresentable {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
115 | public let rawValue: String
116 |
:
123 | public static let mixed: Multipart = "mixed"
124 | public static let parallel: Multipart = "parallel"
125 | public static let formData: Multipart = "form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'formData' 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
126 | }
127 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:135:23: warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Text: RawRepresentable {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
129 | public let rawValue: String
130 |
:
133 | }
134 |
135 | public static let css: Text = "css"
| |- warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'css' 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
136 | public static let csv: Text = "csv"
137 | public static let html: Text = "html"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:136:23: warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Text: RawRepresentable {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
129 | public let rawValue: String
130 |
:
134 |
135 | public static let css: Text = "css"
136 | public static let csv: Text = "csv"
| |- warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'csv' 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
137 | public static let html: Text = "html"
138 | public static let plain: Text = "plain"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:148:23: warning: static property 'mp4' is not concurrency-safe because non-'Sendable' type 'MediaType.Video' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }
140 |
141 | public struct Video: RawRepresentable {
| `- note: consider making struct 'Video' conform to the 'Sendable' protocol
142 | public let rawValue: String
143 |
:
146 | }
147 |
148 | public static let mp4: Video = "mp4"
| |- warning: static property 'mp4' is not concurrency-safe because non-'Sendable' type 'MediaType.Video' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mp4' 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
149 | public static let ogg: Video = "ogg"
150 | public static let webm: Video = "webm"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:149:23: warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'MediaType.Video' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }
140 |
141 | public struct Video: RawRepresentable {
| `- note: consider making struct 'Video' conform to the 'Sendable' protocol
142 | public let rawValue: String
143 |
:
147 |
148 | public static let mp4: Video = "mp4"
149 | public static let ogg: Video = "ogg"
| |- warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'MediaType.Video' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ogg' 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
150 | public static let webm: Video = "webm"
151 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:150:23: warning: static property 'webm' is not concurrency-safe because non-'Sendable' type 'MediaType.Video' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }
140 |
141 | public struct Video: RawRepresentable {
| `- note: consider making struct 'Video' conform to the 'Sendable' protocol
142 | public let rawValue: String
143 |
:
148 | public static let mp4: Video = "mp4"
149 | public static let ogg: Video = "ogg"
150 | public static let webm: Video = "webm"
| |- warning: static property 'webm' is not concurrency-safe because non-'Sendable' type 'MediaType.Video' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webm' 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
151 | }
152 |
[40/61] Compiling Css Node.swift
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:12:21: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
10 | case text(Text, charset: Charset?)
11 |
12 | public static let gif = image(.gif)
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gif' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let javascript = application(.javascript)
14 | public static let jpeg = image(.jpeg)
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:108:23: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 |
99 | public struct Image: RawRepresentable {
| `- note: consider making struct 'Image' conform to the 'Sendable' protocol
100 | public let rawValue: String
101 |
:
106 | public static let bmp: Image = "bmp"
107 | public static let jpeg: Image = "jpeg"
108 | public static let gif: Image = "gif"
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gif' 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
109 | public static let png: Image = "png"
110 | public static let svg: Image = "svg+xml"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:13:21: warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
11 |
12 | public static let gif = image(.gif)
13 | public static let javascript = application(.javascript)
| |- warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'javascript' 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
14 | public static let jpeg = image(.jpeg)
15 | public static let json = application(.json)
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:65:23: warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | extension MediaType {
58 | public struct Application: RawRepresentable {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
59 | public let rawValue: String
60 |
:
63 | }
64 |
65 | public static let javascript: Application = "javascript"
| |- warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'javascript' 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
66 | public static let json: Application = "json"
67 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:14:21: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
12 | public static let gif = image(.gif)
13 | public static let javascript = application(.javascript)
14 | public static let jpeg = image(.jpeg)
| |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jpeg' 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
15 | public static let json = application(.json)
16 | public static let html = text(.html, charset: .utf8)
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:107:23: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 |
99 | public struct Image: RawRepresentable {
| `- note: consider making struct 'Image' conform to the 'Sendable' protocol
100 | public let rawValue: String
101 |
:
105 |
106 | public static let bmp: Image = "bmp"
107 | public static let jpeg: Image = "jpeg"
| |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jpeg' 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
108 | public static let gif: Image = "gif"
109 | public static let png: Image = "png"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:15:21: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
13 | public static let javascript = application(.javascript)
14 | public static let jpeg = image(.jpeg)
15 | public static let json = application(.json)
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' 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
16 | public static let html = text(.html, charset: .utf8)
17 | public static let mp3 = audio(.mpeg)
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:66:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | extension MediaType {
58 | public struct Application: RawRepresentable {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
59 | public let rawValue: String
60 |
:
64 |
65 | public static let javascript: Application = "javascript"
66 | public static let json: Application = "json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public static let xml: Application = "xml"
68 | public static let xWwwFormUrlencoded: Application = "x-www-form-url-encoded"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:16:21: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
14 | public static let jpeg = image(.jpeg)
15 | public static let json = application(.json)
16 | public static let html = text(.html, charset: .utf8)
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'html' 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 | public static let mp3 = audio(.mpeg)
18 | public static let plain = text(.plain, charset: nil)
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:137:23: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Text: RawRepresentable {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
129 | public let rawValue: String
130 |
:
135 | public static let css: Text = "css"
136 | public static let csv: Text = "csv"
137 | public static let html: Text = "html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'html' 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
138 | public static let plain: Text = "plain"
139 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:160:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MediaType.Charset' may have shared mutable state; this is an error in the Swift 6 language mode
151 | }
152 |
153 | public struct Charset: RawRepresentable {
| `- note: consider making struct 'Charset' conform to the 'Sendable' protocol
154 | public let rawValue: String
155 |
:
158 | }
159 |
160 | public static let utf8: Charset = "utf-8"
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MediaType.Charset' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utf8' 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
161 | // TODO: http://www.iana.org/assignments/character-sets/character-sets.xhtml
162 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:17:21: warning: static property 'mp3' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
15 | public static let json = application(.json)
16 | public static let html = text(.html, charset: .utf8)
17 | public static let mp3 = audio(.mpeg)
| |- warning: static property 'mp3' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mp3' 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
18 | public static let plain = text(.plain, charset: nil)
19 | public static let png = image(.png)
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:80:23: warning: static property 'mpeg' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct Audio: RawRepresentable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
72 | public let rawValue: String
73 |
:
78 | public static let aiff: Audio = "aiff"
79 | public static let ogg: Audio = "ogg"
80 | public static let mpeg: Audio = "mpeg"
| |- warning: static property 'mpeg' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mpeg' 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
81 | public static let wav: Audio = "wav"
82 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:18:21: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
16 | public static let html = text(.html, charset: .utf8)
17 | public static let mp3 = audio(.mpeg)
18 | public static let plain = text(.plain, charset: nil)
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let png = image(.png)
20 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:138:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Text: RawRepresentable {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
129 | public let rawValue: String
130 |
:
136 | public static let csv: Text = "csv"
137 | public static let html: Text = "html"
138 | public static let plain: Text = "plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plain' 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
139 | }
140 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:19:21: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
17 | public static let mp3 = audio(.mpeg)
18 | public static let plain = text(.plain, charset: nil)
19 | public static let png = image(.png)
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'png' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | public var application: Application? {
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:109:23: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 |
99 | public struct Image: RawRepresentable {
| `- note: consider making struct 'Image' conform to the 'Sendable' protocol
100 | public let rawValue: String
101 |
:
107 | public static let jpeg: Image = "jpeg"
108 | public static let gif: Image = "gif"
109 | public static let png: Image = "png"
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'png' 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
110 | public static let svg: Image = "svg+xml"
111 | public static let tiff: Image = "tiff"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:67:23: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | extension MediaType {
58 | public struct Application: RawRepresentable {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
59 | public let rawValue: String
60 |
:
65 | public static let javascript: Application = "javascript"
66 | public static let json: Application = "json"
67 | public static let xml: Application = "xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xml' 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
68 | public static let xWwwFormUrlencoded: Application = "x-www-form-url-encoded"
69 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:68:23: warning: static property 'xWwwFormUrlencoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | extension MediaType {
58 | public struct Application: RawRepresentable {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
59 | public let rawValue: String
60 |
:
66 | public static let json: Application = "json"
67 | public static let xml: Application = "xml"
68 | public static let xWwwFormUrlencoded: Application = "x-www-form-url-encoded"
| |- warning: static property 'xWwwFormUrlencoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xWwwFormUrlencoded' 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
69 | }
70 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:78:23: warning: static property 'aiff' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct Audio: RawRepresentable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
72 | public let rawValue: String
73 |
:
76 | }
77 |
78 | public static let aiff: Audio = "aiff"
| |- warning: static property 'aiff' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'aiff' 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
79 | public static let ogg: Audio = "ogg"
80 | public static let mpeg: Audio = "mpeg"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:79:23: warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct Audio: RawRepresentable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
72 | public let rawValue: String
73 |
:
77 |
78 | public static let aiff: Audio = "aiff"
79 | public static let ogg: Audio = "ogg"
| |- warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ogg' 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
80 | public static let mpeg: Audio = "mpeg"
81 | public static let wav: Audio = "wav"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:81:23: warning: static property 'wav' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct Audio: RawRepresentable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
72 | public let rawValue: String
73 |
:
79 | public static let ogg: Audio = "ogg"
80 | public static let mpeg: Audio = "mpeg"
81 | public static let wav: Audio = "wav"
| |- warning: static property 'wav' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wav' 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
82 | }
83 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:91:23: warning: static property 'collection' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct Font: RawRepresentable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
85 | public let rawValue: String
86 |
:
89 | }
90 |
91 | public static let collection: Font = "collection"
| |- warning: static property 'collection' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collection' 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
92 | public static let otf: Font = "otf"
93 | public static let sfnt: Font = "sfnt"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:92:23: warning: static property 'otf' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct Font: RawRepresentable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
85 | public let rawValue: String
86 |
:
90 |
91 | public static let collection: Font = "collection"
92 | public static let otf: Font = "otf"
| |- warning: static property 'otf' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otf' 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
93 | public static let sfnt: Font = "sfnt"
94 | public static let ttf: Font = "ttf"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:93:23: warning: static property 'sfnt' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct Font: RawRepresentable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
85 | public let rawValue: String
86 |
:
91 | public static let collection: Font = "collection"
92 | public static let otf: Font = "otf"
93 | public static let sfnt: Font = "sfnt"
| |- warning: static property 'sfnt' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sfnt' 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
94 | public static let ttf: Font = "ttf"
95 | public static let woff: Font = "woff"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:94:23: warning: static property 'ttf' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct Font: RawRepresentable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
85 | public let rawValue: String
86 |
:
92 | public static let otf: Font = "otf"
93 | public static let sfnt: Font = "sfnt"
94 | public static let ttf: Font = "ttf"
| |- warning: static property 'ttf' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ttf' 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
95 | public static let woff: Font = "woff"
96 | public static let woff2: Font = "woff2"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:95:23: warning: static property 'woff' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct Font: RawRepresentable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
85 | public let rawValue: String
86 |
:
93 | public static let sfnt: Font = "sfnt"
94 | public static let ttf: Font = "ttf"
95 | public static let woff: Font = "woff"
| |- warning: static property 'woff' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'woff' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let woff2: Font = "woff2"
97 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:96:23: warning: static property 'woff2' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct Font: RawRepresentable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
85 | public let rawValue: String
86 |
:
94 | public static let ttf: Font = "ttf"
95 | public static let woff: Font = "woff"
96 | public static let woff2: Font = "woff2"
| |- warning: static property 'woff2' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'woff2' 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
97 | }
98 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:106:23: warning: static property 'bmp' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 |
99 | public struct Image: RawRepresentable {
| `- note: consider making struct 'Image' conform to the 'Sendable' protocol
100 | public let rawValue: String
101 |
:
104 | }
105 |
106 | public static let bmp: Image = "bmp"
| |- warning: static property 'bmp' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bmp' 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
107 | public static let jpeg: Image = "jpeg"
108 | public static let gif: Image = "gif"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:110:23: warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 |
99 | public struct Image: RawRepresentable {
| `- note: consider making struct 'Image' conform to the 'Sendable' protocol
100 | public let rawValue: String
101 |
:
108 | public static let gif: Image = "gif"
109 | public static let png: Image = "png"
110 | public static let svg: Image = "svg+xml"
| |- warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'svg' 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
111 | public static let tiff: Image = "tiff"
112 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:111:23: warning: static property 'tiff' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 |
99 | public struct Image: RawRepresentable {
| `- note: consider making struct 'Image' conform to the 'Sendable' protocol
100 | public let rawValue: String
101 |
:
109 | public static let png: Image = "png"
110 | public static let svg: Image = "svg+xml"
111 | public static let tiff: Image = "tiff"
| |- warning: static property 'tiff' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tiff' 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
112 | }
113 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:121:23: warning: static property 'alternative' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
112 | }
113 |
114 | public struct Multipart: RawRepresentable {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
115 | public let rawValue: String
116 |
:
119 | }
120 |
121 | public static let alternative: Multipart = "alternative"
| |- warning: static property 'alternative' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alternative' 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
122 | public static let digest: Multipart = "digest"
123 | public static let mixed: Multipart = "mixed"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:122:23: warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
112 | }
113 |
114 | public struct Multipart: RawRepresentable {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
115 | public let rawValue: String
116 |
:
120 |
121 | public static let alternative: Multipart = "alternative"
122 | public static let digest: Multipart = "digest"
| |- warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'digest' 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
123 | public static let mixed: Multipart = "mixed"
124 | public static let parallel: Multipart = "parallel"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:123:23: warning: static property 'mixed' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
112 | }
113 |
114 | public struct Multipart: RawRepresentable {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
115 | public let rawValue: String
116 |
:
121 | public static let alternative: Multipart = "alternative"
122 | public static let digest: Multipart = "digest"
123 | public static let mixed: Multipart = "mixed"
| |- warning: static property 'mixed' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mixed' 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
124 | public static let parallel: Multipart = "parallel"
125 | public static let formData: Multipart = "form-data"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:124:23: warning: static property 'parallel' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
112 | }
113 |
114 | public struct Multipart: RawRepresentable {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
115 | public let rawValue: String
116 |
:
122 | public static let digest: Multipart = "digest"
123 | public static let mixed: Multipart = "mixed"
124 | public static let parallel: Multipart = "parallel"
| |- warning: static property 'parallel' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parallel' 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
125 | public static let formData: Multipart = "form-data"
126 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:125:23: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
112 | }
113 |
114 | public struct Multipart: RawRepresentable {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
115 | public let rawValue: String
116 |
:
123 | public static let mixed: Multipart = "mixed"
124 | public static let parallel: Multipart = "parallel"
125 | public static let formData: Multipart = "form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'formData' 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
126 | }
127 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:135:23: warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Text: RawRepresentable {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
129 | public let rawValue: String
130 |
:
133 | }
134 |
135 | public static let css: Text = "css"
| |- warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'css' 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
136 | public static let csv: Text = "csv"
137 | public static let html: Text = "html"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:136:23: warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Text: RawRepresentable {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
129 | public let rawValue: String
130 |
:
134 |
135 | public static let css: Text = "css"
136 | public static let csv: Text = "csv"
| |- warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'csv' 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
137 | public static let html: Text = "html"
138 | public static let plain: Text = "plain"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:148:23: warning: static property 'mp4' is not concurrency-safe because non-'Sendable' type 'MediaType.Video' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }
140 |
141 | public struct Video: RawRepresentable {
| `- note: consider making struct 'Video' conform to the 'Sendable' protocol
142 | public let rawValue: String
143 |
:
146 | }
147 |
148 | public static let mp4: Video = "mp4"
| |- warning: static property 'mp4' is not concurrency-safe because non-'Sendable' type 'MediaType.Video' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mp4' 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
149 | public static let ogg: Video = "ogg"
150 | public static let webm: Video = "webm"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:149:23: warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'MediaType.Video' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }
140 |
141 | public struct Video: RawRepresentable {
| `- note: consider making struct 'Video' conform to the 'Sendable' protocol
142 | public let rawValue: String
143 |
:
147 |
148 | public static let mp4: Video = "mp4"
149 | public static let ogg: Video = "ogg"
| |- warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'MediaType.Video' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ogg' 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
150 | public static let webm: Video = "webm"
151 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:150:23: warning: static property 'webm' is not concurrency-safe because non-'Sendable' type 'MediaType.Video' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }
140 |
141 | public struct Video: RawRepresentable {
| `- note: consider making struct 'Video' conform to the 'Sendable' protocol
142 | public let rawValue: String
143 |
:
148 | public static let mp4: Video = "mp4"
149 | public static let ogg: Video = "ogg"
150 | public static let webm: Video = "webm"
| |- warning: static property 'webm' is not concurrency-safe because non-'Sendable' type 'MediaType.Video' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webm' 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
151 | }
152 |
[41/61] Emitting module Css
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Css/Helpers.swift:9:14: warning: let 'degree' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
9 | internal let degree = clamp(0...359)
| |- warning: let 'degree' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'degree' 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
10 |
11 | internal let fraction = clamp(0.0...1.0)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Css/Helpers.swift:11:14: warning: let 'fraction' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
9 | internal let degree = clamp(0...359)
10 |
11 | internal let fraction = clamp(0.0...1.0)
| |- warning: let 'fraction' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fraction' 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
12 |
13 | internal let percentage = clamp(0...100)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Css/Helpers.swift:13:14: warning: let 'percentage' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
11 | internal let fraction = clamp(0.0...1.0)
12 |
13 | internal let percentage = clamp(0...100)
| |- warning: let 'percentage' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'percentage' 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
14 |
15 | internal let uint8Size = clamp(0...255)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Css/Helpers.swift:15:14: warning: let 'uint8Size' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
13 | internal let percentage = clamp(0...100)
14 |
15 | internal let uint8Size = clamp(0...255)
| |- warning: let 'uint8Size' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uint8Size' 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
16 |
17 | internal let hexSize = clamp(0...0xffffff)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Css/Helpers.swift:17:14: warning: let 'hexSize' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
15 | internal let uint8Size = clamp(0...255)
16 |
17 | internal let hexSize = clamp(0...0xffffff)
| |- warning: let 'hexSize' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hexSize' 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
18 |
19 | internal let naturalNumber = clamp(1...Int.max)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Css/Helpers.swift:19:14: warning: let 'naturalNumber' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
17 | internal let hexSize = clamp(0...0xffffff)
18 |
19 | internal let naturalNumber = clamp(1...Int.max)
| |- warning: let 'naturalNumber' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'naturalNumber' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | internal func compact<T>(_ arr: Array<Optional<T>>) -> Array<T> {
/host/spi-builder-workspace/Sources/Css/Values/Side.swift:8:14: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | static let bottom: Self = "bottom"
7 | static let left: Self = "left"
8 | static let center: Self = "center"
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
/host/spi-builder-workspace/Sources/Css/Values/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | public protocol CSSValue {}
2 |
3 | public struct Value<Kind: CSSValue> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
/host/spi-builder-workspace/Sources/Css/Values/Axises.swift:7:14: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Value<CSSXAxis>' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public extension Value where Kind == CSSXAxis {
7 | static let left: Self = "left"
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Value<CSSXAxis>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | static let center: Self = "center"
9 | static let right: Self = "right"
/host/spi-builder-workspace/Sources/Css/Values/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | public protocol CSSValue {}
2 |
3 | public struct Value<Kind: CSSValue> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
/host/spi-builder-workspace/Sources/Css/Values/Axises.swift:8:14: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Value<CSSXAxis>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public extension Value where Kind == CSSXAxis {
7 | static let left: Self = "left"
8 | static let center: Self = "center"
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Value<CSSXAxis>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | static let right: Self = "right"
10 | }
/host/spi-builder-workspace/Sources/Css/Values/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | public protocol CSSValue {}
2 |
3 | public struct Value<Kind: CSSValue> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
/host/spi-builder-workspace/Sources/Css/Values/Axises.swift:9:14: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Value<CSSXAxis>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let left: Self = "left"
8 | static let center: Self = "center"
9 | static let right: Self = "right"
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Value<CSSXAxis>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/host/spi-builder-workspace/Sources/Css/Values/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | public protocol CSSValue {}
2 |
3 | public struct Value<Kind: CSSValue> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
/host/spi-builder-workspace/Sources/Css/Values/Axises.swift:16:14: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Value<CSSYAxis>' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | public extension Value where Kind == CSSYAxis {
16 | static let top: Self = "top"
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Value<CSSYAxis>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'top' 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 | static let center: Self = "center"
18 | static let bottom: Self = "bottom"
/host/spi-builder-workspace/Sources/Css/Values/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | public protocol CSSValue {}
2 |
3 | public struct Value<Kind: CSSValue> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
/host/spi-builder-workspace/Sources/Css/Values/Axises.swift:17:14: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Value<CSSYAxis>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public extension Value where Kind == CSSYAxis {
16 | static let top: Self = "top"
17 | static let center: Self = "center"
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Value<CSSYAxis>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let bottom: Self = "bottom"
19 | }
/host/spi-builder-workspace/Sources/Css/Values/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | public protocol CSSValue {}
2 |
3 | public struct Value<Kind: CSSValue> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
/host/spi-builder-workspace/Sources/Css/Values/Axises.swift:18:14: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Value<CSSYAxis>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let top: Self = "top"
17 | static let center: Self = "center"
18 | static let bottom: Self = "bottom"
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Value<CSSYAxis>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottom' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/host/spi-builder-workspace/Sources/Css/Values/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | public protocol CSSValue {}
2 |
3 | public struct Value<Kind: CSSValue> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
/host/spi-builder-workspace/Sources/Css/Values/Side.swift:4:14: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public extension Value where Kind == CSSSide {
4 | static let top: Self = "top"
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'top' 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
5 | static let right: Self = "right"
6 | static let bottom: Self = "bottom"
/host/spi-builder-workspace/Sources/Css/Values/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | public protocol CSSValue {}
2 |
3 | public struct Value<Kind: CSSValue> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
/host/spi-builder-workspace/Sources/Css/Values/Side.swift:5:14: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
3 | public extension Value where Kind == CSSSide {
4 | static let top: Self = "top"
5 | static let right: Self = "right"
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | static let bottom: Self = "bottom"
7 | static let left: Self = "left"
/host/spi-builder-workspace/Sources/Css/Values/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | public protocol CSSValue {}
2 |
3 | public struct Value<Kind: CSSValue> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
/host/spi-builder-workspace/Sources/Css/Values/Side.swift:6:14: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
4 | static let top: Self = "top"
5 | static let right: Self = "right"
6 | static let bottom: Self = "bottom"
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottom' 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
7 | static let left: Self = "left"
8 | static let center: Self = "center"
/host/spi-builder-workspace/Sources/Css/Values/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | public protocol CSSValue {}
2 |
3 | public struct Value<Kind: CSSValue> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
/host/spi-builder-workspace/Sources/Css/Values/Side.swift:7:14: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | static let right: Self = "right"
6 | static let bottom: Self = "bottom"
7 | static let left: Self = "left"
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | static let center: Self = "center"
9 | }
/host/spi-builder-workspace/Sources/Css/Values/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | public protocol CSSValue {}
2 |
3 | public struct Value<Kind: CSSValue> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
[42/61] Compiling Css Properties.swift
[43/61] Compiling Css Render.swift
/host/spi-builder-workspace/Sources/Html/Attributes/Attribute.swift:493:21: warning: static property 'applicationXWwwFormUrlencoded' is not concurrency-safe because non-'Sendable' type 'Enctype' may have shared mutable state; this is an error in the Swift 6 language mode
484 | }
485 |
486 | public struct Enctype: RawRepresentable {
| `- note: consider making struct 'Enctype' conform to the 'Sendable' protocol
487 | public let rawValue: String
488 |
:
491 | }
492 |
493 | public static let applicationXWwwFormUrlencoded = Enctype(rawValue: "application/x-www-form-urlencoded")
| |- warning: static property 'applicationXWwwFormUrlencoded' is not concurrency-safe because non-'Sendable' type 'Enctype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'applicationXWwwFormUrlencoded' 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
494 | public static let multipartFormData = Enctype(rawValue: "multipart/form-data")
495 | public static let textPlain = Enctype(rawValue: "text/plain")
/host/spi-builder-workspace/Sources/Html/Attributes/Attribute.swift:494:21: warning: static property 'multipartFormData' is not concurrency-safe because non-'Sendable' type 'Enctype' may have shared mutable state; this is an error in the Swift 6 language mode
484 | }
485 |
486 | public struct Enctype: RawRepresentable {
| `- note: consider making struct 'Enctype' conform to the 'Sendable' protocol
487 | public let rawValue: String
488 |
:
492 |
493 | public static let applicationXWwwFormUrlencoded = Enctype(rawValue: "application/x-www-form-urlencoded")
494 | public static let multipartFormData = Enctype(rawValue: "multipart/form-data")
| |- warning: static property 'multipartFormData' is not concurrency-safe because non-'Sendable' type 'Enctype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multipartFormData' 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
495 | public static let textPlain = Enctype(rawValue: "text/plain")
496 | }
/host/spi-builder-workspace/Sources/Html/Attributes/Attribute.swift:495:21: warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'Enctype' may have shared mutable state; this is an error in the Swift 6 language mode
484 | }
485 |
486 | public struct Enctype: RawRepresentable {
| `- note: consider making struct 'Enctype' conform to the 'Sendable' protocol
487 | public let rawValue: String
488 |
:
493 | public static let applicationXWwwFormUrlencoded = Enctype(rawValue: "application/x-www-form-urlencoded")
494 | public static let multipartFormData = Enctype(rawValue: "multipart/form-data")
495 | public static let textPlain = Enctype(rawValue: "text/plain")
| |- warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'Enctype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textPlain' 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
496 | }
497 |
/host/spi-builder-workspace/Sources/Core/RenderMode.swift:6:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RenderMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum RenderMode {
| `- note: consider making enum 'RenderMode' conform to the 'Sendable' protocol
2 | case
3 | release(RenderStyle),
4 | debug(RenderStyle)
5 |
6 | public static let `default`: RenderMode = .release(.inline)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RenderMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/Html/Attributes/Attribute.swift:1050:13: warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
1048 | }
1049 |
1050 | private let iso8601DateFormatter: DateFormatter = {
| `- warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
1051 | let formatter = DateFormatter()
1052 | formatter.locale = Locale(identifier: "en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Html/Attributes/Attribute.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import struct Foundation.Date
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 | import struct Foundation.Locale
3 | import struct Foundation.TimeZone
:
1048 | }
1049 |
1050 | private let iso8601DateFormatter: DateFormatter = {
| |- note: annotate 'iso8601DateFormatter' 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
1051 | let formatter = DateFormatter()
1052 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/Sources/Html/Attributes/Attribute.swift:493:21: warning: static property 'applicationXWwwFormUrlencoded' is not concurrency-safe because non-'Sendable' type 'Enctype' may have shared mutable state; this is an error in the Swift 6 language mode
484 | }
485 |
486 | public struct Enctype: RawRepresentable {
| `- note: consider making struct 'Enctype' conform to the 'Sendable' protocol
487 | public let rawValue: String
488 |
:
491 | }
492 |
493 | public static let applicationXWwwFormUrlencoded = Enctype(rawValue: "application/x-www-form-urlencoded")
| |- warning: static property 'applicationXWwwFormUrlencoded' is not concurrency-safe because non-'Sendable' type 'Enctype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'applicationXWwwFormUrlencoded' 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
494 | public static let multipartFormData = Enctype(rawValue: "multipart/form-data")
495 | public static let textPlain = Enctype(rawValue: "text/plain")
/host/spi-builder-workspace/Sources/Html/Attributes/Attribute.swift:494:21: warning: static property 'multipartFormData' is not concurrency-safe because non-'Sendable' type 'Enctype' may have shared mutable state; this is an error in the Swift 6 language mode
484 | }
485 |
486 | public struct Enctype: RawRepresentable {
| `- note: consider making struct 'Enctype' conform to the 'Sendable' protocol
487 | public let rawValue: String
488 |
:
492 |
493 | public static let applicationXWwwFormUrlencoded = Enctype(rawValue: "application/x-www-form-urlencoded")
494 | public static let multipartFormData = Enctype(rawValue: "multipart/form-data")
| |- warning: static property 'multipartFormData' is not concurrency-safe because non-'Sendable' type 'Enctype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multipartFormData' 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
495 | public static let textPlain = Enctype(rawValue: "text/plain")
496 | }
/host/spi-builder-workspace/Sources/Html/Attributes/Attribute.swift:495:21: warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'Enctype' may have shared mutable state; this is an error in the Swift 6 language mode
484 | }
485 |
486 | public struct Enctype: RawRepresentable {
| `- note: consider making struct 'Enctype' conform to the 'Sendable' protocol
487 | public let rawValue: String
488 |
:
493 | public static let applicationXWwwFormUrlencoded = Enctype(rawValue: "application/x-www-form-urlencoded")
494 | public static let multipartFormData = Enctype(rawValue: "multipart/form-data")
495 | public static let textPlain = Enctype(rawValue: "text/plain")
| |- warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'Enctype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textPlain' 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
496 | }
497 |
/host/spi-builder-workspace/Sources/Core/RenderMode.swift:6:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RenderMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum RenderMode {
| `- note: consider making enum 'RenderMode' conform to the 'Sendable' protocol
2 | case
3 | release(RenderStyle),
4 | debug(RenderStyle)
5 |
6 | public static let `default`: RenderMode = .release(.inline)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RenderMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/Html/Attributes/Attribute.swift:1050:13: warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
1048 | }
1049 |
1050 | private let iso8601DateFormatter: DateFormatter = {
| `- warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
1051 | let formatter = DateFormatter()
1052 | formatter.locale = Locale(identifier: "en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Html/Attributes/Attribute.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import struct Foundation.Date
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 | import struct Foundation.Locale
3 | import struct Foundation.TimeZone
:
1048 | }
1049 |
1050 | private let iso8601DateFormatter: DateFormatter = {
| |- note: annotate 'iso8601DateFormatter' 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
1051 | let formatter = DateFormatter()
1052 | formatter.locale = Locale(identifier: "en_US_POSIX")
[52/61] Emitting module Html
/host/spi-builder-workspace/Sources/Html/Attributes/Attribute.swift:493:21: warning: static property 'applicationXWwwFormUrlencoded' is not concurrency-safe because non-'Sendable' type 'Enctype' may have shared mutable state; this is an error in the Swift 6 language mode
484 | }
485 |
486 | public struct Enctype: RawRepresentable {
| `- note: consider making struct 'Enctype' conform to the 'Sendable' protocol
487 | public let rawValue: String
488 |
:
491 | }
492 |
493 | public static let applicationXWwwFormUrlencoded = Enctype(rawValue: "application/x-www-form-urlencoded")
| |- warning: static property 'applicationXWwwFormUrlencoded' is not concurrency-safe because non-'Sendable' type 'Enctype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'applicationXWwwFormUrlencoded' 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
494 | public static let multipartFormData = Enctype(rawValue: "multipart/form-data")
495 | public static let textPlain = Enctype(rawValue: "text/plain")
/host/spi-builder-workspace/Sources/Html/Attributes/Attribute.swift:494:21: warning: static property 'multipartFormData' is not concurrency-safe because non-'Sendable' type 'Enctype' may have shared mutable state; this is an error in the Swift 6 language mode
484 | }
485 |
486 | public struct Enctype: RawRepresentable {
| `- note: consider making struct 'Enctype' conform to the 'Sendable' protocol
487 | public let rawValue: String
488 |
:
492 |
493 | public static let applicationXWwwFormUrlencoded = Enctype(rawValue: "application/x-www-form-urlencoded")
494 | public static let multipartFormData = Enctype(rawValue: "multipart/form-data")
| |- warning: static property 'multipartFormData' is not concurrency-safe because non-'Sendable' type 'Enctype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multipartFormData' 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
495 | public static let textPlain = Enctype(rawValue: "text/plain")
496 | }
/host/spi-builder-workspace/Sources/Html/Attributes/Attribute.swift:495:21: warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'Enctype' may have shared mutable state; this is an error in the Swift 6 language mode
484 | }
485 |
486 | public struct Enctype: RawRepresentable {
| `- note: consider making struct 'Enctype' conform to the 'Sendable' protocol
487 | public let rawValue: String
488 |
:
493 | public static let applicationXWwwFormUrlencoded = Enctype(rawValue: "application/x-www-form-urlencoded")
494 | public static let multipartFormData = Enctype(rawValue: "multipart/form-data")
495 | public static let textPlain = Enctype(rawValue: "text/plain")
| |- warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'Enctype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textPlain' 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
496 | }
497 |
/host/spi-builder-workspace/Sources/Core/RenderMode.swift:6:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RenderMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum RenderMode {
| `- note: consider making enum 'RenderMode' conform to the 'Sendable' protocol
2 | case
3 | release(RenderStyle),
4 | debug(RenderStyle)
5 |
6 | public static let `default`: RenderMode = .release(.inline)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RenderMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/Html/Attributes/Attribute.swift:1050:13: warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
1048 | }
1049 |
1050 | private let iso8601DateFormatter: DateFormatter = {
| `- warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
1051 | let formatter = DateFormatter()
1052 | formatter.locale = Locale(identifier: "en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Html/Attributes/Attribute.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import struct Foundation.Date
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 | import struct Foundation.Locale
3 | import struct Foundation.TimeZone
:
1048 | }
1049 |
1050 | private let iso8601DateFormatter: DateFormatter = {
| |- note: annotate 'iso8601DateFormatter' 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
1051 | let formatter = DateFormatter()
1052 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:12:21: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
10 | case text(Text, charset: Charset?)
11 |
12 | public static let gif = image(.gif)
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gif' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let javascript = application(.javascript)
14 | public static let jpeg = image(.jpeg)
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:108:23: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 |
99 | public struct Image: RawRepresentable {
| `- note: consider making struct 'Image' conform to the 'Sendable' protocol
100 | public let rawValue: String
101 |
:
106 | public static let bmp: Image = "bmp"
107 | public static let jpeg: Image = "jpeg"
108 | public static let gif: Image = "gif"
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gif' 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
109 | public static let png: Image = "png"
110 | public static let svg: Image = "svg+xml"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:13:21: warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
11 |
12 | public static let gif = image(.gif)
13 | public static let javascript = application(.javascript)
| |- warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'javascript' 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
14 | public static let jpeg = image(.jpeg)
15 | public static let json = application(.json)
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:65:23: warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | extension MediaType {
58 | public struct Application: RawRepresentable {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
59 | public let rawValue: String
60 |
:
63 | }
64 |
65 | public static let javascript: Application = "javascript"
| |- warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'javascript' 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
66 | public static let json: Application = "json"
67 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:14:21: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
12 | public static let gif = image(.gif)
13 | public static let javascript = application(.javascript)
14 | public static let jpeg = image(.jpeg)
| |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jpeg' 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
15 | public static let json = application(.json)
16 | public static let html = text(.html, charset: .utf8)
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:107:23: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 |
99 | public struct Image: RawRepresentable {
| `- note: consider making struct 'Image' conform to the 'Sendable' protocol
100 | public let rawValue: String
101 |
:
105 |
106 | public static let bmp: Image = "bmp"
107 | public static let jpeg: Image = "jpeg"
| |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jpeg' 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
108 | public static let gif: Image = "gif"
109 | public static let png: Image = "png"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:15:21: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
13 | public static let javascript = application(.javascript)
14 | public static let jpeg = image(.jpeg)
15 | public static let json = application(.json)
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' 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
16 | public static let html = text(.html, charset: .utf8)
17 | public static let mp3 = audio(.mpeg)
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:66:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | extension MediaType {
58 | public struct Application: RawRepresentable {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
59 | public let rawValue: String
60 |
:
64 |
65 | public static let javascript: Application = "javascript"
66 | public static let json: Application = "json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public static let xml: Application = "xml"
68 | public static let xWwwFormUrlencoded: Application = "x-www-form-url-encoded"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:16:21: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
14 | public static let jpeg = image(.jpeg)
15 | public static let json = application(.json)
16 | public static let html = text(.html, charset: .utf8)
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'html' 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 | public static let mp3 = audio(.mpeg)
18 | public static let plain = text(.plain, charset: nil)
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:137:23: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Text: RawRepresentable {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
129 | public let rawValue: String
130 |
:
135 | public static let css: Text = "css"
136 | public static let csv: Text = "csv"
137 | public static let html: Text = "html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'html' 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
138 | public static let plain: Text = "plain"
139 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:160:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MediaType.Charset' may have shared mutable state; this is an error in the Swift 6 language mode
151 | }
152 |
153 | public struct Charset: RawRepresentable {
| `- note: consider making struct 'Charset' conform to the 'Sendable' protocol
154 | public let rawValue: String
155 |
:
158 | }
159 |
160 | public static let utf8: Charset = "utf-8"
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MediaType.Charset' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utf8' 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
161 | // TODO: http://www.iana.org/assignments/character-sets/character-sets.xhtml
162 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:17:21: warning: static property 'mp3' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
15 | public static let json = application(.json)
16 | public static let html = text(.html, charset: .utf8)
17 | public static let mp3 = audio(.mpeg)
| |- warning: static property 'mp3' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mp3' 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
18 | public static let plain = text(.plain, charset: nil)
19 | public static let png = image(.png)
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:80:23: warning: static property 'mpeg' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct Audio: RawRepresentable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
72 | public let rawValue: String
73 |
:
78 | public static let aiff: Audio = "aiff"
79 | public static let ogg: Audio = "ogg"
80 | public static let mpeg: Audio = "mpeg"
| |- warning: static property 'mpeg' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mpeg' 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
81 | public static let wav: Audio = "wav"
82 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:18:21: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
16 | public static let html = text(.html, charset: .utf8)
17 | public static let mp3 = audio(.mpeg)
18 | public static let plain = text(.plain, charset: nil)
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let png = image(.png)
20 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:138:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Text: RawRepresentable {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
129 | public let rawValue: String
130 |
:
136 | public static let csv: Text = "csv"
137 | public static let html: Text = "html"
138 | public static let plain: Text = "plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plain' 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
139 | }
140 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:19:21: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public enum MediaType: CustomStringConvertible {
| `- note: consider making enum 'MediaType' conform to the 'Sendable' protocol
2 | case application(Application)
3 | case audio(Audio)
:
17 | public static let mp3 = audio(.mpeg)
18 | public static let plain = text(.plain, charset: nil)
19 | public static let png = image(.png)
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'png' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | public var application: Application? {
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:109:23: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 |
99 | public struct Image: RawRepresentable {
| `- note: consider making struct 'Image' conform to the 'Sendable' protocol
100 | public let rawValue: String
101 |
:
107 | public static let jpeg: Image = "jpeg"
108 | public static let gif: Image = "gif"
109 | public static let png: Image = "png"
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'png' 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
110 | public static let svg: Image = "svg+xml"
111 | public static let tiff: Image = "tiff"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:67:23: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | extension MediaType {
58 | public struct Application: RawRepresentable {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
59 | public let rawValue: String
60 |
:
65 | public static let javascript: Application = "javascript"
66 | public static let json: Application = "json"
67 | public static let xml: Application = "xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xml' 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
68 | public static let xWwwFormUrlencoded: Application = "x-www-form-url-encoded"
69 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:68:23: warning: static property 'xWwwFormUrlencoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | extension MediaType {
58 | public struct Application: RawRepresentable {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
59 | public let rawValue: String
60 |
:
66 | public static let json: Application = "json"
67 | public static let xml: Application = "xml"
68 | public static let xWwwFormUrlencoded: Application = "x-www-form-url-encoded"
| |- warning: static property 'xWwwFormUrlencoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xWwwFormUrlencoded' 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
69 | }
70 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:78:23: warning: static property 'aiff' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct Audio: RawRepresentable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
72 | public let rawValue: String
73 |
:
76 | }
77 |
78 | public static let aiff: Audio = "aiff"
| |- warning: static property 'aiff' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'aiff' 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
79 | public static let ogg: Audio = "ogg"
80 | public static let mpeg: Audio = "mpeg"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:79:23: warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct Audio: RawRepresentable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
72 | public let rawValue: String
73 |
:
77 |
78 | public static let aiff: Audio = "aiff"
79 | public static let ogg: Audio = "ogg"
| |- warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ogg' 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
80 | public static let mpeg: Audio = "mpeg"
81 | public static let wav: Audio = "wav"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:81:23: warning: static property 'wav' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct Audio: RawRepresentable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
72 | public let rawValue: String
73 |
:
79 | public static let ogg: Audio = "ogg"
80 | public static let mpeg: Audio = "mpeg"
81 | public static let wav: Audio = "wav"
| |- warning: static property 'wav' is not concurrency-safe because non-'Sendable' type 'MediaType.Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wav' 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
82 | }
83 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:91:23: warning: static property 'collection' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct Font: RawRepresentable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
85 | public let rawValue: String
86 |
:
89 | }
90 |
91 | public static let collection: Font = "collection"
| |- warning: static property 'collection' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collection' 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
92 | public static let otf: Font = "otf"
93 | public static let sfnt: Font = "sfnt"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:92:23: warning: static property 'otf' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct Font: RawRepresentable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
85 | public let rawValue: String
86 |
:
90 |
91 | public static let collection: Font = "collection"
92 | public static let otf: Font = "otf"
| |- warning: static property 'otf' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otf' 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
93 | public static let sfnt: Font = "sfnt"
94 | public static let ttf: Font = "ttf"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:93:23: warning: static property 'sfnt' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct Font: RawRepresentable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
85 | public let rawValue: String
86 |
:
91 | public static let collection: Font = "collection"
92 | public static let otf: Font = "otf"
93 | public static let sfnt: Font = "sfnt"
| |- warning: static property 'sfnt' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sfnt' 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
94 | public static let ttf: Font = "ttf"
95 | public static let woff: Font = "woff"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:94:23: warning: static property 'ttf' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct Font: RawRepresentable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
85 | public let rawValue: String
86 |
:
92 | public static let otf: Font = "otf"
93 | public static let sfnt: Font = "sfnt"
94 | public static let ttf: Font = "ttf"
| |- warning: static property 'ttf' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ttf' 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
95 | public static let woff: Font = "woff"
96 | public static let woff2: Font = "woff2"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:95:23: warning: static property 'woff' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct Font: RawRepresentable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
85 | public let rawValue: String
86 |
:
93 | public static let sfnt: Font = "sfnt"
94 | public static let ttf: Font = "ttf"
95 | public static let woff: Font = "woff"
| |- warning: static property 'woff' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'woff' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let woff2: Font = "woff2"
97 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:96:23: warning: static property 'woff2' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct Font: RawRepresentable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
85 | public let rawValue: String
86 |
:
94 | public static let ttf: Font = "ttf"
95 | public static let woff: Font = "woff"
96 | public static let woff2: Font = "woff2"
| |- warning: static property 'woff2' is not concurrency-safe because non-'Sendable' type 'MediaType.Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'woff2' 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
97 | }
98 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:106:23: warning: static property 'bmp' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 |
99 | public struct Image: RawRepresentable {
| `- note: consider making struct 'Image' conform to the 'Sendable' protocol
100 | public let rawValue: String
101 |
:
104 | }
105 |
106 | public static let bmp: Image = "bmp"
| |- warning: static property 'bmp' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bmp' 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
107 | public static let jpeg: Image = "jpeg"
108 | public static let gif: Image = "gif"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:110:23: warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 |
99 | public struct Image: RawRepresentable {
| `- note: consider making struct 'Image' conform to the 'Sendable' protocol
100 | public let rawValue: String
101 |
:
108 | public static let gif: Image = "gif"
109 | public static let png: Image = "png"
110 | public static let svg: Image = "svg+xml"
| |- warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'svg' 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
111 | public static let tiff: Image = "tiff"
112 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:111:23: warning: static property 'tiff' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 |
99 | public struct Image: RawRepresentable {
| `- note: consider making struct 'Image' conform to the 'Sendable' protocol
100 | public let rawValue: String
101 |
:
109 | public static let png: Image = "png"
110 | public static let svg: Image = "svg+xml"
111 | public static let tiff: Image = "tiff"
| |- warning: static property 'tiff' is not concurrency-safe because non-'Sendable' type 'MediaType.Image' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tiff' 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
112 | }
113 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:121:23: warning: static property 'alternative' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
112 | }
113 |
114 | public struct Multipart: RawRepresentable {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
115 | public let rawValue: String
116 |
:
119 | }
120 |
121 | public static let alternative: Multipart = "alternative"
| |- warning: static property 'alternative' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alternative' 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
122 | public static let digest: Multipart = "digest"
123 | public static let mixed: Multipart = "mixed"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:122:23: warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
112 | }
113 |
114 | public struct Multipart: RawRepresentable {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
115 | public let rawValue: String
116 |
:
120 |
121 | public static let alternative: Multipart = "alternative"
122 | public static let digest: Multipart = "digest"
| |- warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'digest' 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
123 | public static let mixed: Multipart = "mixed"
124 | public static let parallel: Multipart = "parallel"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:123:23: warning: static property 'mixed' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
112 | }
113 |
114 | public struct Multipart: RawRepresentable {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
115 | public let rawValue: String
116 |
:
121 | public static let alternative: Multipart = "alternative"
122 | public static let digest: Multipart = "digest"
123 | public static let mixed: Multipart = "mixed"
| |- warning: static property 'mixed' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mixed' 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
124 | public static let parallel: Multipart = "parallel"
125 | public static let formData: Multipart = "form-data"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:124:23: warning: static property 'parallel' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
112 | }
113 |
114 | public struct Multipart: RawRepresentable {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
115 | public let rawValue: String
116 |
:
122 | public static let digest: Multipart = "digest"
123 | public static let mixed: Multipart = "mixed"
124 | public static let parallel: Multipart = "parallel"
| |- warning: static property 'parallel' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parallel' 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
125 | public static let formData: Multipart = "form-data"
126 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:125:23: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
112 | }
113 |
114 | public struct Multipart: RawRepresentable {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
115 | public let rawValue: String
116 |
:
123 | public static let mixed: Multipart = "mixed"
124 | public static let parallel: Multipart = "parallel"
125 | public static let formData: Multipart = "form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'formData' 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
126 | }
127 |
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:135:23: warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Text: RawRepresentable {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
129 | public let rawValue: String
130 |
:
133 | }
134 |
135 | public static let css: Text = "css"
| |- warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'css' 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
136 | public static let csv: Text = "csv"
137 | public static let html: Text = "html"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:136:23: warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Text: RawRepresentable {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
129 | public let rawValue: String
130 |
:
134 |
135 | public static let css: Text = "css"
136 | public static let csv: Text = "csv"
| |- warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'csv' 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
137 | public static let html: Text = "html"
138 | public static let plain: Text = "plain"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:148:23: warning: static property 'mp4' is not concurrency-safe because non-'Sendable' type 'MediaType.Video' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }
140 |
141 | public struct Video: RawRepresentable {
| `- note: consider making struct 'Video' conform to the 'Sendable' protocol
142 | public let rawValue: String
143 |
:
146 | }
147 |
148 | public static let mp4: Video = "mp4"
| |- warning: static property 'mp4' is not concurrency-safe because non-'Sendable' type 'MediaType.Video' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mp4' 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
149 | public static let ogg: Video = "ogg"
150 | public static let webm: Video = "webm"
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:149:23: warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'MediaType.Video' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }
140 |
141 | public struct Video: RawRepresentable {
| `- note: consider making struct 'Video' conform to the 'Sendable' protocol
142 | public let rawValue: String
143 |
:
147 |
148 | public static let mp4: Video = "mp4"
149 | public static let ogg: Video = "ogg"
| |- warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'MediaType.Video' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ogg' 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
150 | public static let webm: Video = "webm"
151 | }
/host/spi-builder-workspace/Sources/Html/Attributes/MediaType.swift:150:23: warning: static property 'webm' is not concurrency-safe because non-'Sendable' type 'MediaType.Video' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }
140 |
141 | public struct Video: RawRepresentable {
| `- note: consider making struct 'Video' conform to the 'Sendable' protocol
142 | public let rawValue: String
143 |
:
148 | public static let mp4: Video = "mp4"
149 | public static let ogg: Video = "ogg"
150 | public static let webm: Video = "webm"
| |- warning: static property 'webm' is not concurrency-safe because non-'Sendable' type 'MediaType.Video' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webm' 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
151 | }
152 |
[53/61] Compiling Css Default.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Css/Helpers.swift:11:14: warning: let 'fraction' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
9 | internal let degree = clamp(0...359)
10 |
11 | internal let fraction = clamp(0.0...1.0)
| |- warning: let 'fraction' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fraction' 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
12 |
13 | internal let percentage = clamp(0...100)
[54/61] Compiling Css Duration.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Css/Helpers.swift:11:14: warning: let 'fraction' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
9 | internal let degree = clamp(0...359)
10 |
11 | internal let fraction = clamp(0.0...1.0)
| |- warning: let 'fraction' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fraction' 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
12 |
13 | internal let percentage = clamp(0...100)
[55/61] Compiling Css Fraction.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Css/Helpers.swift:11:14: warning: let 'fraction' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
9 | internal let degree = clamp(0...359)
10 |
11 | internal let fraction = clamp(0.0...1.0)
| |- warning: let 'fraction' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fraction' 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
12 |
13 | internal let percentage = clamp(0...100)
[56/61] Compiling Css Inherit.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Css/Helpers.swift:11:14: warning: let 'fraction' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
9 | internal let degree = clamp(0...359)
10 |
11 | internal let fraction = clamp(0.0...1.0)
| |- warning: let 'fraction' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fraction' 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
12 |
13 | internal let percentage = clamp(0...100)
/host/spi-builder-workspace/Sources/Css/Values/Side.swift:8:14: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | static let bottom: Self = "bottom"
7 | static let left: Self = "left"
8 | static let center: Self = "center"
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
/host/spi-builder-workspace/Sources/Css/Values/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | public protocol CSSValue {}
2 |
3 | public struct Value<Kind: CSSValue> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Css/Helpers.swift:19:14: warning: let 'naturalNumber' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
17 | internal let hexSize = clamp(0...0xffffff)
18 |
19 | internal let naturalNumber = clamp(1...Int.max)
| |- warning: let 'naturalNumber' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'naturalNumber' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | internal func compact<T>(_ arr: Array<Optional<T>>) -> Array<T> {
/host/spi-builder-workspace/Sources/Css/Values/Side.swift:8:14: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | static let bottom: Self = "bottom"
7 | static let left: Self = "left"
8 | static let center: Self = "center"
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
/host/spi-builder-workspace/Sources/Css/Values/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | public protocol CSSValue {}
2 |
3 | public struct Value<Kind: CSSValue> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Css/Helpers.swift:19:14: warning: let 'naturalNumber' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
17 | internal let hexSize = clamp(0...0xffffff)
18 |
19 | internal let naturalNumber = clamp(1...Int.max)
| |- warning: let 'naturalNumber' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'naturalNumber' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | internal func compact<T>(_ arr: Array<Optional<T>>) -> Array<T> {
/host/spi-builder-workspace/Sources/Css/Values/Side.swift:8:14: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | static let bottom: Self = "bottom"
7 | static let left: Self = "left"
8 | static let center: Self = "center"
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
/host/spi-builder-workspace/Sources/Css/Values/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | public protocol CSSValue {}
2 |
3 | public struct Value<Kind: CSSValue> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Css/Helpers.swift:19:14: warning: let 'naturalNumber' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
17 | internal let hexSize = clamp(0...0xffffff)
18 |
19 | internal let naturalNumber = clamp(1...Int.max)
| |- warning: let 'naturalNumber' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'naturalNumber' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | internal func compact<T>(_ arr: Array<Optional<T>>) -> Array<T> {
/host/spi-builder-workspace/Sources/Css/Values/Side.swift:8:14: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | static let bottom: Self = "bottom"
7 | static let left: Self = "left"
8 | static let center: Self = "center"
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
/host/spi-builder-workspace/Sources/Css/Values/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | public protocol CSSValue {}
2 |
3 | public struct Value<Kind: CSSValue> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Css/Helpers.swift:19:14: warning: let 'naturalNumber' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
17 | internal let hexSize = clamp(0...0xffffff)
18 |
19 | internal let naturalNumber = clamp(1...Int.max)
| |- warning: let 'naturalNumber' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'naturalNumber' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | internal func compact<T>(_ arr: Array<Optional<T>>) -> Array<T> {
[62/62] Compiling Html Tags.swift
[64/65] Emitting module HtmlCssSupport
/host/spi-builder-workspace/Sources/HtmlCssSupport/HtmlExtensions.swift:4:1: warning: extension declares a conformance of imported type 'Stylesheet' to imported protocol 'HtmlNode'; this will not behave correctly if the owners of 'Css' introduce this conformance in the future
2 | import Css
3 |
4 | extension Stylesheet: HtmlNode {}
| |- warning: extension declares a conformance of imported type 'Stylesheet' to imported protocol 'HtmlNode'; this will not behave correctly if the owners of 'Css' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 |
6 | extension Style {
/host/spi-builder-workspace/Sources/Css/Values/Side.swift:8:14: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | static let bottom: Self = "bottom"
7 | static let left: Self = "left"
8 | static let center: Self = "center"
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
/host/spi-builder-workspace/Sources/Css/Values/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | public protocol CSSValue {}
2 |
3 | public struct Value<Kind: CSSValue> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
[65/65] Compiling HtmlCssSupport HtmlExtensions.swift
/host/spi-builder-workspace/Sources/HtmlCssSupport/HtmlExtensions.swift:4:1: warning: extension declares a conformance of imported type 'Stylesheet' to imported protocol 'HtmlNode'; this will not behave correctly if the owners of 'Css' introduce this conformance in the future
2 | import Css
3 |
4 | extension Stylesheet: HtmlNode {}
| |- warning: extension declares a conformance of imported type 'Stylesheet' to imported protocol 'HtmlNode'; this will not behave correctly if the owners of 'Css' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 |
6 | extension Style {
/host/spi-builder-workspace/Sources/Css/Values/Side.swift:8:14: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | static let bottom: Self = "bottom"
7 | static let left: Self = "left"
8 | static let center: Self = "center"
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Value<CSSSide>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
/host/spi-builder-workspace/Sources/Css/Values/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | public protocol CSSValue {}
2 |
3 | public struct Value<Kind: CSSValue> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
[67/68] Emitting module Swep
[68/68] Compiling Swep Exported.swift
Build complete! (19.95s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-web-page",
"name" : "swift-web-page",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Core",
"targets" : [
"Core"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Html",
"targets" : [
"Html"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Css",
"targets" : [
"Css"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HtmlCssSupport",
"targets" : [
"HtmlCssSupport"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Swep",
"targets" : [
"Swep"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "Swep",
"module_type" : "SwiftTarget",
"name" : "Swep",
"path" : "Sources/Swep",
"product_memberships" : [
"Swep"
],
"sources" : [
"Exported.swift"
],
"target_dependencies" : [
"Html",
"Css",
"HtmlCssSupport"
],
"type" : "library"
},
{
"c99name" : "HtmlTests",
"module_type" : "SwiftTarget",
"name" : "HtmlTests",
"path" : "Tests/HtmlTests",
"sources" : [
"AriaTests.swift",
"AttributesTests.swift",
"BuilderTests.swift",
"EventsTests.swift",
"MediaTypeTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Html"
],
"type" : "test"
},
{
"c99name" : "HtmlCssSupport",
"module_type" : "SwiftTarget",
"name" : "HtmlCssSupport",
"path" : "Sources/HtmlCssSupport",
"product_memberships" : [
"HtmlCssSupport",
"Swep"
],
"sources" : [
"HtmlExtensions.swift"
],
"target_dependencies" : [
"Html",
"Css"
],
"type" : "library"
},
{
"c99name" : "Html",
"module_type" : "SwiftTarget",
"name" : "Html",
"path" : "Sources/Html",
"product_memberships" : [
"Html",
"HtmlCssSupport",
"Swep"
],
"sources" : [
"Aliases.swift",
"Attributes/Aria.swift",
"Attributes/Attribute.swift",
"Attributes/Events.swift",
"Attributes/Html4.swift",
"Attributes/MediaType.swift",
"Attributes/TagsExtension.swift",
"ChildOf.swift",
"ChildOfAny.swift",
"Exported.swift",
"Helpers.swift",
"HtmlNodeBuilder.swift",
"Node.swift",
"Render.swift",
"Tags.swift"
],
"target_dependencies" : [
"Core"
],
"type" : "library"
},
{
"c99name" : "CssTests",
"module_type" : "SwiftTarget",
"name" : "CssTests",
"path" : "Tests/CssTests",
"sources" : [
"PropertiesTests.swift",
"SelectorsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Css"
],
"type" : "test"
},
{
"c99name" : "Css",
"module_type" : "SwiftTarget",
"name" : "Css",
"path" : "Sources/Css",
"product_memberships" : [
"Css",
"HtmlCssSupport",
"Swep"
],
"sources" : [
"Aliases.swift",
"CssNodeBuilder.swift",
"Exported.swift",
"Helpers.swift",
"Key.swift",
"Node.swift",
"Properties.swift",
"Render.swift",
"Values/Angle.swift",
"Values/Auto.swift",
"Values/Axises.swift",
"Values/Color.swift",
"Values/Default.swift",
"Values/Duration.swift",
"Values/Fraction.swift",
"Values/Inherit.swift",
"Values/Initial.swift",
"Values/Length.swift",
"Values/None.swift",
"Values/Normal.swift",
"Values/Number.swift",
"Values/Percentage.swift",
"Values/Side.swift",
"Values/String.swift",
"Values/Unset.swift",
"Values/Value.swift",
"Values/Width+Style.swift",
"Values/makeDeclarations.swift"
],
"target_dependencies" : [
"Core"
],
"type" : "library"
},
{
"c99name" : "Core",
"module_type" : "SwiftTarget",
"name" : "Core",
"path" : "Sources/Core",
"product_memberships" : [
"Core",
"Html",
"Css",
"HtmlCssSupport",
"Swep"
],
"sources" : [
"Either.swift",
"Empty.swift",
"Indentation.swift",
"Render.swift",
"RenderMode.swift",
"RenderStyle.swift",
"Renderable.swift",
"Tuple.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.