Build Information
Successful build of SwiftOpenAPI, reference 2.24.1 (c2752c
), with Swift 6.1 for Linux on 1 May 2025 06:07:21 UTC.
Swift 6 data race errors: 112
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
128 |
129 | public let rawValue: String
:
147 |
148 | public static let get = Method("get")
149 | public static let put = Method("put")
| |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | public static let post = Method("post")
151 | public static let delete = Method("delete")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:150:21: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
148 | public static let get = Method("get")
149 | public static let put = Method("put")
150 | public static let post = Method("post")
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let delete = Method("delete")
152 | public static let options = Method("options")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:151:21: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
149 | public static let put = Method("put")
150 | public static let post = Method("post")
151 | public static let delete = Method("delete")
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | public static let options = Method("options")
153 | public static let head = Method("head")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:152:21: warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
150 | public static let post = Method("post")
151 | public static let delete = Method("delete")
152 | public static let options = Method("options")
| |- warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'options' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static let head = Method("head")
154 | public static let patch = Method("patch")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:153:21: warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
151 | public static let delete = Method("delete")
152 | public static let options = Method("options")
153 | public static let head = Method("head")
| |- warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let patch = Method("patch")
155 | public static let trace = Method("trace")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:154:21: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
152 | public static let options = Method("options")
153 | public static let head = Method("head")
154 | public static let patch = Method("patch")
| |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let trace = Method("trace")
156 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:155:21: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
153 | public static let head = Method("head")
154 | public static let patch = Method("patch")
155 | public static let trace = Method("trace")
| |- warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | }
157 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Path.swift:72:13: warning: static property 'components' is not concurrency-safe because non-'Sendable' type 'PathElement' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public enum PathElement: Hashable, ExpressibleByStringLiteral {
| `- note: consider making enum 'PathElement' conform to the 'Sendable' protocol
44 |
45 | case constant(String)
:
70 | public extension PathElement {
71 |
72 | static let components: PathElement = "components"
| |- warning: static property 'components' is not concurrency-safe because non-'Sendable' type 'PathElement' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'components' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | }
74 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:64:8: warning: associated value 'field' of 'Sendable'-conforming enum 'CodingKeys' has non-sendable type 'PathItemObject.CodingKeys.Field'; this is an error in the Swift 6 language mode
62 | public enum CodingKeys: CodingKey {
63 |
64 | case field(Field)
| `- warning: associated value 'field' of 'Sendable'-conforming enum 'CodingKeys' has non-sendable type 'PathItemObject.CodingKeys.Field'; this is an error in the Swift 6 language mode
65 | case method(Method)
66 |
:
97 | }
98 |
99 | public enum Field: String {
| `- note: consider making enum 'Field' conform to the 'Sendable' protocol
100 |
101 | case summary
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:65:8: warning: associated value 'method' of 'Sendable'-conforming enum 'CodingKeys' has non-sendable type 'PathItemObject.Method'; this is an error in the Swift 6 language mode
63 |
64 | case field(Field)
65 | case method(Method)
| `- warning: associated value 'method' of 'Sendable'-conforming enum 'CodingKeys' has non-sendable type 'PathItemObject.Method'; this is an error in the Swift 6 language mode
66 |
67 | public var stringValue: String {
:
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:148:21: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
146 | }
147 |
148 | public static let get = Method("get")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'get' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | public static let put = Method("put")
150 | public static let post = Method("post")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:149:21: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
147 |
148 | public static let get = Method("get")
149 | public static let put = Method("put")
| |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | public static let post = Method("post")
151 | public static let delete = Method("delete")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:150:21: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
148 | public static let get = Method("get")
149 | public static let put = Method("put")
150 | public static let post = Method("post")
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let delete = Method("delete")
152 | public static let options = Method("options")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:151:21: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
149 | public static let put = Method("put")
150 | public static let post = Method("post")
151 | public static let delete = Method("delete")
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | public static let options = Method("options")
153 | public static let head = Method("head")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:152:21: warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
150 | public static let post = Method("post")
151 | public static let delete = Method("delete")
152 | public static let options = Method("options")
| |- warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'options' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static let head = Method("head")
154 | public static let patch = Method("patch")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:153:21: warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
151 | public static let delete = Method("delete")
152 | public static let options = Method("options")
153 | public static let head = Method("head")
| |- warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let patch = Method("patch")
155 | public static let trace = Method("trace")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:154:21: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
152 | public static let options = Method("options")
153 | public static let head = Method("head")
154 | public static let patch = Method("patch")
| |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let trace = Method("trace")
156 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:155:21: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
153 | public static let head = Method("head")
154 | public static let patch = Method("patch")
155 | public static let trace = Method("trace")
| |- warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | }
157 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Path.swift:72:13: warning: static property 'components' is not concurrency-safe because non-'Sendable' type 'PathElement' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public enum PathElement: Hashable, ExpressibleByStringLiteral {
| `- note: consider making enum 'PathElement' conform to the 'Sendable' protocol
44 |
45 | case constant(String)
:
70 | public extension PathElement {
71 |
72 | static let components: PathElement = "components"
| |- warning: static property 'components' is not concurrency-safe because non-'Sendable' type 'PathElement' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'components' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | }
74 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:64:8: warning: associated value 'field' of 'Sendable'-conforming enum 'CodingKeys' has non-sendable type 'PathItemObject.CodingKeys.Field'; this is an error in the Swift 6 language mode
62 | public enum CodingKeys: CodingKey {
63 |
64 | case field(Field)
| `- warning: associated value 'field' of 'Sendable'-conforming enum 'CodingKeys' has non-sendable type 'PathItemObject.CodingKeys.Field'; this is an error in the Swift 6 language mode
65 | case method(Method)
66 |
:
97 | }
98 |
99 | public enum Field: String {
| `- note: consider making enum 'Field' conform to the 'Sendable' protocol
100 |
101 | case summary
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:65:8: warning: associated value 'method' of 'Sendable'-conforming enum 'CodingKeys' has non-sendable type 'PathItemObject.Method'; this is an error in the Swift 6 language mode
63 |
64 | case field(Field)
65 | case method(Method)
| `- warning: associated value 'method' of 'Sendable'-conforming enum 'CodingKeys' has non-sendable type 'PathItemObject.Method'; this is an error in the Swift 6 language mode
66 |
67 | public var stringValue: String {
:
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:148:21: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
146 | }
147 |
148 | public static let get = Method("get")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'get' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | public static let put = Method("put")
150 | public static let post = Method("post")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:149:21: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
147 |
148 | public static let get = Method("get")
149 | public static let put = Method("put")
| |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | public static let post = Method("post")
151 | public static let delete = Method("delete")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:150:21: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
148 | public static let get = Method("get")
149 | public static let put = Method("put")
150 | public static let post = Method("post")
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let delete = Method("delete")
152 | public static let options = Method("options")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:151:21: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
149 | public static let put = Method("put")
150 | public static let post = Method("post")
151 | public static let delete = Method("delete")
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | public static let options = Method("options")
153 | public static let head = Method("head")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:152:21: warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
150 | public static let post = Method("post")
151 | public static let delete = Method("delete")
152 | public static let options = Method("options")
| |- warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'options' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static let head = Method("head")
154 | public static let patch = Method("patch")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:153:21: warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
151 | public static let delete = Method("delete")
152 | public static let options = Method("options")
153 | public static let head = Method("head")
| |- warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let patch = Method("patch")
155 | public static let trace = Method("trace")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:154:21: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
152 | public static let options = Method("options")
153 | public static let head = Method("head")
154 | public static let patch = Method("patch")
| |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let trace = Method("trace")
156 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:155:21: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
153 | public static let head = Method("head")
154 | public static let patch = Method("patch")
155 | public static let trace = Method("trace")
| |- warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | }
157 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Path.swift:72:13: warning: static property 'components' is not concurrency-safe because non-'Sendable' type 'PathElement' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public enum PathElement: Hashable, ExpressibleByStringLiteral {
| `- note: consider making enum 'PathElement' conform to the 'Sendable' protocol
44 |
45 | case constant(String)
:
70 | public extension PathElement {
71 |
72 | static let components: PathElement = "components"
| |- warning: static property 'components' is not concurrency-safe because non-'Sendable' type 'PathElement' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'components' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | }
74 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:64:8: warning: associated value 'field' of 'Sendable'-conforming enum 'CodingKeys' has non-sendable type 'PathItemObject.CodingKeys.Field'; this is an error in the Swift 6 language mode
62 | public enum CodingKeys: CodingKey {
63 |
64 | case field(Field)
| `- warning: associated value 'field' of 'Sendable'-conforming enum 'CodingKeys' has non-sendable type 'PathItemObject.CodingKeys.Field'; this is an error in the Swift 6 language mode
65 | case method(Method)
66 |
:
97 | }
98 |
99 | public enum Field: String {
| `- note: consider making enum 'Field' conform to the 'Sendable' protocol
100 |
101 | case summary
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:65:8: warning: associated value 'method' of 'Sendable'-conforming enum 'CodingKeys' has non-sendable type 'PathItemObject.Method'; this is an error in the Swift 6 language mode
63 |
64 | case field(Field)
65 | case method(Method)
| `- warning: associated value 'method' of 'Sendable'-conforming enum 'CodingKeys' has non-sendable type 'PathItemObject.Method'; this is an error in the Swift 6 language mode
66 |
67 | public var stringValue: String {
:
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:148:21: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
146 | }
147 |
148 | public static let get = Method("get")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'get' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | public static let put = Method("put")
150 | public static let post = Method("post")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:149:21: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
147 |
148 | public static let get = Method("get")
149 | public static let put = Method("put")
| |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | public static let post = Method("post")
151 | public static let delete = Method("delete")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:150:21: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
148 | public static let get = Method("get")
149 | public static let put = Method("put")
150 | public static let post = Method("post")
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let delete = Method("delete")
152 | public static let options = Method("options")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:151:21: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
149 | public static let put = Method("put")
150 | public static let post = Method("post")
151 | public static let delete = Method("delete")
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | public static let options = Method("options")
153 | public static let head = Method("head")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:152:21: warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
150 | public static let post = Method("post")
151 | public static let delete = Method("delete")
152 | public static let options = Method("options")
| |- warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'options' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static let head = Method("head")
154 | public static let patch = Method("patch")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:153:21: warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
151 | public static let delete = Method("delete")
152 | public static let options = Method("options")
153 | public static let head = Method("head")
| |- warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let patch = Method("patch")
155 | public static let trace = Method("trace")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:154:21: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
152 | public static let options = Method("options")
153 | public static let head = Method("head")
154 | public static let patch = Method("patch")
| |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let trace = Method("trace")
156 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:155:21: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
153 | public static let head = Method("head")
154 | public static let patch = Method("patch")
155 | public static let trace = Method("trace")
| |- warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | }
157 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Path.swift:72:13: warning: static property 'components' is not concurrency-safe because non-'Sendable' type 'PathElement' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public enum PathElement: Hashable, ExpressibleByStringLiteral {
| `- note: consider making enum 'PathElement' conform to the 'Sendable' protocol
44 |
45 | case constant(String)
:
70 | public extension PathElement {
71 |
72 | static let components: PathElement = "components"
| |- warning: static property 'components' is not concurrency-safe because non-'Sendable' type 'PathElement' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'components' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | }
74 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:64:8: warning: associated value 'field' of 'Sendable'-conforming enum 'CodingKeys' has non-sendable type 'PathItemObject.CodingKeys.Field'; this is an error in the Swift 6 language mode
62 | public enum CodingKeys: CodingKey {
63 |
64 | case field(Field)
| `- warning: associated value 'field' of 'Sendable'-conforming enum 'CodingKeys' has non-sendable type 'PathItemObject.CodingKeys.Field'; this is an error in the Swift 6 language mode
65 | case method(Method)
66 |
:
97 | }
98 |
99 | public enum Field: String {
| `- note: consider making enum 'Field' conform to the 'Sendable' protocol
100 |
101 | case summary
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:65:8: warning: associated value 'method' of 'Sendable'-conforming enum 'CodingKeys' has non-sendable type 'PathItemObject.Method'; this is an error in the Swift 6 language mode
63 |
64 | case field(Field)
65 | case method(Method)
| `- warning: associated value 'method' of 'Sendable'-conforming enum 'CodingKeys' has non-sendable type 'PathItemObject.Method'; this is an error in the Swift 6 language mode
66 |
67 | public var stringValue: String {
:
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:148:21: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
146 | }
147 |
148 | public static let get = Method("get")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'get' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | public static let put = Method("put")
150 | public static let post = Method("post")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:149:21: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
147 |
148 | public static let get = Method("get")
149 | public static let put = Method("put")
| |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | public static let post = Method("post")
151 | public static let delete = Method("delete")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:150:21: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
148 | public static let get = Method("get")
149 | public static let put = Method("put")
150 | public static let post = Method("post")
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let delete = Method("delete")
152 | public static let options = Method("options")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:151:21: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
149 | public static let put = Method("put")
150 | public static let post = Method("post")
151 | public static let delete = Method("delete")
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | public static let options = Method("options")
153 | public static let head = Method("head")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:152:21: warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
150 | public static let post = Method("post")
151 | public static let delete = Method("delete")
152 | public static let options = Method("options")
| |- warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'options' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static let head = Method("head")
154 | public static let patch = Method("patch")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:153:21: warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
151 | public static let delete = Method("delete")
152 | public static let options = Method("options")
153 | public static let head = Method("head")
| |- warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let patch = Method("patch")
155 | public static let trace = Method("trace")
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:154:21: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
152 | public static let options = Method("options")
153 | public static let head = Method("head")
154 | public static let patch = Method("patch")
| |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let trace = Method("trace")
156 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/PathItemObject.swift:155:21: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
125 | }
126 |
127 | public struct Method: LosslessStringConvertible, RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
128 |
129 | public let rawValue: String
:
153 | public static let head = Method("head")
154 | public static let patch = Method("patch")
155 | public static let trace = Method("trace")
| |- warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'PathItemObject.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | }
157 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/SchemaContexts.swift:245:13: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
219 | }
220 |
221 | public struct CompositionContext: Codable, Equatable {
| `- note: consider making struct 'CompositionContext' conform to the 'Sendable' protocol
222 |
223 | public var allOf: [ReferenceOr<SchemaObject>]?
:
243 | }
244 |
245 | static let invalid = CompositionContext()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | }
247 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:104:21: 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
102 | }
103 |
104 | 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: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:105:21: warning: static property 'schemaJson' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
103 |
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
| |- warning: static property 'schemaJson' 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: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:106:21: warning: static property 'schemaInstanceJson' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
| |- warning: static property 'schemaInstanceJson' 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: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:107:21: 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | 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: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:108:21: warning: static property 'octetStream' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
| |- warning: static property 'octetStream' 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: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
110 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:109:21: warning: static property 'urlEncoded' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
| |- warning: static property 'urlEncoded' 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: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:127:21: 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
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
125 | }
126 |
127 | 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: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let html: Text = "html"
129 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:128:21: 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
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
126 |
127 | public static let plain: Text = "plain"
128 | 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: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | }
130 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:150:21: 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
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
148 | }
149 |
150 | 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: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let byteranges: Multipart = "byteranges"
152 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:151:21: warning: static property 'byteranges' 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
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
149 |
150 | public static let formData: Multipart = "form-data"
151 | public static let byteranges: Multipart = "byteranges"
| |- warning: static property 'byteranges' 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: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:158:13: warning: static property 'any' 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 | import Foundation
2 |
3 | public struct MediaType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
4 |
5 | public typealias RawValue = String
:
156 | }
157 |
158 | static let any = MediaType("*", "*")
| |- warning: static property 'any' 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: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | }
160 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/SchemaContexts.swift:245:13: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
219 | }
220 |
221 | public struct CompositionContext: Codable, Equatable {
| `- note: consider making struct 'CompositionContext' conform to the 'Sendable' protocol
222 |
223 | public var allOf: [ReferenceOr<SchemaObject>]?
:
243 | }
244 |
245 | static let invalid = CompositionContext()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | }
247 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:104:21: 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
102 | }
103 |
104 | 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: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:105:21: warning: static property 'schemaJson' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
103 |
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
| |- warning: static property 'schemaJson' 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: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:106:21: warning: static property 'schemaInstanceJson' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
| |- warning: static property 'schemaInstanceJson' 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: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:107:21: 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | 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: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:108:21: warning: static property 'octetStream' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
| |- warning: static property 'octetStream' 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: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
110 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:109:21: warning: static property 'urlEncoded' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
| |- warning: static property 'urlEncoded' 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: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:127:21: 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
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
125 | }
126 |
127 | 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: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let html: Text = "html"
129 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:128:21: 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
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
126 |
127 | public static let plain: Text = "plain"
128 | 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: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | }
130 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:150:21: 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
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
148 | }
149 |
150 | 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: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let byteranges: Multipart = "byteranges"
152 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:151:21: warning: static property 'byteranges' 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
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
149 |
150 | public static let formData: Multipart = "form-data"
151 | public static let byteranges: Multipart = "byteranges"
| |- warning: static property 'byteranges' 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: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:158:13: warning: static property 'any' 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 | import Foundation
2 |
3 | public struct MediaType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
4 |
5 | public typealias RawValue = String
:
156 | }
157 |
158 | static let any = MediaType("*", "*")
| |- warning: static property 'any' 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: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | }
160 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/SchemaContexts.swift:245:13: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
219 | }
220 |
221 | public struct CompositionContext: Codable, Equatable {
| `- note: consider making struct 'CompositionContext' conform to the 'Sendable' protocol
222 |
223 | public var allOf: [ReferenceOr<SchemaObject>]?
:
243 | }
244 |
245 | static let invalid = CompositionContext()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | }
247 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:104:21: 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
102 | }
103 |
104 | 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: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:105:21: warning: static property 'schemaJson' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
103 |
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
| |- warning: static property 'schemaJson' 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: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:106:21: warning: static property 'schemaInstanceJson' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
| |- warning: static property 'schemaInstanceJson' 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: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:107:21: 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | 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: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:108:21: warning: static property 'octetStream' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
| |- warning: static property 'octetStream' 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: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
110 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:109:21: warning: static property 'urlEncoded' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
| |- warning: static property 'urlEncoded' 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: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:127:21: 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
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
125 | }
126 |
127 | 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: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let html: Text = "html"
129 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:128:21: 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
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
126 |
127 | public static let plain: Text = "plain"
128 | 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: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | }
130 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:150:21: 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
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
148 | }
149 |
150 | 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: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let byteranges: Multipart = "byteranges"
152 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:151:21: warning: static property 'byteranges' 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
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
149 |
150 | public static let formData: Multipart = "form-data"
151 | public static let byteranges: Multipart = "byteranges"
| |- warning: static property 'byteranges' 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: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:158:13: warning: static property 'any' 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 | import Foundation
2 |
3 | public struct MediaType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
4 |
5 | public typealias RawValue = String
:
156 | }
157 |
158 | static let any = MediaType("*", "*")
| |- warning: static property 'any' 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: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | }
160 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/SchemaContexts.swift:245:13: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
219 | }
220 |
221 | public struct CompositionContext: Codable, Equatable {
| `- note: consider making struct 'CompositionContext' conform to the 'Sendable' protocol
222 |
223 | public var allOf: [ReferenceOr<SchemaObject>]?
:
243 | }
244 |
245 | static let invalid = CompositionContext()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | }
247 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:104:21: 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
102 | }
103 |
104 | 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: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:105:21: warning: static property 'schemaJson' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
103 |
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
| |- warning: static property 'schemaJson' 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: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:106:21: warning: static property 'schemaInstanceJson' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
| |- warning: static property 'schemaInstanceJson' 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: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:107:21: 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | 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: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:108:21: warning: static property 'octetStream' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
| |- warning: static property 'octetStream' 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: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
110 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:109:21: warning: static property 'urlEncoded' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
| |- warning: static property 'urlEncoded' 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: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:127:21: 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
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
125 | }
126 |
127 | 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: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let html: Text = "html"
129 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:128:21: 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
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
126 |
127 | public static let plain: Text = "plain"
128 | 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: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | }
130 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:150:21: 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
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
148 | }
149 |
150 | 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: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let byteranges: Multipart = "byteranges"
152 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:151:21: warning: static property 'byteranges' 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
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
149 |
150 | public static let formData: Multipart = "form-data"
151 | public static let byteranges: Multipart = "byteranges"
| |- warning: static property 'byteranges' 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: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:158:13: warning: static property 'any' 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 | import Foundation
2 |
3 | public struct MediaType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
4 |
5 | public typealias RawValue = String
:
156 | }
157 |
158 | static let any = MediaType("*", "*")
| |- warning: static property 'any' 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: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | }
160 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/SchemaContexts.swift:245:13: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
219 | }
220 |
221 | public struct CompositionContext: Codable, Equatable {
| `- note: consider making struct 'CompositionContext' conform to the 'Sendable' protocol
222 |
223 | public var allOf: [ReferenceOr<SchemaObject>]?
:
243 | }
244 |
245 | static let invalid = CompositionContext()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | }
247 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:104:21: 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
102 | }
103 |
104 | 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: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:105:21: warning: static property 'schemaJson' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
103 |
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
| |- warning: static property 'schemaJson' 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: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:106:21: warning: static property 'schemaInstanceJson' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
| |- warning: static property 'schemaInstanceJson' 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: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:107:21: 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | 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: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:108:21: warning: static property 'octetStream' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
| |- warning: static property 'octetStream' 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: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
110 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:109:21: warning: static property 'urlEncoded' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
| |- warning: static property 'urlEncoded' 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: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:127:21: 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
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
125 | }
126 |
127 | 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: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let html: Text = "html"
129 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:128:21: 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
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
126 |
127 | public static let plain: Text = "plain"
128 | 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: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | }
130 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:150:21: 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
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
148 | }
149 |
150 | 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: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let byteranges: Multipart = "byteranges"
152 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:151:21: warning: static property 'byteranges' 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
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
149 |
150 | public static let formData: Multipart = "form-data"
151 | public static let byteranges: Multipart = "byteranges"
| |- warning: static property 'byteranges' 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: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:158:13: warning: static property 'any' 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 | import Foundation
2 |
3 | public struct MediaType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
4 |
5 | public typealias RawValue = String
:
156 | }
157 |
158 | static let any = MediaType("*", "*")
| |- warning: static property 'any' 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: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | }
160 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/SchemaContexts.swift:245:13: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
219 | }
220 |
221 | public struct CompositionContext: Codable, Equatable {
| `- note: consider making struct 'CompositionContext' conform to the 'Sendable' protocol
222 |
223 | public var allOf: [ReferenceOr<SchemaObject>]?
:
243 | }
244 |
245 | static let invalid = CompositionContext()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | }
247 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:104:21: 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
102 | }
103 |
104 | 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: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:105:21: warning: static property 'schemaJson' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
103 |
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
| |- warning: static property 'schemaJson' 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: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:106:21: warning: static property 'schemaInstanceJson' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
| |- warning: static property 'schemaInstanceJson' 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: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:107:21: 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | 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: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:108:21: warning: static property 'octetStream' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
| |- warning: static property 'octetStream' 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: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
110 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:109:21: warning: static property 'urlEncoded' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
| |- warning: static property 'urlEncoded' 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: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:127:21: 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
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
125 | }
126 |
127 | 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: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let html: Text = "html"
129 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:128:21: 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
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
126 |
127 | public static let plain: Text = "plain"
128 | 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: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | }
130 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:150:21: 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
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
148 | }
149 |
150 | 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: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let byteranges: Multipart = "byteranges"
152 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:151:21: warning: static property 'byteranges' 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
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
149 |
150 | public static let formData: Multipart = "form-data"
151 | public static let byteranges: Multipart = "byteranges"
| |- warning: static property 'byteranges' 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: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:158:13: warning: static property 'any' 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 | import Foundation
2 |
3 | public struct MediaType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
4 |
5 | public typealias RawValue = String
:
156 | }
157 |
158 | static let any = MediaType("*", "*")
| |- warning: static property 'any' 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: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | }
160 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/SchemaContexts.swift:245:13: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
219 | }
220 |
221 | public struct CompositionContext: Codable, Equatable {
| `- note: consider making struct 'CompositionContext' conform to the 'Sendable' protocol
222 |
223 | public var allOf: [ReferenceOr<SchemaObject>]?
:
243 | }
244 |
245 | static let invalid = CompositionContext()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | }
247 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:104:21: 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
102 | }
103 |
104 | 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: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:105:21: warning: static property 'schemaJson' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
103 |
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
| |- warning: static property 'schemaJson' 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: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:106:21: warning: static property 'schemaInstanceJson' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
| |- warning: static property 'schemaInstanceJson' 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: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:107:21: 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | 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: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:108:21: warning: static property 'octetStream' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
| |- warning: static property 'octetStream' 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: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
110 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:109:21: warning: static property 'urlEncoded' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
| |- warning: static property 'urlEncoded' 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: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:127:21: 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
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
125 | }
126 |
127 | 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: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let html: Text = "html"
129 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:128:21: 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
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
126 |
127 | public static let plain: Text = "plain"
128 | 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: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | }
130 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:150:21: 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
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
148 | }
149 |
150 | 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: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let byteranges: Multipart = "byteranges"
152 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:151:21: warning: static property 'byteranges' 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
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
149 |
150 | public static let formData: Multipart = "form-data"
151 | public static let byteranges: Multipart = "byteranges"
| |- warning: static property 'byteranges' 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: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:158:13: warning: static property 'any' 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 | import Foundation
2 |
3 | public struct MediaType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
4 |
5 | public typealias RawValue = String
:
156 | }
157 |
158 | static let any = MediaType("*", "*")
| |- warning: static property 'any' 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: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | }
160 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/SchemaContexts.swift:245:13: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
219 | }
220 |
221 | public struct CompositionContext: Codable, Equatable {
| `- note: consider making struct 'CompositionContext' conform to the 'Sendable' protocol
222 |
223 | public var allOf: [ReferenceOr<SchemaObject>]?
:
243 | }
244 |
245 | static let invalid = CompositionContext()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | }
247 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:104:21: 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
102 | }
103 |
104 | 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: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:105:21: warning: static property 'schemaJson' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
103 |
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
| |- warning: static property 'schemaJson' 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: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:106:21: warning: static property 'schemaInstanceJson' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
| |- warning: static property 'schemaInstanceJson' 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: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:107:21: 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | 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: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:108:21: warning: static property 'octetStream' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
| |- warning: static property 'octetStream' 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: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
110 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:109:21: warning: static property 'urlEncoded' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
| |- warning: static property 'urlEncoded' 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: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:127:21: 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
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
125 | }
126 |
127 | 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: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let html: Text = "html"
129 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:128:21: 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
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
126 |
127 | public static let plain: Text = "plain"
128 | 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: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | }
130 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:150:21: 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
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
148 | }
149 |
150 | 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: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let byteranges: Multipart = "byteranges"
152 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:151:21: warning: static property 'byteranges' 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
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
149 |
150 | public static let formData: Multipart = "form-data"
151 | public static let byteranges: Multipart = "byteranges"
| |- warning: static property 'byteranges' 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: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:158:13: warning: static property 'any' 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 | import Foundation
2 |
3 | public struct MediaType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
4 |
5 | public typealias RawValue = String
:
156 | }
157 |
158 | static let any = MediaType("*", "*")
| |- warning: static property 'any' 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: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | }
160 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/SchemaContexts.swift:245:13: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
219 | }
220 |
221 | public struct CompositionContext: Codable, Equatable {
| `- note: consider making struct 'CompositionContext' conform to the 'Sendable' protocol
222 |
223 | public var allOf: [ReferenceOr<SchemaObject>]?
:
243 | }
244 |
245 | static let invalid = CompositionContext()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | }
247 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:104:21: 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
102 | }
103 |
104 | 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: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:105:21: warning: static property 'schemaJson' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
103 |
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
| |- warning: static property 'schemaJson' 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: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:106:21: warning: static property 'schemaInstanceJson' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
| |- warning: static property 'schemaInstanceJson' 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: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:107:21: 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | 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: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:108:21: warning: static property 'octetStream' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
| |- warning: static property 'octetStream' 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: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
110 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:109:21: warning: static property 'urlEncoded' 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
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
| |- warning: static property 'urlEncoded' 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: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:127:21: 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
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
125 | }
126 |
127 | 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: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let html: Text = "html"
129 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:128:21: 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
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
126 |
127 | public static let plain: Text = "plain"
128 | 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: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | }
130 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:150:21: 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
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
148 | }
149 |
150 | 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: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let byteranges: Multipart = "byteranges"
152 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:151:21: warning: static property 'byteranges' 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
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
149 |
150 | public static let formData: Multipart = "form-data"
151 | public static let byteranges: Multipart = "byteranges"
| |- warning: static property 'byteranges' 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: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:158:13: warning: static property 'any' 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 | import Foundation
2 |
3 | public struct MediaType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
4 |
5 | public typealias RawValue = String
:
156 | }
157 |
158 | static let any = MediaType("*", "*")
| |- warning: static property 'any' 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: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | }
160 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
Build complete! (128.54s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "600.0.0",
"upper_bound" : "601.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
}
],
"manifest_display_name" : "SwiftOpenAPI",
"name" : "SwiftOpenAPI",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SwiftOpenAPI",
"targets" : [
"SwiftOpenAPI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftOpenAPIMacros",
"targets" : [
"SwiftOpenAPIMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftOpenAPITests",
"module_type" : "SwiftTarget",
"name" : "SwiftOpenAPITests",
"path" : "Tests/SwiftOpenAPITests",
"sources" : [
"AnyValueTests/AnyValueTests.swift",
"AnyValueTests/TestHelpers.swift",
"ArrayDecodingTests.swift",
"Mocks.swift",
"SwiftOpenAPITests.swift"
],
"target_dependencies" : [
"SwiftOpenAPI"
],
"type" : "test"
},
{
"c99name" : "SwiftOpenAPIMacrosTests",
"module_type" : "SwiftTarget",
"name" : "SwiftOpenAPIMacrosTests",
"path" : "Tests/SwiftOpenAPIMacrosTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"SwiftOpenAPIMacrosTests.swift"
],
"target_dependencies" : [
"SwiftOpenAPI",
"SwiftOpenAPIMacros"
],
"type" : "test"
},
{
"c99name" : "SwiftOpenAPIMacros",
"module_type" : "SwiftTarget",
"name" : "SwiftOpenAPIMacros",
"path" : "Sources/SwiftOpenAPIMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"SwiftOpenAPI",
"SwiftOpenAPIMacros"
],
"sources" : [
"OpenAPIDescriptionMacro.swift",
"StringError.swift",
"SyntaxExt.swift"
],
"type" : "macro"
},
{
"c99name" : "SwiftOpenAPI",
"module_type" : "SwiftTarget",
"name" : "SwiftOpenAPI",
"path" : "Sources/SwiftOpenAPI",
"product_memberships" : [
"SwiftOpenAPI"
],
"sources" : [
"Common/AnyRange.swift",
"Common/Bool++.swift",
"Common/Codable++.swift",
"Common/CodingKeys.swift",
"Common/Collection++.swift",
"Common/Decimal++.swift",
"Common/ExpressibleBy.swift",
"Common/OrderedDictionary/OrderedDictionary.swift",
"Common/OrderedDictionary/StringConvertibleHintProvider.swift",
"Common/String++.swift",
"Encoders/AnyValueEncoder.swift",
"Encoders/CheckAllKeysDecoder.swift",
"Encoders/DateEncodingFormat.swift",
"Encoders/HeadersEncoder.swift",
"Encoders/KeyEncodingStrategy.swift",
"Encoders/ParametersEncoder.swift",
"Encoders/Ref.swift",
"Encoders/SchemeEncoder.swift",
"Encoders/TypeRevision/CodableTypes.swift",
"Encoders/TypeRevision/TypeRevision.swift",
"Encoders/TypeRevision/TypeRevisionDecoder.swift",
"Encoders/TypeRevision/TypeRevisionEncoder.swift",
"Objects/AnyValue.swift",
"Objects/CallbackObject.swift",
"Objects/ComponentsObject.swift",
"Objects/CompositeType.swift",
"Objects/ContactObject.swift",
"Objects/ContentObject.swift",
"Objects/EncodingObject.swift",
"Objects/ExampleObject.swift",
"Objects/ExternalDocumentationObject.swift",
"Objects/HeaderObject.swift",
"Objects/InfoObject.swift",
"Objects/JSONSchema/AdditionalProperties.swift",
"Objects/JSONSchema/DataFormat.swift",
"Objects/JSONSchema/DataType.swift",
"Objects/JSONSchema/DiscriminatorObject.swift",
"Objects/JSONSchema/ExpressibleBySchemaObject.swift",
"Objects/JSONSchema/SchemaContexts.swift",
"Objects/JSONSchema/SchemaObjec+deprecated.swift",
"Objects/JSONSchema/SchemaObject++.swift",
"Objects/JSONSchema/SchemaObject.swift",
"Objects/LicenseObject.swift",
"Objects/LinkObject.swift",
"Objects/MediaType.swift",
"Objects/MediaTypeObject.swift",
"Objects/OAuthFlowObject.swift",
"Objects/OAuthFlowsObject.swift",
"Objects/OpenAPIObject.swift",
"Objects/OperationObject.swift",
"Objects/ParameterObject.swift",
"Objects/Path.swift",
"Objects/PathItemObject.swift",
"Objects/PathsObject.swift",
"Objects/ReferenceObject.swift",
"Objects/ReferenceOr.swift",
"Objects/RequestBodyObject.swift",
"Objects/ResponseObject.swift",
"Objects/ResponsesObject.swift",
"Objects/RuntimeExpression.swift",
"Objects/RuntimeExpressionOr.swift",
"Objects/SecurityRequirementObject.swift",
"Objects/SecuritySchemeObject.swift",
"Objects/ServerObject.swift",
"Objects/ServerVariableObject.swift",
"Objects/SpecificationExtendable.swift",
"Objects/TagObject.swift",
"Objects/Version.swift",
"Objects/XMLObject.swift",
"OpenAPIDescriptable.swift",
"OpenAPIDescription.swift",
"OpenAPIType.swift",
"refactor.swift"
],
"target_dependencies" : [
"SwiftOpenAPIMacros"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.