Build Information
Successful build of HTTPMediaTypes, reference master (cbbb33
), with Swift 6.0 for Linux on 1 Nov 2024 04:52:05 UTC.
Swift 6 data race errors: 29
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Einstore/HTTPMediaTypes.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/Einstore/HTTPMediaTypes
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at cbbb333 initial upload
Cloned https://github.com/Einstore/HTTPMediaTypes.git
Revision (git rev-parse @):
cbbb333bce74fbe5ef34648de1d3c2bfef2327fa
SUCCESS checkout https://github.com/Einstore/HTTPMediaTypes.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/Einstore/HTTPMediaTypes.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/5] Compiling HTTPMediaTypes HTTPMediaType.swift
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:177:16: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
175 | public extension HTTPMediaType {
176 | /// Any media type (*/*).
177 | static let any = HTTPMediaType(type: "*", subType: "*")
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'any' 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
178 | /// Plain text media type.
179 | static let plainText = HTTPMediaType(type: "text", subType: "plain", parameters: ["charset": "utf-8"])
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:179:16: warning: static property 'plainText' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
177 | static let any = HTTPMediaType(type: "*", subType: "*")
178 | /// Plain text media type.
179 | static let plainText = HTTPMediaType(type: "text", subType: "plain", parameters: ["charset": "utf-8"])
| |- warning: static property 'plainText' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plainText' 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
180 | /// HTML media type.
181 | static let html = HTTPMediaType(type: "text", subType: "html", parameters: ["charset": "utf-8"])
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:181:16: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
179 | static let plainText = HTTPMediaType(type: "text", subType: "plain", parameters: ["charset": "utf-8"])
180 | /// HTML media type.
181 | static let html = HTTPMediaType(type: "text", subType: "html", parameters: ["charset": "utf-8"])
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
182 | /// CSS media type.
183 | static let css = HTTPMediaType(type: "text", subType: "css", parameters: ["charset": "utf-8"])
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:183:16: warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
181 | static let html = HTTPMediaType(type: "text", subType: "html", parameters: ["charset": "utf-8"])
182 | /// CSS media type.
183 | static let css = HTTPMediaType(type: "text", subType: "css", parameters: ["charset": "utf-8"])
| |- warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
184 | /// URL encoded form media type.
185 | static let urlEncodedForm = HTTPMediaType(type: "application", subType: "x-www-form-urlencoded", parameters: ["charset": "utf-8"])
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:185:16: warning: static property 'urlEncodedForm' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
183 | static let css = HTTPMediaType(type: "text", subType: "css", parameters: ["charset": "utf-8"])
184 | /// URL encoded form media type.
185 | static let urlEncodedForm = HTTPMediaType(type: "application", subType: "x-www-form-urlencoded", parameters: ["charset": "utf-8"])
| |- warning: static property 'urlEncodedForm' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'urlEncodedForm' 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
186 | /// Multipart encoded form data.
187 | static let formData = HTTPMediaType(type: "multipart", subType: "form-data")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:187:16: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
185 | static let urlEncodedForm = HTTPMediaType(type: "application", subType: "x-www-form-urlencoded", parameters: ["charset": "utf-8"])
186 | /// Multipart encoded form data.
187 | static let formData = HTTPMediaType(type: "multipart", subType: "form-data")
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
188 | /// Mixed multipart encoded data.
189 | static let multipart = HTTPMediaType(type: "multipart", subType: "mixed")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:189:16: warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
187 | static let formData = HTTPMediaType(type: "multipart", subType: "form-data")
188 | /// Mixed multipart encoded data.
189 | static let multipart = HTTPMediaType(type: "multipart", subType: "mixed")
| |- warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multipart' 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
190 | /// JSON media type.
191 | static let json = HTTPMediaType(type: "application", subType: "json", parameters: ["charset": "utf-8"])
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:191:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
189 | static let multipart = HTTPMediaType(type: "multipart", subType: "mixed")
190 | /// JSON media type.
191 | static let json = HTTPMediaType(type: "application", subType: "json", parameters: ["charset": "utf-8"])
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
192 | /// JSON API media type (see https://jsonapi.org/format/).
193 | static let jsonAPI = HTTPMediaType(type: "application", subType: "vnd.api+json", parameters: ["charset": "utf-8"])
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:193:16: warning: static property 'jsonAPI' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
191 | static let json = HTTPMediaType(type: "application", subType: "json", parameters: ["charset": "utf-8"])
192 | /// JSON API media type (see https://jsonapi.org/format/).
193 | static let jsonAPI = HTTPMediaType(type: "application", subType: "vnd.api+json", parameters: ["charset": "utf-8"])
| |- warning: static property 'jsonAPI' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonAPI' 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
194 | /// XML media type.
195 | static let xml = HTTPMediaType(type: "application", subType: "xml", parameters: ["charset": "utf-8"])
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:195:16: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
193 | static let jsonAPI = HTTPMediaType(type: "application", subType: "vnd.api+json", parameters: ["charset": "utf-8"])
194 | /// XML media type.
195 | static let xml = HTTPMediaType(type: "application", subType: "xml", parameters: ["charset": "utf-8"])
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
196 | /// DTD media type.
197 | static let dtd = HTTPMediaType(type: "application", subType: "xml-dtd", parameters: ["charset": "utf-8"])
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:197:16: warning: static property 'dtd' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
195 | static let xml = HTTPMediaType(type: "application", subType: "xml", parameters: ["charset": "utf-8"])
196 | /// DTD media type.
197 | static let dtd = HTTPMediaType(type: "application", subType: "xml-dtd", parameters: ["charset": "utf-8"])
| |- warning: static property 'dtd' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dtd' 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
198 | /// PDF data.
199 | static let pdf = HTTPMediaType(type: "application", subType: "pdf")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:199:16: warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
197 | static let dtd = HTTPMediaType(type: "application", subType: "xml-dtd", parameters: ["charset": "utf-8"])
198 | /// PDF data.
199 | static let pdf = HTTPMediaType(type: "application", subType: "pdf")
| |- warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pdf' 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
200 | /// Zip file.
201 | static let zip = HTTPMediaType(type: "application", subType: "zip")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:201:16: warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
199 | static let pdf = HTTPMediaType(type: "application", subType: "pdf")
200 | /// Zip file.
201 | static let zip = HTTPMediaType(type: "application", subType: "zip")
| |- warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zip' 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
202 | /// tar file.
203 | static let tar = HTTPMediaType(type: "application", subType: "x-tar")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:203:16: warning: static property 'tar' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
201 | static let zip = HTTPMediaType(type: "application", subType: "zip")
202 | /// tar file.
203 | static let tar = HTTPMediaType(type: "application", subType: "x-tar")
| |- warning: static property 'tar' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tar' 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
204 | /// Gzip file.
205 | static let gzip = HTTPMediaType(type: "application", subType: "x-gzip")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:205:16: warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
203 | static let tar = HTTPMediaType(type: "application", subType: "x-tar")
204 | /// Gzip file.
205 | static let gzip = HTTPMediaType(type: "application", subType: "x-gzip")
| |- warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gzip' 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
206 | /// Bzip2 file.
207 | static let bzip2 = HTTPMediaType(type: "application", subType: "x-bzip2")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:207:16: warning: static property 'bzip2' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
205 | static let gzip = HTTPMediaType(type: "application", subType: "x-gzip")
206 | /// Bzip2 file.
207 | static let bzip2 = HTTPMediaType(type: "application", subType: "x-bzip2")
| |- warning: static property 'bzip2' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bzip2' 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
208 | /// Binary data.
209 | static let binary = HTTPMediaType(type: "application", subType: "octet-stream")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:209:16: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
207 | static let bzip2 = HTTPMediaType(type: "application", subType: "x-bzip2")
208 | /// Binary data.
209 | static let binary = HTTPMediaType(type: "application", subType: "octet-stream")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' 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
210 | /// GIF image.
211 | static let gif = HTTPMediaType(type: "image", subType: "gif")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:211:16: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
209 | static let binary = HTTPMediaType(type: "application", subType: "octet-stream")
210 | /// GIF image.
211 | static let gif = HTTPMediaType(type: "image", subType: "gif")
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
212 | /// JPEG image.
213 | static let jpeg = HTTPMediaType(type: "image", subType: "jpeg")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:213:16: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
211 | static let gif = HTTPMediaType(type: "image", subType: "gif")
212 | /// JPEG image.
213 | static let jpeg = HTTPMediaType(type: "image", subType: "jpeg")
| |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
214 | /// PNG image.
215 | static let png = HTTPMediaType(type: "image", subType: "png")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:215:16: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
213 | static let jpeg = HTTPMediaType(type: "image", subType: "jpeg")
214 | /// PNG image.
215 | static let png = HTTPMediaType(type: "image", subType: "png")
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
216 | /// SVG image.
217 | static let svg = HTTPMediaType(type: "image", subType: "svg+xml")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:217:16: warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
215 | static let png = HTTPMediaType(type: "image", subType: "png")
216 | /// SVG image.
217 | static let svg = HTTPMediaType(type: "image", subType: "svg+xml")
| |- warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
218 | /// Basic audio.
219 | static let audio = HTTPMediaType(type: "audio", subType: "basic")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:219:16: warning: static property 'audio' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
217 | static let svg = HTTPMediaType(type: "image", subType: "svg+xml")
218 | /// Basic audio.
219 | static let audio = HTTPMediaType(type: "audio", subType: "basic")
| |- warning: static property 'audio' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'audio' 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
220 | /// MIDI audio.
221 | static let midi = HTTPMediaType(type: "audio", subType: "x-midi")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:221:16: warning: static property 'midi' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
219 | static let audio = HTTPMediaType(type: "audio", subType: "basic")
220 | /// MIDI audio.
221 | static let midi = HTTPMediaType(type: "audio", subType: "x-midi")
| |- warning: static property 'midi' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'midi' 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
222 | /// MP3 audio.
223 | static let mp3 = HTTPMediaType(type: "audio", subType: "mpeg")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:223:16: warning: static property 'mp3' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
221 | static let midi = HTTPMediaType(type: "audio", subType: "x-midi")
222 | /// MP3 audio.
223 | static let mp3 = HTTPMediaType(type: "audio", subType: "mpeg")
| |- warning: static property 'mp3' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
224 | /// Wave audio.
225 | static let wave = HTTPMediaType(type: "audio", subType: "wav")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:225:16: warning: static property 'wave' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
223 | static let mp3 = HTTPMediaType(type: "audio", subType: "mpeg")
224 | /// Wave audio.
225 | static let wave = HTTPMediaType(type: "audio", subType: "wav")
| |- warning: static property 'wave' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wave' 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
226 | /// OGG audio.
227 | static let ogg = HTTPMediaType(type: "audio", subType: "vorbis")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:227:16: warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
225 | static let wave = HTTPMediaType(type: "audio", subType: "wav")
226 | /// OGG audio.
227 | static let ogg = HTTPMediaType(type: "audio", subType: "vorbis")
| |- warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
228 | /// AVI video.
229 | static let avi = HTTPMediaType(type: "video", subType: "avi")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:229:16: warning: static property 'avi' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
227 | static let ogg = HTTPMediaType(type: "audio", subType: "vorbis")
228 | /// AVI video.
229 | static let avi = HTTPMediaType(type: "video", subType: "avi")
| |- warning: static property 'avi' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avi' 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
230 | /// MPEG video.
231 | static let mpeg = HTTPMediaType(type: "video", subType: "mpeg")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:231:16: warning: static property 'mpeg' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
229 | static let avi = HTTPMediaType(type: "video", subType: "avi")
230 | /// MPEG video.
231 | static let mpeg = HTTPMediaType(type: "video", subType: "mpeg")
| |- warning: static property 'mpeg' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
232 | }
233 |
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:235:5: warning: let 'fileExtensionMediaTypeMapping' is not concurrency-safe because non-'Sendable' type '[String : HTTPMediaType]' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
233 |
234 | // MARK: Extensions
235 | let fileExtensionMediaTypeMapping: [String: HTTPMediaType] = [
| |- warning: let 'fileExtensionMediaTypeMapping' is not concurrency-safe because non-'Sendable' type '[String : HTTPMediaType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fileExtensionMediaTypeMapping' 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
236 | "ez": HTTPMediaType(type: "application", subType: "andrew-inset"),
237 | "anx": HTTPMediaType(type: "application", subType: "annodex"),
[4/5] Emitting module HTTPMediaTypes
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:177:16: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
175 | public extension HTTPMediaType {
176 | /// Any media type (*/*).
177 | static let any = HTTPMediaType(type: "*", subType: "*")
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'any' 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
178 | /// Plain text media type.
179 | static let plainText = HTTPMediaType(type: "text", subType: "plain", parameters: ["charset": "utf-8"])
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:179:16: warning: static property 'plainText' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
177 | static let any = HTTPMediaType(type: "*", subType: "*")
178 | /// Plain text media type.
179 | static let plainText = HTTPMediaType(type: "text", subType: "plain", parameters: ["charset": "utf-8"])
| |- warning: static property 'plainText' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plainText' 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
180 | /// HTML media type.
181 | static let html = HTTPMediaType(type: "text", subType: "html", parameters: ["charset": "utf-8"])
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:181:16: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
179 | static let plainText = HTTPMediaType(type: "text", subType: "plain", parameters: ["charset": "utf-8"])
180 | /// HTML media type.
181 | static let html = HTTPMediaType(type: "text", subType: "html", parameters: ["charset": "utf-8"])
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
182 | /// CSS media type.
183 | static let css = HTTPMediaType(type: "text", subType: "css", parameters: ["charset": "utf-8"])
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:183:16: warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
181 | static let html = HTTPMediaType(type: "text", subType: "html", parameters: ["charset": "utf-8"])
182 | /// CSS media type.
183 | static let css = HTTPMediaType(type: "text", subType: "css", parameters: ["charset": "utf-8"])
| |- warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
184 | /// URL encoded form media type.
185 | static let urlEncodedForm = HTTPMediaType(type: "application", subType: "x-www-form-urlencoded", parameters: ["charset": "utf-8"])
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:185:16: warning: static property 'urlEncodedForm' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
183 | static let css = HTTPMediaType(type: "text", subType: "css", parameters: ["charset": "utf-8"])
184 | /// URL encoded form media type.
185 | static let urlEncodedForm = HTTPMediaType(type: "application", subType: "x-www-form-urlencoded", parameters: ["charset": "utf-8"])
| |- warning: static property 'urlEncodedForm' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'urlEncodedForm' 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
186 | /// Multipart encoded form data.
187 | static let formData = HTTPMediaType(type: "multipart", subType: "form-data")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:187:16: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
185 | static let urlEncodedForm = HTTPMediaType(type: "application", subType: "x-www-form-urlencoded", parameters: ["charset": "utf-8"])
186 | /// Multipart encoded form data.
187 | static let formData = HTTPMediaType(type: "multipart", subType: "form-data")
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
188 | /// Mixed multipart encoded data.
189 | static let multipart = HTTPMediaType(type: "multipart", subType: "mixed")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:189:16: warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
187 | static let formData = HTTPMediaType(type: "multipart", subType: "form-data")
188 | /// Mixed multipart encoded data.
189 | static let multipart = HTTPMediaType(type: "multipart", subType: "mixed")
| |- warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multipart' 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
190 | /// JSON media type.
191 | static let json = HTTPMediaType(type: "application", subType: "json", parameters: ["charset": "utf-8"])
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:191:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
189 | static let multipart = HTTPMediaType(type: "multipart", subType: "mixed")
190 | /// JSON media type.
191 | static let json = HTTPMediaType(type: "application", subType: "json", parameters: ["charset": "utf-8"])
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
192 | /// JSON API media type (see https://jsonapi.org/format/).
193 | static let jsonAPI = HTTPMediaType(type: "application", subType: "vnd.api+json", parameters: ["charset": "utf-8"])
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:193:16: warning: static property 'jsonAPI' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
191 | static let json = HTTPMediaType(type: "application", subType: "json", parameters: ["charset": "utf-8"])
192 | /// JSON API media type (see https://jsonapi.org/format/).
193 | static let jsonAPI = HTTPMediaType(type: "application", subType: "vnd.api+json", parameters: ["charset": "utf-8"])
| |- warning: static property 'jsonAPI' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonAPI' 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
194 | /// XML media type.
195 | static let xml = HTTPMediaType(type: "application", subType: "xml", parameters: ["charset": "utf-8"])
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:195:16: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
193 | static let jsonAPI = HTTPMediaType(type: "application", subType: "vnd.api+json", parameters: ["charset": "utf-8"])
194 | /// XML media type.
195 | static let xml = HTTPMediaType(type: "application", subType: "xml", parameters: ["charset": "utf-8"])
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
196 | /// DTD media type.
197 | static let dtd = HTTPMediaType(type: "application", subType: "xml-dtd", parameters: ["charset": "utf-8"])
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:197:16: warning: static property 'dtd' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
195 | static let xml = HTTPMediaType(type: "application", subType: "xml", parameters: ["charset": "utf-8"])
196 | /// DTD media type.
197 | static let dtd = HTTPMediaType(type: "application", subType: "xml-dtd", parameters: ["charset": "utf-8"])
| |- warning: static property 'dtd' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dtd' 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
198 | /// PDF data.
199 | static let pdf = HTTPMediaType(type: "application", subType: "pdf")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:199:16: warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
197 | static let dtd = HTTPMediaType(type: "application", subType: "xml-dtd", parameters: ["charset": "utf-8"])
198 | /// PDF data.
199 | static let pdf = HTTPMediaType(type: "application", subType: "pdf")
| |- warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pdf' 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
200 | /// Zip file.
201 | static let zip = HTTPMediaType(type: "application", subType: "zip")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:201:16: warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
199 | static let pdf = HTTPMediaType(type: "application", subType: "pdf")
200 | /// Zip file.
201 | static let zip = HTTPMediaType(type: "application", subType: "zip")
| |- warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zip' 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
202 | /// tar file.
203 | static let tar = HTTPMediaType(type: "application", subType: "x-tar")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:203:16: warning: static property 'tar' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
201 | static let zip = HTTPMediaType(type: "application", subType: "zip")
202 | /// tar file.
203 | static let tar = HTTPMediaType(type: "application", subType: "x-tar")
| |- warning: static property 'tar' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tar' 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
204 | /// Gzip file.
205 | static let gzip = HTTPMediaType(type: "application", subType: "x-gzip")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:205:16: warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
203 | static let tar = HTTPMediaType(type: "application", subType: "x-tar")
204 | /// Gzip file.
205 | static let gzip = HTTPMediaType(type: "application", subType: "x-gzip")
| |- warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gzip' 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
206 | /// Bzip2 file.
207 | static let bzip2 = HTTPMediaType(type: "application", subType: "x-bzip2")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:207:16: warning: static property 'bzip2' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
205 | static let gzip = HTTPMediaType(type: "application", subType: "x-gzip")
206 | /// Bzip2 file.
207 | static let bzip2 = HTTPMediaType(type: "application", subType: "x-bzip2")
| |- warning: static property 'bzip2' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bzip2' 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
208 | /// Binary data.
209 | static let binary = HTTPMediaType(type: "application", subType: "octet-stream")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:209:16: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
207 | static let bzip2 = HTTPMediaType(type: "application", subType: "x-bzip2")
208 | /// Binary data.
209 | static let binary = HTTPMediaType(type: "application", subType: "octet-stream")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' 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
210 | /// GIF image.
211 | static let gif = HTTPMediaType(type: "image", subType: "gif")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:211:16: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
209 | static let binary = HTTPMediaType(type: "application", subType: "octet-stream")
210 | /// GIF image.
211 | static let gif = HTTPMediaType(type: "image", subType: "gif")
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
212 | /// JPEG image.
213 | static let jpeg = HTTPMediaType(type: "image", subType: "jpeg")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:213:16: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
211 | static let gif = HTTPMediaType(type: "image", subType: "gif")
212 | /// JPEG image.
213 | static let jpeg = HTTPMediaType(type: "image", subType: "jpeg")
| |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
214 | /// PNG image.
215 | static let png = HTTPMediaType(type: "image", subType: "png")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:215:16: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
213 | static let jpeg = HTTPMediaType(type: "image", subType: "jpeg")
214 | /// PNG image.
215 | static let png = HTTPMediaType(type: "image", subType: "png")
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
216 | /// SVG image.
217 | static let svg = HTTPMediaType(type: "image", subType: "svg+xml")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:217:16: warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
215 | static let png = HTTPMediaType(type: "image", subType: "png")
216 | /// SVG image.
217 | static let svg = HTTPMediaType(type: "image", subType: "svg+xml")
| |- warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
218 | /// Basic audio.
219 | static let audio = HTTPMediaType(type: "audio", subType: "basic")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:219:16: warning: static property 'audio' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
217 | static let svg = HTTPMediaType(type: "image", subType: "svg+xml")
218 | /// Basic audio.
219 | static let audio = HTTPMediaType(type: "audio", subType: "basic")
| |- warning: static property 'audio' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'audio' 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
220 | /// MIDI audio.
221 | static let midi = HTTPMediaType(type: "audio", subType: "x-midi")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:221:16: warning: static property 'midi' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
219 | static let audio = HTTPMediaType(type: "audio", subType: "basic")
220 | /// MIDI audio.
221 | static let midi = HTTPMediaType(type: "audio", subType: "x-midi")
| |- warning: static property 'midi' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'midi' 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
222 | /// MP3 audio.
223 | static let mp3 = HTTPMediaType(type: "audio", subType: "mpeg")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:223:16: warning: static property 'mp3' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
221 | static let midi = HTTPMediaType(type: "audio", subType: "x-midi")
222 | /// MP3 audio.
223 | static let mp3 = HTTPMediaType(type: "audio", subType: "mpeg")
| |- warning: static property 'mp3' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
224 | /// Wave audio.
225 | static let wave = HTTPMediaType(type: "audio", subType: "wav")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:225:16: warning: static property 'wave' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
223 | static let mp3 = HTTPMediaType(type: "audio", subType: "mpeg")
224 | /// Wave audio.
225 | static let wave = HTTPMediaType(type: "audio", subType: "wav")
| |- warning: static property 'wave' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wave' 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
226 | /// OGG audio.
227 | static let ogg = HTTPMediaType(type: "audio", subType: "vorbis")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:227:16: warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
225 | static let wave = HTTPMediaType(type: "audio", subType: "wav")
226 | /// OGG audio.
227 | static let ogg = HTTPMediaType(type: "audio", subType: "vorbis")
| |- warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
228 | /// AVI video.
229 | static let avi = HTTPMediaType(type: "video", subType: "avi")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:229:16: warning: static property 'avi' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
227 | static let ogg = HTTPMediaType(type: "audio", subType: "vorbis")
228 | /// AVI video.
229 | static let avi = HTTPMediaType(type: "video", subType: "avi")
| |- warning: static property 'avi' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avi' 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
230 | /// MPEG video.
231 | static let mpeg = HTTPMediaType(type: "video", subType: "mpeg")
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:231:16: warning: static property 'mpeg' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
229 | static let avi = HTTPMediaType(type: "video", subType: "avi")
230 | /// MPEG video.
231 | static let mpeg = HTTPMediaType(type: "video", subType: "mpeg")
| |- warning: static property 'mpeg' is not concurrency-safe because non-'Sendable' type 'HTTPMediaType' 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
232 | }
233 |
/host/spi-builder-workspace/Sources/HTTPMediaTypes/HTTPMediaType.swift:235:5: warning: let 'fileExtensionMediaTypeMapping' is not concurrency-safe because non-'Sendable' type '[String : HTTPMediaType]' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ; to use within parameter values
51 | ///
52 | public struct HTTPMediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'HTTPMediaType' conform to the 'Sendable' protocol
53 | /// See `Equatable`.
54 | public static func ==(lhs: HTTPMediaType, rhs: HTTPMediaType) -> Bool {
:
233 |
234 | // MARK: Extensions
235 | let fileExtensionMediaTypeMapping: [String: HTTPMediaType] = [
| |- warning: let 'fileExtensionMediaTypeMapping' is not concurrency-safe because non-'Sendable' type '[String : HTTPMediaType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fileExtensionMediaTypeMapping' 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
236 | "ez": HTTPMediaType(type: "application", subType: "andrew-inset"),
237 | "anx": HTTPMediaType(type: "application", subType: "annodex"),
[5/5] Compiling HTTPMediaTypes HTTPHeaderValue.swift
Build complete! (9.59s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "HTTPMediaTypes",
"name" : "HTTPMediaTypes",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "HTTPMediaTypes",
"targets" : [
"HTTPMediaTypes"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HTTPMediaTypes",
"module_type" : "SwiftTarget",
"name" : "HTTPMediaTypes",
"path" : "Sources/HTTPMediaTypes",
"product_memberships" : [
"HTTPMediaTypes"
],
"sources" : [
"HTTPHeaderValue.swift",
"HTTPMediaType.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.