Build Information
Failed to build SwiftOpenAPI, reference 2.25.0 (ed87ce), with Swift 6.1 for Android on 26 Sep 2025 00:27:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/CodingKeys.swift:23:6: warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
17 | }
18 |
19 | struct StringKey<Value: LosslessStringConvertible>: CodingKey {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
20 |
21 | var stringValue: String { value.description }
22 | var intValue: Int? { nil }
23 | var value: Value
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
24 |
25 | init?(stringValue: String) {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/CodingKeys.swift:23:6: warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
17 | }
18 |
19 | struct StringKey<Value: LosslessStringConvertible>: CodingKey {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
20 |
21 | var stringValue: String { value.description }
22 | var intValue: Int? { nil }
23 | var value: Value
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
24 |
25 | init?(stringValue: String) {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/CodingKeys.swift:23:6: warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
17 | }
18 |
19 | struct StringKey<Value: LosslessStringConvertible>: CodingKey {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
20 |
21 | var stringValue: String { value.description }
22 | var intValue: Int? { nil }
23 | var value: Value
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
24 |
25 | init?(stringValue: String) {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/SchemaContexts.swift:245:13: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
219 | }
220 |
221 | public struct CompositionContext: Codable, Equatable {
| `- note: consider making struct 'CompositionContext' conform to the 'Sendable' protocol
222 |
223 | public var allOf: [ReferenceOr<SchemaObject>]?
:
243 | }
244 |
245 | static let invalid = CompositionContext()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | }
247 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:104:21: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
102 | }
103 |
104 | public static let json: Application = "json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:105:21: warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
103 |
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
| |- warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:106:21: warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
| |- warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:107:21: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:108:21: warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
| |- warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
110 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:109:21: warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
| |- warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:127:21: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
125 | }
126 |
127 | public static let plain: Text = "plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let html: Text = "html"
129 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:128:21: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
126 |
127 | public static let plain: Text = "plain"
128 | public static let html: Text = "html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | }
130 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:150:21: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
148 | }
149 |
150 | public static let formData: Multipart = "form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let byteranges: Multipart = "byteranges"
152 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:151:21: warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
149 |
150 | public static let formData: Multipart = "form-data"
151 | public static let byteranges: Multipart = "byteranges"
| |- warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:158:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MediaType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
4 |
5 | public typealias RawValue = String
:
156 | }
157 |
158 | static let any = MediaType("*", "*")
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | }
160 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/SchemaContexts.swift:245:13: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
219 | }
220 |
221 | public struct CompositionContext: Codable, Equatable {
| `- note: consider making struct 'CompositionContext' conform to the 'Sendable' protocol
222 |
223 | public var allOf: [ReferenceOr<SchemaObject>]?
:
243 | }
244 |
245 | static let invalid = CompositionContext()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | }
247 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:104:21: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
102 | }
103 |
104 | public static let json: Application = "json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:105:21: warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
103 |
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
| |- warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:106:21: warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
| |- warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:107:21: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:108:21: warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
| |- warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
110 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:109:21: warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
| |- warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:127:21: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
125 | }
126 |
127 | public static let plain: Text = "plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let html: Text = "html"
129 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:128:21: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
126 |
127 | public static let plain: Text = "plain"
128 | public static let html: Text = "html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | }
130 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:150:21: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
148 | }
149 |
150 | public static let formData: Multipart = "form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let byteranges: Multipart = "byteranges"
152 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:151:21: warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
149 |
150 | public static let formData: Multipart = "form-data"
151 | public static let byteranges: Multipart = "byteranges"
| |- warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:158:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MediaType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
4 |
5 | public typealias RawValue = String
:
156 | }
157 |
158 | static let any = MediaType("*", "*")
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | }
160 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/SchemaContexts.swift:245:13: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
219 | }
220 |
221 | public struct CompositionContext: Codable, Equatable {
| `- note: consider making struct 'CompositionContext' conform to the 'Sendable' protocol
222 |
223 | public var allOf: [ReferenceOr<SchemaObject>]?
:
243 | }
244 |
245 | static let invalid = CompositionContext()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | }
247 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:104:21: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
102 | }
103 |
104 | public static let json: Application = "json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:105:21: warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
103 |
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
| |- warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:106:21: warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
| |- warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:107:21: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:108:21: warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
| |- warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
110 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:109:21: warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
| |- warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:127:21: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
125 | }
126 |
127 | public static let plain: Text = "plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let html: Text = "html"
129 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:128:21: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
126 |
127 | public static let plain: Text = "plain"
128 | public static let html: Text = "html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | }
130 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:150:21: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
148 | }
149 |
150 | public static let formData: Multipart = "form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let byteranges: Multipart = "byteranges"
152 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:151:21: warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
149 |
150 | public static let formData: Multipart = "form-data"
151 | public static let byteranges: Multipart = "byteranges"
| |- warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:158:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MediaType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
4 |
5 | public typealias RawValue = String
:
156 | }
157 |
158 | static let any = MediaType("*", "*")
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | }
160 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/SchemaContexts.swift:245:13: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
219 | }
220 |
221 | public struct CompositionContext: Codable, Equatable {
| `- note: consider making struct 'CompositionContext' conform to the 'Sendable' protocol
222 |
223 | public var allOf: [ReferenceOr<SchemaObject>]?
:
243 | }
244 |
245 | static let invalid = CompositionContext()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | }
247 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:104:21: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
102 | }
103 |
104 | public static let json: Application = "json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:105:21: warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
103 |
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
| |- warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:106:21: warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
| |- warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:107:21: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:108:21: warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
| |- warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
110 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:109:21: warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
| |- warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:127:21: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
125 | }
126 |
127 | public static let plain: Text = "plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let html: Text = "html"
129 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:128:21: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
126 |
127 | public static let plain: Text = "plain"
128 | public static let html: Text = "html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | }
130 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:150:21: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
148 | }
149 |
150 | public static let formData: Multipart = "form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let byteranges: Multipart = "byteranges"
152 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:151:21: warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
149 |
150 | public static let formData: Multipart = "form-data"
151 | public static let byteranges: Multipart = "byteranges"
| |- warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:158:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MediaType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
4 |
5 | public typealias RawValue = String
:
156 | }
157 |
158 | static let any = MediaType("*", "*")
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | }
160 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/SchemaContexts.swift:245:13: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
219 | }
220 |
221 | public struct CompositionContext: Codable, Equatable {
| `- note: consider making struct 'CompositionContext' conform to the 'Sendable' protocol
222 |
223 | public var allOf: [ReferenceOr<SchemaObject>]?
:
243 | }
244 |
245 | static let invalid = CompositionContext()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | }
247 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:104:21: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
102 | }
103 |
104 | public static let json: Application = "json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:105:21: warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
103 |
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
| |- warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:106:21: warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
| |- warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:107:21: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:108:21: warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
| |- warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
110 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:109:21: warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
| |- warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:127:21: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
125 | }
126 |
127 | public static let plain: Text = "plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let html: Text = "html"
129 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:128:21: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
126 |
127 | public static let plain: Text = "plain"
128 | public static let html: Text = "html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | }
130 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:150:21: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
148 | }
149 |
150 | public static let formData: Multipart = "form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let byteranges: Multipart = "byteranges"
152 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:151:21: warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
149 |
150 | public static let formData: Multipart = "form-data"
151 | public static let byteranges: Multipart = "byteranges"
| |- warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:158:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MediaType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
4 |
5 | public typealias RawValue = String
:
156 | }
157 |
158 | static let any = MediaType("*", "*")
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | }
160 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/SchemaContexts.swift:245:13: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
219 | }
220 |
221 | public struct CompositionContext: Codable, Equatable {
| `- note: consider making struct 'CompositionContext' conform to the 'Sendable' protocol
222 |
223 | public var allOf: [ReferenceOr<SchemaObject>]?
:
243 | }
244 |
245 | static let invalid = CompositionContext()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | }
247 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:104:21: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
102 | }
103 |
104 | public static let json: Application = "json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:105:21: warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
103 |
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
| |- warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:106:21: warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
| |- warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:107:21: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:108:21: warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
| |- warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
110 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:109:21: warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
| |- warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:127:21: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
125 | }
126 |
127 | public static let plain: Text = "plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let html: Text = "html"
129 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:128:21: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
126 |
127 | public static let plain: Text = "plain"
128 | public static let html: Text = "html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | }
130 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:150:21: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
148 | }
149 |
150 | public static let formData: Multipart = "form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let byteranges: Multipart = "byteranges"
152 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:151:21: warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
149 |
150 | public static let formData: Multipart = "form-data"
151 | public static let byteranges: Multipart = "byteranges"
| |- warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:158:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MediaType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
4 |
5 | public typealias RawValue = String
:
156 | }
157 |
158 | static let any = MediaType("*", "*")
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | }
160 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/SchemaContexts.swift:245:13: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
219 | }
220 |
221 | public struct CompositionContext: Codable, Equatable {
| `- note: consider making struct 'CompositionContext' conform to the 'Sendable' protocol
222 |
223 | public var allOf: [ReferenceOr<SchemaObject>]?
:
243 | }
244 |
245 | static let invalid = CompositionContext()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | }
247 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:104:21: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
102 | }
103 |
104 | public static let json: Application = "json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:105:21: warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
103 |
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
| |- warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:106:21: warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
| |- warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:107:21: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:108:21: warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
| |- warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
110 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:109:21: warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
| |- warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:127:21: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
125 | }
126 |
127 | public static let plain: Text = "plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let html: Text = "html"
129 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:128:21: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
126 |
127 | public static let plain: Text = "plain"
128 | public static let html: Text = "html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | }
130 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:150:21: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
148 | }
149 |
150 | public static let formData: Multipart = "form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let byteranges: Multipart = "byteranges"
152 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:151:21: warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
149 |
150 | public static let formData: Multipart = "form-data"
151 | public static let byteranges: Multipart = "byteranges"
| |- warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:158:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MediaType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
4 |
5 | public typealias RawValue = String
:
156 | }
157 |
158 | static let any = MediaType("*", "*")
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | }
160 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/SchemaContexts.swift:245:13: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
219 | }
220 |
221 | public struct CompositionContext: Codable, Equatable {
| `- note: consider making struct 'CompositionContext' conform to the 'Sendable' protocol
222 |
223 | public var allOf: [ReferenceOr<SchemaObject>]?
:
243 | }
244 |
245 | static let invalid = CompositionContext()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | }
247 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:104:21: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
102 | }
103 |
104 | public static let json: Application = "json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:105:21: warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
103 |
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
| |- warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:106:21: warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
| |- warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:107:21: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:108:21: warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
| |- warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
110 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:109:21: warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
| |- warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:127:21: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
125 | }
126 |
127 | public static let plain: Text = "plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let html: Text = "html"
129 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:128:21: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
126 |
127 | public static let plain: Text = "plain"
128 | public static let html: Text = "html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | }
130 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:150:21: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
148 | }
149 |
150 | public static let formData: Multipart = "form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let byteranges: Multipart = "byteranges"
152 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:151:21: warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
149 |
150 | public static let formData: Multipart = "form-data"
151 | public static let byteranges: Multipart = "byteranges"
| |- warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:158:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MediaType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
4 |
5 | public typealias RawValue = String
:
156 | }
157 |
158 | static let any = MediaType("*", "*")
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | }
160 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/SchemaContexts.swift:245:13: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
219 | }
220 |
221 | public struct CompositionContext: Codable, Equatable {
| `- note: consider making struct 'CompositionContext' conform to the 'Sendable' protocol
222 |
223 | public var allOf: [ReferenceOr<SchemaObject>]?
:
243 | }
244 |
245 | static let invalid = CompositionContext()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'CompositionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | }
247 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:104:21: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
102 | }
103 |
104 | public static let json: Application = "json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:105:21: warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
103 |
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
| |- warning: static property 'schemaJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:106:21: warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
104 | public static let json: Application = "json"
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
| |- warning: static property 'schemaInstanceJson' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaInstanceJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:107:21: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
105 | public static let schemaJson: Application = "schema+json"
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:108:21: warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
106 | public static let schemaInstanceJson: Application = "schema-instance+json"
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
| |- warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
110 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:109:21: warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public extension MediaType {
92 |
93 | struct Application: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Application' conform to the 'Sendable' protocol
94 | public var rawValue: String
95 |
:
107 | public static let xml: Application = "xml"
108 | public static let octetStream: Application = "octet-stream"
109 | public static let urlEncoded: Application = "x-www-form-urlencoded"
| |- warning: static property 'urlEncoded' is not concurrency-safe because non-'Sendable' type 'MediaType.Application' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'urlEncoded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:127:21: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
125 | }
126 |
127 | public static let plain: Text = "plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let html: Text = "html"
129 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:128:21: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | struct Text: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Text' conform to the 'Sendable' protocol
117 | public var rawValue: String
118 |
:
126 |
127 | public static let plain: Text = "plain"
128 | public static let html: Text = "html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | }
130 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:150:21: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
148 | }
149 |
150 | public static let formData: Multipart = "form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let byteranges: Multipart = "byteranges"
152 | }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:151:21: warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
137 | }
138 |
139 | struct Multipart: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Multipart' conform to the 'Sendable' protocol
140 | public var rawValue: String
141 |
:
149 |
150 | public static let formData: Multipart = "form-data"
151 | public static let byteranges: Multipart = "byteranges"
| |- warning: static property 'byteranges' is not concurrency-safe because non-'Sendable' type 'MediaType.Multipart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byteranges' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/MediaType.swift:158:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MediaType: Codable, Hashable, RawRepresentable, ExpressibleByStringLiteral, LosslessStringConvertible {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
4 |
5 | public typealias RawValue = String
:
156 | }
157 |
158 | static let any = MediaType("*", "*")
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | }
160 |
[424/432] Compiling SwiftOpenAPI ServerVariableObject.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
[425/432] Compiling SwiftOpenAPI SpecificationExtendable.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
[426/432] Compiling SwiftOpenAPI TagObject.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
[427/432] Compiling SwiftOpenAPI Version.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
[428/432] Compiling SwiftOpenAPI XMLObject.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
[429/432] Compiling SwiftOpenAPI OpenAPIDescriptable.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
[430/432] Compiling SwiftOpenAPI OpenAPIDescription.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
[431/432] Compiling SwiftOpenAPI OpenAPIType.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
[432/432] Compiling SwiftOpenAPI refactor.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/18] Write swift-version-24593BA9C3E375BF.txt
[2/24] Compiling SwiftSyntax509 Empty.swift
[3/24] Compiling SwiftSyntax600 Empty.swift
[4/24] Emitting module SwiftSyntax509
[5/25] Emitting module SwiftSyntax600
[6/26] Emitting module SwiftSyntax510
[7/26] Compiling SwiftSyntax510 Empty.swift
[11/88] Compiling SwiftSyntax AbsolutePosition.swift
[12/88] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[13/88] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[14/88] Compiling SwiftSyntax Assert.swift
[15/88] Compiling SwiftSyntax BumpPtrAllocator.swift
[16/88] Compiling SwiftSyntax CommonAncestor.swift
[17/88] Compiling SwiftSyntax Convenience.swift
[18/88] Compiling SwiftSyntax CustomTraits.swift
[19/88] Compiling SwiftSyntax Identifier.swift
[20/96] Compiling SwiftSyntax SourcePresence.swift
[21/96] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[22/96] Compiling SwiftSyntax Syntax.swift
[23/96] Compiling SwiftSyntax SyntaxArena.swift
[24/96] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[25/96] Compiling SwiftSyntax SyntaxChildren.swift
[26/96] Compiling SwiftSyntax SyntaxCollection.swift
[27/96] Compiling SwiftSyntax SyntaxHashable.swift
[28/96] Compiling SwiftSyntax SyntaxIdentifier.swift
[29/96] Emitting module SwiftSyntax
[30/96] Compiling SwiftSyntax MemoryLayout.swift
[31/96] Compiling SwiftSyntax MissingNodeInitializers.swift
[32/96] Compiling SwiftSyntax RawSyntax.swift
[33/96] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[34/96] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[35/96] Compiling SwiftSyntax RawSyntaxTokenView.swift
[36/96] Compiling SwiftSyntax SourceEdit.swift
[37/96] Compiling SwiftSyntax SourceLength.swift
[38/96] Compiling SwiftSyntax SourceLocation.swift
[39/96] Compiling SwiftSyntax RawSyntaxNodesD.swift
[40/96] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[41/96] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[42/96] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[43/96] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[44/96] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[45/96] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[46/96] Compiling SwiftSyntax RawSyntaxValidation.swift
[47/96] Compiling SwiftSyntax SyntaxNodesAB.swift
[48/96] Compiling SwiftSyntax SyntaxKind.swift
[49/96] Compiling SwiftSyntax SyntaxRewriter.swift
[50/96] Compiling SwiftSyntax SyntaxTraits.swift
[51/96] Compiling SwiftSyntax SyntaxVisitor.swift
[52/96] Compiling SwiftSyntax TokenKind.swift
[53/96] Compiling SwiftSyntax Tokens.swift
[54/96] Compiling SwiftSyntax TriviaPieces.swift
[55/96] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[56/96] Compiling SwiftSyntax RawSyntaxNodesC.swift
[57/96] Compiling SwiftSyntax SyntaxNodesC.swift
[58/96] Compiling SwiftSyntax SyntaxNodesD.swift
[59/96] Compiling SwiftSyntax SyntaxNodesEF.swift
[60/96] Compiling SwiftSyntax SyntaxNodesGHI.swift
[61/96] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[62/96] Compiling SwiftSyntax SyntaxNodesOP.swift
[63/96] Compiling SwiftSyntax SyntaxNodesQRS.swift
[64/96] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[65/96] Compiling SwiftSyntax SyntaxNodeFactory.swift
[66/96] Compiling SwiftSyntax SyntaxNodeStructure.swift
[67/96] Compiling SwiftSyntax SyntaxProtocol.swift
[68/96] Compiling SwiftSyntax SyntaxText.swift
[69/96] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[70/96] Compiling SwiftSyntax TokenDiagnostic.swift
[71/96] Compiling SwiftSyntax TokenSequence.swift
[72/96] Compiling SwiftSyntax TokenSyntax.swift
[73/96] Compiling SwiftSyntax Trivia.swift
[74/96] Compiling SwiftSyntax Utils.swift
[75/96] Compiling SwiftSyntax ChildNameForKeyPath.swift
[76/96] Compiling SwiftSyntax Keyword.swift
[77/96] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[78/96] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[79/96] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[80/96] Compiling SwiftSyntax SyntaxBaseNodes.swift
[81/96] Compiling SwiftSyntax SyntaxCollections.swift
[82/96] Compiling SwiftSyntax SyntaxEnum.swift
[84/153] Compiling SwiftDiagnostics Message.swift
[85/154] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[86/154] Compiling SwiftParser LexemeSequence.swift
[87/154] Compiling SwiftParser Lexer.swift
[88/154] Compiling SwiftParser RegexLiteralLexer.swift
[89/154] Compiling SwiftParser UnicodeScalarExtensions.swift
[90/154] Emitting module SwiftDiagnostics
[91/154] Compiling SwiftDiagnostics Note.swift
[92/154] Compiling SwiftBasicFormat Syntax+Extensions.swift
[93/154] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[94/154] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[95/154] Compiling SwiftDiagnostics FixIt.swift
[96/154] Compiling SwiftBasicFormat InferIndentation.swift
[97/154] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[98/154] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[100/155] Emitting module SwiftBasicFormat
[101/155] Compiling SwiftBasicFormat BasicFormat.swift
[103/154] Emitting module SwiftParser
[104/159] Compiling SwiftParser SwiftParserCompatibility.swift
[105/159] Compiling SwiftParser SwiftVersion.swift
[106/159] Compiling SwiftParser SyntaxUtils.swift
[107/159] Compiling SwiftParser TokenConsumer.swift
[108/159] Compiling SwiftParser TokenPrecedence.swift
[109/159] Compiling SwiftParser TokenSpec.swift
[110/159] Compiling SwiftParser TokenSpecSet.swift
[111/159] Compiling SwiftParser TopLevel.swift
[112/159] Compiling SwiftParser TriviaParser.swift
[113/159] Compiling SwiftParser Types.swift
[114/159] Compiling SwiftParser Modifiers.swift
[115/159] Compiling SwiftParser Names.swift
[116/159] Compiling SwiftParser Nominals.swift
[117/159] Compiling SwiftParser Parameters.swift
[118/159] Compiling SwiftParser ParseSourceFile.swift
[119/159] Compiling SwiftParser Parser.swift
[124/159] Compiling SwiftParser Lookahead.swift
[125/159] Compiling SwiftParser LoopProgressCondition.swift
[126/159] Compiling SwiftParser Patterns.swift
[127/159] Compiling SwiftParser Recovery.swift
[128/159] Compiling SwiftParser Specifiers.swift
[129/159] Compiling SwiftParser Statements.swift
[130/159] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[131/159] Compiling SwiftParser StringLiterals.swift
[132/159] Compiling SwiftParser Attributes.swift
[133/159] Compiling SwiftParser Availability.swift
[134/159] Compiling SwiftParser CharacterInfo.swift
[135/159] Compiling SwiftParser CollectionNodes+Parsable.swift
[136/159] Compiling SwiftParser Declarations.swift
[137/159] Compiling SwiftParser Directives.swift
[138/159] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[139/159] Compiling SwiftParser Expressions.swift
[140/159] Compiling SwiftParser IncrementalParseTransition.swift
[141/159] Compiling SwiftParser IsValidIdentifier.swift
[142/159] Compiling SwiftParser Cursor.swift
[143/159] Compiling SwiftParser Lexeme.swift
[144/159] Compiling SwiftParser ExperimentalFeatures.swift
[145/159] Compiling SwiftParser IsLexerClassified.swift
[146/159] Compiling SwiftParser LayoutNodes+Parsable.swift
[147/159] Compiling SwiftParser Parser+TokenSpecSet.swift
[148/159] Compiling SwiftParser TokenSpecStaticMembers.swift
[150/182] Compiling SwiftOperators PrecedenceGroup.swift
[151/182] Compiling SwiftParserDiagnostics MissingNodesError.swift
[152/182] Compiling SwiftParserDiagnostics MissingTokenError.swift
[153/182] Compiling SwiftOperators OperatorTable.swift
[154/182] Compiling SwiftOperators PrecedenceGraph.swift
[155/183] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[156/183] Compiling SwiftOperators SyntaxSynthesis.swift
[157/184] Compiling SwiftOperators OperatorTable+Semantics.swift
[158/184] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[159/184] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[160/184] Emitting module SwiftOperators
[161/184] Compiling SwiftOperators OperatorTable+Folding.swift
[162/185] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[164/185] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[165/185] Compiling SwiftParserDiagnostics PresenceUtils.swift
[166/185] Emitting module SwiftParserDiagnostics
[167/185] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[168/185] Compiling SwiftParserDiagnostics Utils.swift
[169/185] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[174/184] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[175/184] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[177/199] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[178/199] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[179/199] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[180/199] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[181/199] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[182/199] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[183/200] Compiling SwiftSyntaxBuilder Indenter.swift
[184/200] Compiling SwiftSyntaxBuilder ListBuilder.swift
[185/200] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[186/200] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[187/200] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[188/200] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[189/200] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[190/200] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[191/200] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[192/200] Emitting module SwiftSyntaxBuilder
[194/217] Emitting module SwiftSyntaxMacros
[195/219] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[196/219] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[197/219] Compiling SwiftSyntaxMacros MemberMacro.swift
[198/219] Compiling SwiftSyntaxMacros PeerMacro.swift
[199/219] Compiling SwiftSyntaxMacros Macro.swift
[200/219] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[201/219] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[202/219] Compiling SwiftSyntaxMacros Macro+Format.swift
[203/219] Compiling SwiftSyntaxMacros AccessorMacro.swift
[204/219] Compiling SwiftSyntaxMacros AttachedMacro.swift
[205/219] Compiling SwiftSyntaxMacros BodyMacro.swift
[206/219] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[207/219] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[208/219] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[209/219] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[210/219] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[211/219] Compiling SwiftSyntaxMacros PreambleMacro.swift
[212/219] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[214/228] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[215/229] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[216/229] Emitting module SwiftSyntaxMacroExpansion
[217/229] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[218/229] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[219/229] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[220/229] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[221/229] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[222/229] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[223/229] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[225/241] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[226/241] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[227/242] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[228/242] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[229/242] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[230/242] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[231/242] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[232/242] Emitting module SwiftCompilerPluginMessageHandling
[233/242] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[234/242] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[235/242] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[236/242] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[237/242] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[239/244] Emitting module SwiftCompilerPlugin
[240/244] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[242/248] Compiling SwiftOpenAPIMacros StringError.swift
[243/248] Compiling SwiftOpenAPIMacros SyntaxExt.swift
[244/248] Emitting module SwiftOpenAPIMacros
[245/248] Compiling SwiftOpenAPIMacros OpenAPIDescriptionMacro.swift
[246/248] Write Objects.LinkFileList
[247/248] Linking SwiftOpenAPIMacros-tool
[249/380] Compiling SwiftOpenAPI AnyRange.swift
[250/380] Compiling SwiftOpenAPI Bool++.swift
[251/380] Compiling SwiftOpenAPI Codable++.swift
[252/380] Compiling SwiftOpenAPI CodingKeys.swift
[253/380] Compiling SwiftOpenAPI Collection++.swift
[254/380] Compiling SwiftOpenAPI Decimal++.swift
[255/380] Compiling SwiftOpenAPI ExpressibleBy.swift
[256/380] Compiling SwiftOpenAPI Locks.swift
[257/380] Compiling SwiftOpenAPI OrderedDictionary.swift
[258/389] Compiling SwiftOpenAPI OAuthFlowObject.swift
[259/389] Compiling SwiftOpenAPI OAuthFlowsObject.swift
[260/389] Compiling SwiftOpenAPI OpenAPIObject.swift
[261/389] Compiling SwiftOpenAPI OperationObject.swift
[262/389] Compiling SwiftOpenAPI ParameterObject.swift
[263/389] Compiling SwiftOpenAPI Path.swift
[264/389] Compiling SwiftOpenAPI PathItemObject.swift
[265/389] Compiling SwiftOpenAPI PathsObject.swift
[266/389] Compiling SwiftOpenAPI ReferenceObject.swift
[267/389] Emitting module SwiftOpenAPI
[268/389] Compiling SwiftOpenAPI ReferenceOr.swift
[269/389] Compiling SwiftOpenAPI RequestBodyObject.swift
[270/389] Compiling SwiftOpenAPI ResponseObject.swift
[271/389] Compiling SwiftOpenAPI ResponsesObject.swift
[272/389] Compiling SwiftOpenAPI RuntimeExpression.swift
[273/389] Compiling SwiftOpenAPI RuntimeExpressionOr.swift
[274/389] Compiling SwiftOpenAPI SecurityRequirementObject.swift
[275/389] Compiling SwiftOpenAPI SecuritySchemeObject.swift
[276/389] Compiling SwiftOpenAPI ServerObject.swift
[277/398] Compiling SwiftOpenAPI ServerVariableObject.swift
[278/398] Compiling SwiftOpenAPI SpecificationExtendable.swift
[279/398] Compiling SwiftOpenAPI TagObject.swift
[280/398] Compiling SwiftOpenAPI Version.swift
[281/398] Compiling SwiftOpenAPI XMLObject.swift
[282/398] Compiling SwiftOpenAPI OpenAPIDescriptable.swift
[283/398] Compiling SwiftOpenAPI OpenAPIDescription.swift
[284/398] Compiling SwiftOpenAPI OpenAPIType.swift
[285/398] Compiling SwiftOpenAPI refactor.swift
[286/398] Compiling SwiftOpenAPI TypeRevision.swift
[287/398] Compiling SwiftOpenAPI TypeRevisionDecoder.swift
[288/398] Compiling SwiftOpenAPI TypeRevisionEncoder.swift
[289/398] Compiling SwiftOpenAPI AnyValue.swift
[290/398] Compiling SwiftOpenAPI CallbackObject.swift
[291/398] Compiling SwiftOpenAPI ComponentsObject.swift
[292/398] Compiling SwiftOpenAPI CompositeType.swift
[293/398] Compiling SwiftOpenAPI ContactObject.swift
[294/398] Compiling SwiftOpenAPI ContentObject.swift
[304/398] Compiling SwiftOpenAPI StringConvertibleHintProvider.swift
[314/398] Compiling SwiftOpenAPI String++.swift
[315/398] Compiling SwiftOpenAPI AnyValueEncoder.swift
[316/398] Compiling SwiftOpenAPI CheckAllKeysDecoder.swift
[317/398] Compiling SwiftOpenAPI DateEncodingFormat.swift
[318/398] Compiling SwiftOpenAPI HeadersEncoder.swift
[319/398] Compiling SwiftOpenAPI KeyEncodingStrategy.swift
[320/398] Compiling SwiftOpenAPI ParametersEncoder.swift
[321/398] Compiling SwiftOpenAPI Ref.swift
[322/398] Compiling SwiftOpenAPI SchemeEncoder.swift
[323/398] Compiling SwiftOpenAPI CodableTypes.swift
[324/398] Compiling SwiftOpenAPI EncodingObject.swift
[325/398] Compiling SwiftOpenAPI ExampleObject.swift
[326/398] Compiling SwiftOpenAPI ExternalDocumentationObject.swift
[327/398] Compiling SwiftOpenAPI HeaderObject.swift
[328/398] Compiling SwiftOpenAPI InfoObject.swift
[329/398] Compiling SwiftOpenAPI AdditionalProperties.swift
[330/398] Compiling SwiftOpenAPI DataFormat.swift
[331/398] Compiling SwiftOpenAPI DataType.swift
[332/398] Compiling SwiftOpenAPI DiscriminatorObject.swift
[333/398] Compiling SwiftOpenAPI ExpressibleBySchemaObject.swift
[334/398] Compiling SwiftOpenAPI SchemaContexts.swift
[335/398] Compiling SwiftOpenAPI SchemaObjec+deprecated.swift
[336/398] Compiling SwiftOpenAPI SchemaObject++.swift
[337/398] Compiling SwiftOpenAPI SchemaObject.swift
[338/398] Compiling SwiftOpenAPI LicenseObject.swift
[339/398] Compiling SwiftOpenAPI LinkObject.swift
[340/398] Compiling SwiftOpenAPI MediaType.swift
[341/398] Compiling SwiftOpenAPI MediaTypeObject.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
error: emit-module command failed with exit code 1 (use -v to see invocation)
[390/399] Emitting module SwiftOpenAPI
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
BUILD FAILURE 6.1 android