Build Information
Successful build of SwiftOpenAPI, reference main (c2752c
), with Swift 6.1 for macOS (SPM) on 1 May 2025 06:09:36 UTC.
Swift 6 data race errors: 112
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| `- 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 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:99:20: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
97 | }
98 |
99 | public static let basic: HTTPAuthScheme = "basic"
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'basic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | public static let bearer: HTTPAuthScheme = "bearer"
101 | public static let digest: HTTPAuthScheme = "digest"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:100:20: warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
98 |
99 | public static let basic: HTTPAuthScheme = "basic"
100 | public static let bearer: HTTPAuthScheme = "bearer"
| |- warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bearer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | public static let digest: HTTPAuthScheme = "digest"
102 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:101:20: warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
99 | public static let basic: HTTPAuthScheme = "basic"
100 | public static let bearer: HTTPAuthScheme = "bearer"
101 | public static let digest: HTTPAuthScheme = "digest"
| |- warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:104:20: warning: static property 'hoba' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
102 |
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
104 | public static let hoba: HTTPAuthScheme = "hoba"
| |- warning: static property 'hoba' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hoba' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:105:20: warning: static property 'mutual' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
104 | public static let hoba: HTTPAuthScheme = "hoba"
105 | public static let mutual: HTTPAuthScheme = "mutual"
| |- warning: static property 'mutual' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mutual' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:106:20: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
104 | public static let hoba: HTTPAuthScheme = "hoba"
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
| |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:107:20: warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
| |- warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'scramSHA1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
109 | public static let vapid: HTTPAuthScheme = "vapid"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:108:20: warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
| |- warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'scramSHA256' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let vapid: HTTPAuthScheme = "vapid"
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:109:20: warning: static property 'vapid' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
109 | public static let vapid: HTTPAuthScheme = "vapid"
| |- warning: static property 'vapid' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vapid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:99:20: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
97 | }
98 |
99 | public static let basic: HTTPAuthScheme = "basic"
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'basic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | public static let bearer: HTTPAuthScheme = "bearer"
101 | public static let digest: HTTPAuthScheme = "digest"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:100:20: warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
98 |
99 | public static let basic: HTTPAuthScheme = "basic"
100 | public static let bearer: HTTPAuthScheme = "bearer"
| |- warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bearer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | public static let digest: HTTPAuthScheme = "digest"
102 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:101:20: warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
99 | public static let basic: HTTPAuthScheme = "basic"
100 | public static let bearer: HTTPAuthScheme = "bearer"
101 | public static let digest: HTTPAuthScheme = "digest"
| |- warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:104:20: warning: static property 'hoba' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
102 |
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
104 | public static let hoba: HTTPAuthScheme = "hoba"
| |- warning: static property 'hoba' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hoba' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:105:20: warning: static property 'mutual' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
104 | public static let hoba: HTTPAuthScheme = "hoba"
105 | public static let mutual: HTTPAuthScheme = "mutual"
| |- warning: static property 'mutual' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mutual' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:106:20: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
104 | public static let hoba: HTTPAuthScheme = "hoba"
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
| |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:107:20: warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
| |- warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'scramSHA1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
109 | public static let vapid: HTTPAuthScheme = "vapid"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:108:20: warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
| |- warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'scramSHA256' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let vapid: HTTPAuthScheme = "vapid"
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:109:20: warning: static property 'vapid' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
109 | public static let vapid: HTTPAuthScheme = "vapid"
| |- warning: static property 'vapid' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vapid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:99:20: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
97 | }
98 |
99 | public static let basic: HTTPAuthScheme = "basic"
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'basic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | public static let bearer: HTTPAuthScheme = "bearer"
101 | public static let digest: HTTPAuthScheme = "digest"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:100:20: warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
98 |
99 | public static let basic: HTTPAuthScheme = "basic"
100 | public static let bearer: HTTPAuthScheme = "bearer"
| |- warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bearer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | public static let digest: HTTPAuthScheme = "digest"
102 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:101:20: warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
99 | public static let basic: HTTPAuthScheme = "basic"
100 | public static let bearer: HTTPAuthScheme = "bearer"
101 | public static let digest: HTTPAuthScheme = "digest"
| |- warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:104:20: warning: static property 'hoba' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
102 |
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
104 | public static let hoba: HTTPAuthScheme = "hoba"
| |- warning: static property 'hoba' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hoba' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:105:20: warning: static property 'mutual' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
104 | public static let hoba: HTTPAuthScheme = "hoba"
105 | public static let mutual: HTTPAuthScheme = "mutual"
| |- warning: static property 'mutual' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mutual' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:106:20: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
104 | public static let hoba: HTTPAuthScheme = "hoba"
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
| |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:107:20: warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
| |- warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'scramSHA1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
109 | public static let vapid: HTTPAuthScheme = "vapid"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:108:20: warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
| |- warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'scramSHA256' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let vapid: HTTPAuthScheme = "vapid"
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:109:20: warning: static property 'vapid' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
109 | public static let vapid: HTTPAuthScheme = "vapid"
| |- warning: static property 'vapid' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vapid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:99:20: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
97 | }
98 |
99 | public static let basic: HTTPAuthScheme = "basic"
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'basic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | public static let bearer: HTTPAuthScheme = "bearer"
101 | public static let digest: HTTPAuthScheme = "digest"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:100:20: warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
98 |
99 | public static let basic: HTTPAuthScheme = "basic"
100 | public static let bearer: HTTPAuthScheme = "bearer"
| |- warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bearer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | public static let digest: HTTPAuthScheme = "digest"
102 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:101:20: warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
99 | public static let basic: HTTPAuthScheme = "basic"
100 | public static let bearer: HTTPAuthScheme = "bearer"
101 | public static let digest: HTTPAuthScheme = "digest"
| |- warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:104:20: warning: static property 'hoba' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
102 |
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
104 | public static let hoba: HTTPAuthScheme = "hoba"
| |- warning: static property 'hoba' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hoba' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:105:20: warning: static property 'mutual' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
104 | public static let hoba: HTTPAuthScheme = "hoba"
105 | public static let mutual: HTTPAuthScheme = "mutual"
| |- warning: static property 'mutual' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mutual' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:106:20: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
104 | public static let hoba: HTTPAuthScheme = "hoba"
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
| |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:107:20: warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
| |- warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'scramSHA1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
109 | public static let vapid: HTTPAuthScheme = "vapid"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:108:20: warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
| |- warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'scramSHA256' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let vapid: HTTPAuthScheme = "vapid"
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:109:20: warning: static property 'vapid' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
109 | public static let vapid: HTTPAuthScheme = "vapid"
| |- warning: static property 'vapid' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vapid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:99:20: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
97 | }
98 |
99 | public static let basic: HTTPAuthScheme = "basic"
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'basic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | public static let bearer: HTTPAuthScheme = "bearer"
101 | public static let digest: HTTPAuthScheme = "digest"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:100:20: warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
98 |
99 | public static let basic: HTTPAuthScheme = "basic"
100 | public static let bearer: HTTPAuthScheme = "bearer"
| |- warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bearer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | public static let digest: HTTPAuthScheme = "digest"
102 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:101:20: warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
99 | public static let basic: HTTPAuthScheme = "basic"
100 | public static let bearer: HTTPAuthScheme = "bearer"
101 | public static let digest: HTTPAuthScheme = "digest"
| |- warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:104:20: warning: static property 'hoba' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
102 |
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
104 | public static let hoba: HTTPAuthScheme = "hoba"
| |- warning: static property 'hoba' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hoba' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:105:20: warning: static property 'mutual' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
104 | public static let hoba: HTTPAuthScheme = "hoba"
105 | public static let mutual: HTTPAuthScheme = "mutual"
| |- warning: static property 'mutual' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mutual' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:106:20: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
104 | public static let hoba: HTTPAuthScheme = "hoba"
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
| |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:107:20: warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
| |- warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'scramSHA1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
109 | public static let vapid: HTTPAuthScheme = "vapid"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:108:20: warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
| |- warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'scramSHA256' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let vapid: HTTPAuthScheme = "vapid"
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:109:20: warning: static property 'vapid' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
109 | public static let vapid: HTTPAuthScheme = "vapid"
| |- warning: static property 'vapid' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vapid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:99:20: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
97 | }
98 |
99 | public static let basic: HTTPAuthScheme = "basic"
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'basic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | public static let bearer: HTTPAuthScheme = "bearer"
101 | public static let digest: HTTPAuthScheme = "digest"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:100:20: warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
98 |
99 | public static let basic: HTTPAuthScheme = "basic"
100 | public static let bearer: HTTPAuthScheme = "bearer"
| |- warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bearer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | public static let digest: HTTPAuthScheme = "digest"
102 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:101:20: warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
99 | public static let basic: HTTPAuthScheme = "basic"
100 | public static let bearer: HTTPAuthScheme = "bearer"
101 | public static let digest: HTTPAuthScheme = "digest"
| |- warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:104:20: warning: static property 'hoba' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
102 |
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
104 | public static let hoba: HTTPAuthScheme = "hoba"
| |- warning: static property 'hoba' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hoba' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:105:20: warning: static property 'mutual' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
104 | public static let hoba: HTTPAuthScheme = "hoba"
105 | public static let mutual: HTTPAuthScheme = "mutual"
| |- warning: static property 'mutual' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mutual' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:106:20: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
104 | public static let hoba: HTTPAuthScheme = "hoba"
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
| |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:107:20: warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
| |- warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'scramSHA1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
109 | public static let vapid: HTTPAuthScheme = "vapid"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:108:20: warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
| |- warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'scramSHA256' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let vapid: HTTPAuthScheme = "vapid"
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:109:20: warning: static property 'vapid' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
109 | public static let vapid: HTTPAuthScheme = "vapid"
| |- warning: static property 'vapid' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vapid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:99:20: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
97 | }
98 |
99 | public static let basic: HTTPAuthScheme = "basic"
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'basic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | public static let bearer: HTTPAuthScheme = "bearer"
101 | public static let digest: HTTPAuthScheme = "digest"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:100:20: warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
98 |
99 | public static let basic: HTTPAuthScheme = "basic"
100 | public static let bearer: HTTPAuthScheme = "bearer"
| |- warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bearer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | public static let digest: HTTPAuthScheme = "digest"
102 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:101:20: warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
99 | public static let basic: HTTPAuthScheme = "basic"
100 | public static let bearer: HTTPAuthScheme = "bearer"
101 | public static let digest: HTTPAuthScheme = "digest"
| |- warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:104:20: warning: static property 'hoba' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
102 |
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
104 | public static let hoba: HTTPAuthScheme = "hoba"
| |- warning: static property 'hoba' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hoba' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:105:20: warning: static property 'mutual' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
103 | /// The HOBA scheme can be used with either HTTP servers or proxies. When used in response to a 407 Proxy Authentication Required indication, the appropriate proxy authentication header fields are used instead, as with any other HTTP authentication scheme.
104 | public static let hoba: HTTPAuthScheme = "hoba"
105 | public static let mutual: HTTPAuthScheme = "mutual"
| |- warning: static property 'mutual' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mutual' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:106:20: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
104 | public static let hoba: HTTPAuthScheme = "hoba"
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
| |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:107:20: warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
105 | public static let mutual: HTTPAuthScheme = "mutual"
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
| |- warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'scramSHA1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
109 | public static let vapid: HTTPAuthScheme = "vapid"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:108:20: warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
106 | public static let oauth: HTTPAuthScheme = "oauth"
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
| |- warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'scramSHA256' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let vapid: HTTPAuthScheme = "vapid"
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/SecuritySchemeObject.swift:109:20: warning: static property 'vapid' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct HTTPAuthScheme: LosslessStringConvertible, ExpressibleByStringLiteral, RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'HTTPAuthScheme' conform to the 'Sendable' protocol
75 |
76 | public var rawValue: String
:
107 | public static let scramSHA1: HTTPAuthScheme = "scram-sha-1"
108 | public static let scramSHA256: HTTPAuthScheme = "scram-sha-256"
109 | public static let vapid: HTTPAuthScheme = "vapid"
| |- warning: static property 'vapid' is not concurrency-safe because non-'Sendable' type 'HTTPAuthScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vapid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/Users/admin/builder/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 |
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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! (33.76s)
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" : "/Users/admin/builder/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"
}
Done.