Build Information
Successful build of Sunday, reference main (69eabd
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 05:06:46 UTC.
Swift 6 data race errors: 99
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
103 | public static let proxyAuthenticationRequired = Status(code: .proxyAuthenticationRequired)
104 | public static let requestTimeout = Status(code: .requestTimeout)
[307/314] Compiling SundayServer HTTPHeaderParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:71:25: warning: static property 'continue' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
69 | // 1XX
70 |
71 | public static let `continue` = Status(code: .continue)
| |- warning: static property 'continue' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'continue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let switchingProtocols = Status(code: .switchingProtocols)
73 |
[308/314] Compiling SundayServer HTTPRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:71:25: warning: static property 'continue' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
69 | // 1XX
70 |
71 | public static let `continue` = Status(code: .continue)
| |- warning: static property 'continue' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'continue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let switchingProtocols = Status(code: .switchingProtocols)
73 |
[309/314] Compiling SundayServer RoutingHTTPServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:100:25: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
98 | public static let paymentRequired = Status(code: .paymentRequired)
99 | public static let forbidden = Status(code: .forbidden)
100 | public static let notFound = Status(code: .notFound)
| |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notFound' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | public static let methodNotAllowed = Status(code: .methodNotAllowed)
102 | public static let notAcceptable = Status(code: .notAcceptable)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:117:25: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
115 | // 5XX
116 |
117 | public static let internalServerError = Status(code: .internalServerError)
| |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'internalServerError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | public static let notImplemented = Status(code: .notImplemented)
119 | public static let badGateway = Status(code: .badGateway)
[310/314] Compiling SundayServer HTTPResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:102:25: warning: static property 'notAcceptable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
100 | public static let notFound = Status(code: .notFound)
101 | public static let methodNotAllowed = Status(code: .methodNotAllowed)
102 | public static let notAcceptable = Status(code: .notAcceptable)
| |- warning: static property 'notAcceptable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notAcceptable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | public static let proxyAuthenticationRequired = Status(code: .proxyAuthenticationRequired)
104 | public static let requestTimeout = Status(code: .requestTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPServer.swift:59:24: warning: capture of 'self' with non-sendable type 'NetworkHTTPServer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |
31 |
32 | open class NetworkHTTPServer: NSObject, HTTPServer {
| `- note: class 'NetworkHTTPServer' does not conform to the 'Sendable' protocol
33 |
34 | public let queue = DispatchQueue(label: "HTTP Server Connection Queue", attributes: [.concurrent])
:
57 | listener.parameters.acceptLocalOnly = localOnly
58 | listener.newConnectionHandler = { [weak self] connection in
59 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'NetworkHTTPServer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
60 | self.connect(with: connection)
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPServer.swift:63:24: warning: capture of 'self' with non-sendable type 'NetworkHTTPServer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |
31 |
32 | open class NetworkHTTPServer: NSObject, HTTPServer {
| `- note: class 'NetworkHTTPServer' does not conform to the 'Sendable' protocol
33 |
34 | public let queue = DispatchQueue(label: "HTTP Server Connection Queue", attributes: [.concurrent])
:
61 | }
62 | listener.stateUpdateHandler = { [weak self] state in
63 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'NetworkHTTPServer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | self.isReady = state == .ready
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPServer.swift:167:7: warning: capture of 'self' with non-sendable type 'NetworkHTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |
31 |
32 | open class NetworkHTTPServer: NSObject, HTTPServer {
| `- note: class 'NetworkHTTPServer' does not conform to the 'Sendable' protocol
33 |
34 | public let queue = DispatchQueue(label: "HTTP Server Connection Queue", attributes: [.concurrent])
:
165 |
166 | connection.stateUpdateHandler = { _ in
167 | self.mgrQueue.sync {
| `- warning: capture of 'self' with non-sendable type 'NetworkHTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
168 | self.connections.removeValue(forKey: httpConnection.id)
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPServer.swift:168:46: warning: capture of 'httpConnection' with non-sendable type 'NetworkHTTPConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
166 | connection.stateUpdateHandler = { _ in
167 | self.mgrQueue.sync {
168 | self.connections.removeValue(forKey: httpConnection.id)
| `- warning: capture of 'httpConnection' with non-sendable type 'NetworkHTTPConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
169 | }
170 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPConnection.swift:224:20: note: class 'NetworkHTTPConnection' does not conform to the 'Sendable' protocol
222 |
223 |
224 | public final class NetworkHTTPConnection: HTTPConnection {
| `- note: class 'NetworkHTTPConnection' does not conform to the 'Sendable' protocol
225 |
226 | let transport: NWConnection
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPServer.swift:168:9: warning: capture of 'self' with non-sendable type 'NetworkHTTPServer' in an isolated closure; this is an error in the Swift 6 language mode
30 |
31 |
32 | open class NetworkHTTPServer: NSObject, HTTPServer {
| `- note: class 'NetworkHTTPServer' does not conform to the 'Sendable' protocol
33 |
34 | public let queue = DispatchQueue(label: "HTTP Server Connection Queue", attributes: [.concurrent])
:
166 | connection.stateUpdateHandler = { _ in
167 | self.mgrQueue.sync {
168 | self.connections.removeValue(forKey: httpConnection.id)
| `- warning: capture of 'self' with non-sendable type 'NetworkHTTPServer' in an isolated closure; this is an error in the Swift 6 language mode
169 | }
170 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPServer.swift:168:46: warning: capture of 'httpConnection' with non-sendable type 'NetworkHTTPConnection' in an isolated closure; this is an error in the Swift 6 language mode
166 | connection.stateUpdateHandler = { _ in
167 | self.mgrQueue.sync {
168 | self.connections.removeValue(forKey: httpConnection.id)
| `- warning: capture of 'httpConnection' with non-sendable type 'NetworkHTTPConnection' in an isolated closure; this is an error in the Swift 6 language mode
169 | }
170 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPConnection.swift:224:20: note: class 'NetworkHTTPConnection' does not conform to the 'Sendable' protocol
222 |
223 |
224 | public final class NetworkHTTPConnection: HTTPConnection {
| `- note: class 'NetworkHTTPConnection' does not conform to the 'Sendable' protocol
225 |
226 | let transport: NWConnection
[311/314] Compiling SundayServer HTTPServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:102:25: warning: static property 'notAcceptable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
100 | public static let notFound = Status(code: .notFound)
101 | public static let methodNotAllowed = Status(code: .methodNotAllowed)
102 | public static let notAcceptable = Status(code: .notAcceptable)
| |- warning: static property 'notAcceptable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notAcceptable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | public static let proxyAuthenticationRequired = Status(code: .proxyAuthenticationRequired)
104 | public static let requestTimeout = Status(code: .requestTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPServer.swift:59:24: warning: capture of 'self' with non-sendable type 'NetworkHTTPServer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |
31 |
32 | open class NetworkHTTPServer: NSObject, HTTPServer {
| `- note: class 'NetworkHTTPServer' does not conform to the 'Sendable' protocol
33 |
34 | public let queue = DispatchQueue(label: "HTTP Server Connection Queue", attributes: [.concurrent])
:
57 | listener.parameters.acceptLocalOnly = localOnly
58 | listener.newConnectionHandler = { [weak self] connection in
59 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'NetworkHTTPServer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
60 | self.connect(with: connection)
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPServer.swift:63:24: warning: capture of 'self' with non-sendable type 'NetworkHTTPServer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |
31 |
32 | open class NetworkHTTPServer: NSObject, HTTPServer {
| `- note: class 'NetworkHTTPServer' does not conform to the 'Sendable' protocol
33 |
34 | public let queue = DispatchQueue(label: "HTTP Server Connection Queue", attributes: [.concurrent])
:
61 | }
62 | listener.stateUpdateHandler = { [weak self] state in
63 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'NetworkHTTPServer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | self.isReady = state == .ready
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPServer.swift:167:7: warning: capture of 'self' with non-sendable type 'NetworkHTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |
31 |
32 | open class NetworkHTTPServer: NSObject, HTTPServer {
| `- note: class 'NetworkHTTPServer' does not conform to the 'Sendable' protocol
33 |
34 | public let queue = DispatchQueue(label: "HTTP Server Connection Queue", attributes: [.concurrent])
:
165 |
166 | connection.stateUpdateHandler = { _ in
167 | self.mgrQueue.sync {
| `- warning: capture of 'self' with non-sendable type 'NetworkHTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
168 | self.connections.removeValue(forKey: httpConnection.id)
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPServer.swift:168:46: warning: capture of 'httpConnection' with non-sendable type 'NetworkHTTPConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
166 | connection.stateUpdateHandler = { _ in
167 | self.mgrQueue.sync {
168 | self.connections.removeValue(forKey: httpConnection.id)
| `- warning: capture of 'httpConnection' with non-sendable type 'NetworkHTTPConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
169 | }
170 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPConnection.swift:224:20: note: class 'NetworkHTTPConnection' does not conform to the 'Sendable' protocol
222 |
223 |
224 | public final class NetworkHTTPConnection: HTTPConnection {
| `- note: class 'NetworkHTTPConnection' does not conform to the 'Sendable' protocol
225 |
226 | let transport: NWConnection
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPServer.swift:168:9: warning: capture of 'self' with non-sendable type 'NetworkHTTPServer' in an isolated closure; this is an error in the Swift 6 language mode
30 |
31 |
32 | open class NetworkHTTPServer: NSObject, HTTPServer {
| `- note: class 'NetworkHTTPServer' does not conform to the 'Sendable' protocol
33 |
34 | public let queue = DispatchQueue(label: "HTTP Server Connection Queue", attributes: [.concurrent])
:
166 | connection.stateUpdateHandler = { _ in
167 | self.mgrQueue.sync {
168 | self.connections.removeValue(forKey: httpConnection.id)
| `- warning: capture of 'self' with non-sendable type 'NetworkHTTPServer' in an isolated closure; this is an error in the Swift 6 language mode
169 | }
170 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPServer.swift:168:46: warning: capture of 'httpConnection' with non-sendable type 'NetworkHTTPConnection' in an isolated closure; this is an error in the Swift 6 language mode
166 | connection.stateUpdateHandler = { _ in
167 | self.mgrQueue.sync {
168 | self.connections.removeValue(forKey: httpConnection.id)
| `- warning: capture of 'httpConnection' with non-sendable type 'NetworkHTTPConnection' in an isolated closure; this is an error in the Swift 6 language mode
169 | }
170 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPConnection.swift:224:20: note: class 'NetworkHTTPConnection' does not conform to the 'Sendable' protocol
222 |
223 |
224 | public final class NetworkHTTPConnection: HTTPConnection {
| `- note: class 'NetworkHTTPConnection' does not conform to the 'Sendable' protocol
225 |
226 | let transport: NWConnection
[312/314] Compiling SundayServer HTTPConnection.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPConnection.swift:241:19: warning: converting non-sendable function value to '@Sendable (Data?, NWConnection.ContentContext?, Bool, NWError?) -> Void' may introduce data races
239 | minimumIncompleteLength: minHTTPReqeustLength,
240 | maximumLength: maxHTTPChunkLength,
241 | completion: handleReceive(content:context:isComplete:error:)
| `- warning: converting non-sendable function value to '@Sendable (Data?, NWConnection.ContentContext?, Bool, NWError?) -> Void' may introduce data races
242 | )
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPConnection.swift:252:9: warning: capture of 'self' with non-sendable type 'NetworkHTTPConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 |
223 |
224 | public final class NetworkHTTPConnection: HTTPConnection {
| `- note: class 'NetworkHTTPConnection' does not conform to the 'Sendable' protocol
225 |
226 | let transport: NWConnection
:
250 | transport.send(content: data, completion: .contentProcessed { error in
251 | if let error = error {
252 | self.logger.error(
| `- warning: capture of 'self' with non-sendable type 'NetworkHTTPConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
253 | "send error while '\(context, privacy: .public)': \(error.localizedDescription, privacy: .public)"
254 | )
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPConnection.swift:256:7: warning: capture of 'completion' with non-sendable type '(((any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
254 | )
255 | }
256 | completion?(error)
| |- warning: capture of 'completion' with non-sendable type '(((any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
257 | })
258 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPConnection.swift:262:7: warning: capture of 'completion' with non-sendable type '(Data?, Bool, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 | override public func receive(minimum: Int, maximum: Int, completion: @escaping (Data?, Bool, Error?) -> Void) {
261 | transport.receive(minimumIncompleteLength: minimum, maximumLength: maximum) { data, _, isComplete, error in
262 | completion(data, isComplete, error)
| |- warning: capture of 'completion' with non-sendable type '(Data?, Bool, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
263 | }
264 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:71:25: warning: static property 'continue' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
69 | // 1XX
70 |
71 | public static let `continue` = Status(code: .continue)
| |- warning: static property 'continue' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'continue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let switchingProtocols = Status(code: .switchingProtocols)
73 |
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:72:25: warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
70 |
71 | public static let `continue` = Status(code: .continue)
72 | public static let switchingProtocols = Status(code: .switchingProtocols)
| |- warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'switchingProtocols' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | // 2XX
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:76:25: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
74 | // 2XX
75 |
76 | public static let ok = Status(code: .ok)
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ok' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let created = Status(code: .created)
78 | public static let accepted = Status(code: .accepted)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:77:25: warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
75 |
76 | public static let ok = Status(code: .ok)
77 | public static let created = Status(code: .created)
| |- warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'created' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let accepted = Status(code: .accepted)
79 | public static let nonAuthoritativeInformation = Status(code: .nonAuthoritativeInformation)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:78:25: warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
76 | public static let ok = Status(code: .ok)
77 | public static let created = Status(code: .created)
78 | public static let accepted = Status(code: .accepted)
| |- warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accepted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let nonAuthoritativeInformation = Status(code: .nonAuthoritativeInformation)
80 | public static let noContent = Status(code: .noContent)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:79:25: warning: static property 'nonAuthoritativeInformation' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
77 | public static let created = Status(code: .created)
78 | public static let accepted = Status(code: .accepted)
79 | public static let nonAuthoritativeInformation = Status(code: .nonAuthoritativeInformation)
| |- warning: static property 'nonAuthoritativeInformation' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nonAuthoritativeInformation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let noContent = Status(code: .noContent)
81 | public static let resetContent = Status(code: .resetContent)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:80:25: warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
78 | public static let accepted = Status(code: .accepted)
79 | public static let nonAuthoritativeInformation = Status(code: .nonAuthoritativeInformation)
80 | public static let noContent = Status(code: .noContent)
| |- warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let resetContent = Status(code: .resetContent)
82 | public static let partialContent = Status(code: .partialContent)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:81:25: warning: static property 'resetContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
79 | public static let nonAuthoritativeInformation = Status(code: .nonAuthoritativeInformation)
80 | public static let noContent = Status(code: .noContent)
81 | public static let resetContent = Status(code: .resetContent)
| |- warning: static property 'resetContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resetContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let partialContent = Status(code: .partialContent)
83 |
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:82:25: warning: static property 'partialContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
80 | public static let noContent = Status(code: .noContent)
81 | public static let resetContent = Status(code: .resetContent)
82 | public static let partialContent = Status(code: .partialContent)
| |- warning: static property 'partialContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'partialContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 |
84 | // 3XX
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:86:25: warning: static property 'multipleChoices' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
84 | // 3XX
85 |
86 | public static let multipleChoices = Status(code: .multipleChoices)
| |- warning: static property 'multipleChoices' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multipleChoices' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let movedPermanently = Status(code: .movedPermanently)
88 | public static let found = Status(code: .found)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:87:25: warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
85 |
86 | public static let multipleChoices = Status(code: .multipleChoices)
87 | public static let movedPermanently = Status(code: .movedPermanently)
| |- warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'movedPermanently' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let found = Status(code: .found)
89 | public static let seeOther = Status(code: .seeOther)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:88:25: warning: static property 'found' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
86 | public static let multipleChoices = Status(code: .multipleChoices)
87 | public static let movedPermanently = Status(code: .movedPermanently)
88 | public static let found = Status(code: .found)
| |- warning: static property 'found' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'found' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let seeOther = Status(code: .seeOther)
90 | public static let notModified = Status(code: .notModified)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:89:25: warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
87 | public static let movedPermanently = Status(code: .movedPermanently)
88 | public static let found = Status(code: .found)
89 | public static let seeOther = Status(code: .seeOther)
| |- warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'seeOther' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let notModified = Status(code: .notModified)
91 | public static let useProxy = Status(code: .useProxy)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:90:25: warning: static property 'notModified' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
88 | public static let found = Status(code: .found)
89 | public static let seeOther = Status(code: .seeOther)
90 | public static let notModified = Status(code: .notModified)
| |- warning: static property 'notModified' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notModified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let useProxy = Status(code: .useProxy)
92 | public static let temporaryRedirect = Status(code: .temporaryRedirect)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:91:25: warning: static property 'useProxy' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
89 | public static let seeOther = Status(code: .seeOther)
90 | public static let notModified = Status(code: .notModified)
91 | public static let useProxy = Status(code: .useProxy)
| |- warning: static property 'useProxy' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useProxy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let temporaryRedirect = Status(code: .temporaryRedirect)
93 |
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:92:25: warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
90 | public static let notModified = Status(code: .notModified)
91 | public static let useProxy = Status(code: .useProxy)
92 | public static let temporaryRedirect = Status(code: .temporaryRedirect)
| |- warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'temporaryRedirect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | // 4XX
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:96:25: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
94 | // 4XX
95 |
96 | public static let badRequest = Status(code: .badRequest)
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'badRequest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | public static let unauthenticated = Status(code: .unauthenticated)
98 | public static let paymentRequired = Status(code: .paymentRequired)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:97:25: warning: static property 'unauthenticated' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
95 |
96 | public static let badRequest = Status(code: .badRequest)
97 | public static let unauthenticated = Status(code: .unauthenticated)
| |- warning: static property 'unauthenticated' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unauthenticated' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | public static let paymentRequired = Status(code: .paymentRequired)
99 | public static let forbidden = Status(code: .forbidden)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:98:25: warning: static property 'paymentRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
96 | public static let badRequest = Status(code: .badRequest)
97 | public static let unauthenticated = Status(code: .unauthenticated)
98 | public static let paymentRequired = Status(code: .paymentRequired)
| |- warning: static property 'paymentRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'paymentRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | public static let forbidden = Status(code: .forbidden)
100 | public static let notFound = Status(code: .notFound)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:99:25: warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
97 | public static let unauthenticated = Status(code: .unauthenticated)
98 | public static let paymentRequired = Status(code: .paymentRequired)
99 | public static let forbidden = Status(code: .forbidden)
| |- warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forbidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | public static let notFound = Status(code: .notFound)
101 | public static let methodNotAllowed = Status(code: .methodNotAllowed)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:100:25: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
98 | public static let paymentRequired = Status(code: .paymentRequired)
99 | public static let forbidden = Status(code: .forbidden)
100 | public static let notFound = Status(code: .notFound)
| |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notFound' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | public static let methodNotAllowed = Status(code: .methodNotAllowed)
102 | public static let notAcceptable = Status(code: .notAcceptable)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:101:25: warning: static property 'methodNotAllowed' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
99 | public static let forbidden = Status(code: .forbidden)
100 | public static let notFound = Status(code: .notFound)
101 | public static let methodNotAllowed = Status(code: .methodNotAllowed)
| |- warning: static property 'methodNotAllowed' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodNotAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | public static let notAcceptable = Status(code: .notAcceptable)
103 | public static let proxyAuthenticationRequired = Status(code: .proxyAuthenticationRequired)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:102:25: warning: static property 'notAcceptable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
100 | public static let notFound = Status(code: .notFound)
101 | public static let methodNotAllowed = Status(code: .methodNotAllowed)
102 | public static let notAcceptable = Status(code: .notAcceptable)
| |- warning: static property 'notAcceptable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notAcceptable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | public static let proxyAuthenticationRequired = Status(code: .proxyAuthenticationRequired)
104 | public static let requestTimeout = Status(code: .requestTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:103:25: warning: static property 'proxyAuthenticationRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
101 | public static let methodNotAllowed = Status(code: .methodNotAllowed)
102 | public static let notAcceptable = Status(code: .notAcceptable)
103 | public static let proxyAuthenticationRequired = Status(code: .proxyAuthenticationRequired)
| |- warning: static property 'proxyAuthenticationRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proxyAuthenticationRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | public static let requestTimeout = Status(code: .requestTimeout)
105 | public static let conflict = Status(code: .conflict)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:104:25: warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
102 | public static let notAcceptable = Status(code: .notAcceptable)
103 | public static let proxyAuthenticationRequired = Status(code: .proxyAuthenticationRequired)
104 | public static let requestTimeout = Status(code: .requestTimeout)
| |- warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'requestTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let conflict = Status(code: .conflict)
106 | public static let gone = Status(code: .gone)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:105:25: warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
103 | public static let proxyAuthenticationRequired = Status(code: .proxyAuthenticationRequired)
104 | public static let requestTimeout = Status(code: .requestTimeout)
105 | public static let conflict = Status(code: .conflict)
| |- warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'conflict' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let gone = Status(code: .gone)
107 | public static let lengthRequired = Status(code: .lengthRequired)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:106:25: warning: static property 'gone' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
104 | public static let requestTimeout = Status(code: .requestTimeout)
105 | public static let conflict = Status(code: .conflict)
106 | public static let gone = Status(code: .gone)
| |- warning: static property 'gone' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gone' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let lengthRequired = Status(code: .lengthRequired)
108 | public static let preconditionFailed = Status(code: .preconditionFailed)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:107:25: warning: static property 'lengthRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
105 | public static let conflict = Status(code: .conflict)
106 | public static let gone = Status(code: .gone)
107 | public static let lengthRequired = Status(code: .lengthRequired)
| |- warning: static property 'lengthRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lengthRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let preconditionFailed = Status(code: .preconditionFailed)
109 | public static let requestEntityTooLarge = Status(code: .requestEntityTooLarge)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:108:25: warning: static property 'preconditionFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
106 | public static let gone = Status(code: .gone)
107 | public static let lengthRequired = Status(code: .lengthRequired)
108 | public static let preconditionFailed = Status(code: .preconditionFailed)
| |- warning: static property 'preconditionFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preconditionFailed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let requestEntityTooLarge = Status(code: .requestEntityTooLarge)
110 | public static let requestUriTooLong = Status(code: .requestUriTooLong)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:109:25: warning: static property 'requestEntityTooLarge' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
107 | public static let lengthRequired = Status(code: .lengthRequired)
108 | public static let preconditionFailed = Status(code: .preconditionFailed)
109 | public static let requestEntityTooLarge = Status(code: .requestEntityTooLarge)
| |- warning: static property 'requestEntityTooLarge' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'requestEntityTooLarge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | public static let requestUriTooLong = Status(code: .requestUriTooLong)
111 | public static let unsupportedMediaType = Status(code: .unsupportedMediaType)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:110:25: warning: static property 'requestUriTooLong' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
108 | public static let preconditionFailed = Status(code: .preconditionFailed)
109 | public static let requestEntityTooLarge = Status(code: .requestEntityTooLarge)
110 | public static let requestUriTooLong = Status(code: .requestUriTooLong)
| |- warning: static property 'requestUriTooLong' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'requestUriTooLong' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | public static let unsupportedMediaType = Status(code: .unsupportedMediaType)
112 | public static let requestRangeNotSatisfiable = Status(code: .requestRangeNotSatisfiable)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:111:25: warning: static property 'unsupportedMediaType' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
109 | public static let requestEntityTooLarge = Status(code: .requestEntityTooLarge)
110 | public static let requestUriTooLong = Status(code: .requestUriTooLong)
111 | public static let unsupportedMediaType = Status(code: .unsupportedMediaType)
| |- warning: static property 'unsupportedMediaType' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unsupportedMediaType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | public static let requestRangeNotSatisfiable = Status(code: .requestRangeNotSatisfiable)
113 | public static let expectationFailed = Status(code: .expectationFailed)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:112:25: warning: static property 'requestRangeNotSatisfiable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
110 | public static let requestUriTooLong = Status(code: .requestUriTooLong)
111 | public static let unsupportedMediaType = Status(code: .unsupportedMediaType)
112 | public static let requestRangeNotSatisfiable = Status(code: .requestRangeNotSatisfiable)
| |- warning: static property 'requestRangeNotSatisfiable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'requestRangeNotSatisfiable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | public static let expectationFailed = Status(code: .expectationFailed)
114 |
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:113:25: warning: static property 'expectationFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
111 | public static let unsupportedMediaType = Status(code: .unsupportedMediaType)
112 | public static let requestRangeNotSatisfiable = Status(code: .requestRangeNotSatisfiable)
113 | public static let expectationFailed = Status(code: .expectationFailed)
| |- warning: static property 'expectationFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectationFailed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | // 5XX
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:117:25: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
115 | // 5XX
116 |
117 | public static let internalServerError = Status(code: .internalServerError)
| |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'internalServerError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | public static let notImplemented = Status(code: .notImplemented)
119 | public static let badGateway = Status(code: .badGateway)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:118:25: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
116 |
117 | public static let internalServerError = Status(code: .internalServerError)
118 | public static let notImplemented = Status(code: .notImplemented)
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notImplemented' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 | public static let badGateway = Status(code: .badGateway)
120 | public static let serviceUnavailable = Status(code: .serviceUnavailable)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:119:25: warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
117 | public static let internalServerError = Status(code: .internalServerError)
118 | public static let notImplemented = Status(code: .notImplemented)
119 | public static let badGateway = Status(code: .badGateway)
| |- warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'badGateway' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | public static let serviceUnavailable = Status(code: .serviceUnavailable)
121 | public static let gatewayTimeout = Status(code: .gatewayTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:120:25: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
118 | public static let notImplemented = Status(code: .notImplemented)
119 | public static let badGateway = Status(code: .badGateway)
120 | public static let serviceUnavailable = Status(code: .serviceUnavailable)
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'serviceUnavailable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | public static let gatewayTimeout = Status(code: .gatewayTimeout)
122 | public static let httpVersionNotSupported = Status(code: .httpVersionNotSupported)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:121:25: warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
119 | public static let badGateway = Status(code: .badGateway)
120 | public static let serviceUnavailable = Status(code: .serviceUnavailable)
121 | public static let gatewayTimeout = Status(code: .gatewayTimeout)
| |- warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gatewayTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | public static let httpVersionNotSupported = Status(code: .httpVersionNotSupported)
123 |
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:122:25: warning: static property 'httpVersionNotSupported' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
120 | public static let serviceUnavailable = Status(code: .serviceUnavailable)
121 | public static let gatewayTimeout = Status(code: .gatewayTimeout)
122 | public static let httpVersionNotSupported = Status(code: .httpVersionNotSupported)
| |- warning: static property 'httpVersionNotSupported' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'httpVersionNotSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | }
[313/314] Compiling SundayServer HTTPExchange.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPConnection.swift:241:19: warning: converting non-sendable function value to '@Sendable (Data?, NWConnection.ContentContext?, Bool, NWError?) -> Void' may introduce data races
239 | minimumIncompleteLength: minHTTPReqeustLength,
240 | maximumLength: maxHTTPChunkLength,
241 | completion: handleReceive(content:context:isComplete:error:)
| `- warning: converting non-sendable function value to '@Sendable (Data?, NWConnection.ContentContext?, Bool, NWError?) -> Void' may introduce data races
242 | )
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPConnection.swift:252:9: warning: capture of 'self' with non-sendable type 'NetworkHTTPConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 |
223 |
224 | public final class NetworkHTTPConnection: HTTPConnection {
| `- note: class 'NetworkHTTPConnection' does not conform to the 'Sendable' protocol
225 |
226 | let transport: NWConnection
:
250 | transport.send(content: data, completion: .contentProcessed { error in
251 | if let error = error {
252 | self.logger.error(
| `- warning: capture of 'self' with non-sendable type 'NetworkHTTPConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
253 | "send error while '\(context, privacy: .public)': \(error.localizedDescription, privacy: .public)"
254 | )
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPConnection.swift:256:7: warning: capture of 'completion' with non-sendable type '(((any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
254 | )
255 | }
256 | completion?(error)
| |- warning: capture of 'completion' with non-sendable type '(((any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
257 | })
258 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPConnection.swift:262:7: warning: capture of 'completion' with non-sendable type '(Data?, Bool, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 | override public func receive(minimum: Int, maximum: Int, completion: @escaping (Data?, Bool, Error?) -> Void) {
261 | transport.receive(minimumIncompleteLength: minimum, maximumLength: maximum) { data, _, isComplete, error in
262 | completion(data, isComplete, error)
| |- warning: capture of 'completion' with non-sendable type '(Data?, Bool, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
263 | }
264 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:71:25: warning: static property 'continue' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
69 | // 1XX
70 |
71 | public static let `continue` = Status(code: .continue)
| |- warning: static property 'continue' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'continue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let switchingProtocols = Status(code: .switchingProtocols)
73 |
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:72:25: warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
70 |
71 | public static let `continue` = Status(code: .continue)
72 | public static let switchingProtocols = Status(code: .switchingProtocols)
| |- warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'switchingProtocols' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | // 2XX
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:76:25: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
74 | // 2XX
75 |
76 | public static let ok = Status(code: .ok)
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ok' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let created = Status(code: .created)
78 | public static let accepted = Status(code: .accepted)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:77:25: warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
75 |
76 | public static let ok = Status(code: .ok)
77 | public static let created = Status(code: .created)
| |- warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'created' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let accepted = Status(code: .accepted)
79 | public static let nonAuthoritativeInformation = Status(code: .nonAuthoritativeInformation)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:78:25: warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
76 | public static let ok = Status(code: .ok)
77 | public static let created = Status(code: .created)
78 | public static let accepted = Status(code: .accepted)
| |- warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accepted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let nonAuthoritativeInformation = Status(code: .nonAuthoritativeInformation)
80 | public static let noContent = Status(code: .noContent)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:79:25: warning: static property 'nonAuthoritativeInformation' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
77 | public static let created = Status(code: .created)
78 | public static let accepted = Status(code: .accepted)
79 | public static let nonAuthoritativeInformation = Status(code: .nonAuthoritativeInformation)
| |- warning: static property 'nonAuthoritativeInformation' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nonAuthoritativeInformation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let noContent = Status(code: .noContent)
81 | public static let resetContent = Status(code: .resetContent)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:80:25: warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
78 | public static let accepted = Status(code: .accepted)
79 | public static let nonAuthoritativeInformation = Status(code: .nonAuthoritativeInformation)
80 | public static let noContent = Status(code: .noContent)
| |- warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let resetContent = Status(code: .resetContent)
82 | public static let partialContent = Status(code: .partialContent)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:81:25: warning: static property 'resetContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
79 | public static let nonAuthoritativeInformation = Status(code: .nonAuthoritativeInformation)
80 | public static let noContent = Status(code: .noContent)
81 | public static let resetContent = Status(code: .resetContent)
| |- warning: static property 'resetContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resetContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let partialContent = Status(code: .partialContent)
83 |
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:82:25: warning: static property 'partialContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
80 | public static let noContent = Status(code: .noContent)
81 | public static let resetContent = Status(code: .resetContent)
82 | public static let partialContent = Status(code: .partialContent)
| |- warning: static property 'partialContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'partialContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 |
84 | // 3XX
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:86:25: warning: static property 'multipleChoices' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
84 | // 3XX
85 |
86 | public static let multipleChoices = Status(code: .multipleChoices)
| |- warning: static property 'multipleChoices' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multipleChoices' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let movedPermanently = Status(code: .movedPermanently)
88 | public static let found = Status(code: .found)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:87:25: warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
85 |
86 | public static let multipleChoices = Status(code: .multipleChoices)
87 | public static let movedPermanently = Status(code: .movedPermanently)
| |- warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'movedPermanently' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let found = Status(code: .found)
89 | public static let seeOther = Status(code: .seeOther)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:88:25: warning: static property 'found' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
86 | public static let multipleChoices = Status(code: .multipleChoices)
87 | public static let movedPermanently = Status(code: .movedPermanently)
88 | public static let found = Status(code: .found)
| |- warning: static property 'found' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'found' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let seeOther = Status(code: .seeOther)
90 | public static let notModified = Status(code: .notModified)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:89:25: warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
87 | public static let movedPermanently = Status(code: .movedPermanently)
88 | public static let found = Status(code: .found)
89 | public static let seeOther = Status(code: .seeOther)
| |- warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'seeOther' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let notModified = Status(code: .notModified)
91 | public static let useProxy = Status(code: .useProxy)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:90:25: warning: static property 'notModified' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
88 | public static let found = Status(code: .found)
89 | public static let seeOther = Status(code: .seeOther)
90 | public static let notModified = Status(code: .notModified)
| |- warning: static property 'notModified' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notModified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let useProxy = Status(code: .useProxy)
92 | public static let temporaryRedirect = Status(code: .temporaryRedirect)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:91:25: warning: static property 'useProxy' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
89 | public static let seeOther = Status(code: .seeOther)
90 | public static let notModified = Status(code: .notModified)
91 | public static let useProxy = Status(code: .useProxy)
| |- warning: static property 'useProxy' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useProxy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let temporaryRedirect = Status(code: .temporaryRedirect)
93 |
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:92:25: warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
90 | public static let notModified = Status(code: .notModified)
91 | public static let useProxy = Status(code: .useProxy)
92 | public static let temporaryRedirect = Status(code: .temporaryRedirect)
| |- warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'temporaryRedirect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | // 4XX
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:96:25: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
94 | // 4XX
95 |
96 | public static let badRequest = Status(code: .badRequest)
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'badRequest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | public static let unauthenticated = Status(code: .unauthenticated)
98 | public static let paymentRequired = Status(code: .paymentRequired)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:97:25: warning: static property 'unauthenticated' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
95 |
96 | public static let badRequest = Status(code: .badRequest)
97 | public static let unauthenticated = Status(code: .unauthenticated)
| |- warning: static property 'unauthenticated' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unauthenticated' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | public static let paymentRequired = Status(code: .paymentRequired)
99 | public static let forbidden = Status(code: .forbidden)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:98:25: warning: static property 'paymentRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
96 | public static let badRequest = Status(code: .badRequest)
97 | public static let unauthenticated = Status(code: .unauthenticated)
98 | public static let paymentRequired = Status(code: .paymentRequired)
| |- warning: static property 'paymentRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'paymentRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | public static let forbidden = Status(code: .forbidden)
100 | public static let notFound = Status(code: .notFound)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:99:25: warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
97 | public static let unauthenticated = Status(code: .unauthenticated)
98 | public static let paymentRequired = Status(code: .paymentRequired)
99 | public static let forbidden = Status(code: .forbidden)
| |- warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forbidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | public static let notFound = Status(code: .notFound)
101 | public static let methodNotAllowed = Status(code: .methodNotAllowed)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:100:25: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
98 | public static let paymentRequired = Status(code: .paymentRequired)
99 | public static let forbidden = Status(code: .forbidden)
100 | public static let notFound = Status(code: .notFound)
| |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notFound' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | public static let methodNotAllowed = Status(code: .methodNotAllowed)
102 | public static let notAcceptable = Status(code: .notAcceptable)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:101:25: warning: static property 'methodNotAllowed' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
99 | public static let forbidden = Status(code: .forbidden)
100 | public static let notFound = Status(code: .notFound)
101 | public static let methodNotAllowed = Status(code: .methodNotAllowed)
| |- warning: static property 'methodNotAllowed' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodNotAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | public static let notAcceptable = Status(code: .notAcceptable)
103 | public static let proxyAuthenticationRequired = Status(code: .proxyAuthenticationRequired)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:102:25: warning: static property 'notAcceptable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
100 | public static let notFound = Status(code: .notFound)
101 | public static let methodNotAllowed = Status(code: .methodNotAllowed)
102 | public static let notAcceptable = Status(code: .notAcceptable)
| |- warning: static property 'notAcceptable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notAcceptable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | public static let proxyAuthenticationRequired = Status(code: .proxyAuthenticationRequired)
104 | public static let requestTimeout = Status(code: .requestTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:103:25: warning: static property 'proxyAuthenticationRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
101 | public static let methodNotAllowed = Status(code: .methodNotAllowed)
102 | public static let notAcceptable = Status(code: .notAcceptable)
103 | public static let proxyAuthenticationRequired = Status(code: .proxyAuthenticationRequired)
| |- warning: static property 'proxyAuthenticationRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proxyAuthenticationRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | public static let requestTimeout = Status(code: .requestTimeout)
105 | public static let conflict = Status(code: .conflict)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:104:25: warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
102 | public static let notAcceptable = Status(code: .notAcceptable)
103 | public static let proxyAuthenticationRequired = Status(code: .proxyAuthenticationRequired)
104 | public static let requestTimeout = Status(code: .requestTimeout)
| |- warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'requestTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let conflict = Status(code: .conflict)
106 | public static let gone = Status(code: .gone)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:105:25: warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
103 | public static let proxyAuthenticationRequired = Status(code: .proxyAuthenticationRequired)
104 | public static let requestTimeout = Status(code: .requestTimeout)
105 | public static let conflict = Status(code: .conflict)
| |- warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'conflict' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let gone = Status(code: .gone)
107 | public static let lengthRequired = Status(code: .lengthRequired)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:106:25: warning: static property 'gone' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
104 | public static let requestTimeout = Status(code: .requestTimeout)
105 | public static let conflict = Status(code: .conflict)
106 | public static let gone = Status(code: .gone)
| |- warning: static property 'gone' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gone' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let lengthRequired = Status(code: .lengthRequired)
108 | public static let preconditionFailed = Status(code: .preconditionFailed)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:107:25: warning: static property 'lengthRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
105 | public static let conflict = Status(code: .conflict)
106 | public static let gone = Status(code: .gone)
107 | public static let lengthRequired = Status(code: .lengthRequired)
| |- warning: static property 'lengthRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lengthRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let preconditionFailed = Status(code: .preconditionFailed)
109 | public static let requestEntityTooLarge = Status(code: .requestEntityTooLarge)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:108:25: warning: static property 'preconditionFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
106 | public static let gone = Status(code: .gone)
107 | public static let lengthRequired = Status(code: .lengthRequired)
108 | public static let preconditionFailed = Status(code: .preconditionFailed)
| |- warning: static property 'preconditionFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preconditionFailed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let requestEntityTooLarge = Status(code: .requestEntityTooLarge)
110 | public static let requestUriTooLong = Status(code: .requestUriTooLong)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:109:25: warning: static property 'requestEntityTooLarge' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
107 | public static let lengthRequired = Status(code: .lengthRequired)
108 | public static let preconditionFailed = Status(code: .preconditionFailed)
109 | public static let requestEntityTooLarge = Status(code: .requestEntityTooLarge)
| |- warning: static property 'requestEntityTooLarge' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'requestEntityTooLarge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | public static let requestUriTooLong = Status(code: .requestUriTooLong)
111 | public static let unsupportedMediaType = Status(code: .unsupportedMediaType)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:110:25: warning: static property 'requestUriTooLong' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
108 | public static let preconditionFailed = Status(code: .preconditionFailed)
109 | public static let requestEntityTooLarge = Status(code: .requestEntityTooLarge)
110 | public static let requestUriTooLong = Status(code: .requestUriTooLong)
| |- warning: static property 'requestUriTooLong' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'requestUriTooLong' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | public static let unsupportedMediaType = Status(code: .unsupportedMediaType)
112 | public static let requestRangeNotSatisfiable = Status(code: .requestRangeNotSatisfiable)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:111:25: warning: static property 'unsupportedMediaType' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
109 | public static let requestEntityTooLarge = Status(code: .requestEntityTooLarge)
110 | public static let requestUriTooLong = Status(code: .requestUriTooLong)
111 | public static let unsupportedMediaType = Status(code: .unsupportedMediaType)
| |- warning: static property 'unsupportedMediaType' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unsupportedMediaType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | public static let requestRangeNotSatisfiable = Status(code: .requestRangeNotSatisfiable)
113 | public static let expectationFailed = Status(code: .expectationFailed)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:112:25: warning: static property 'requestRangeNotSatisfiable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
110 | public static let requestUriTooLong = Status(code: .requestUriTooLong)
111 | public static let unsupportedMediaType = Status(code: .unsupportedMediaType)
112 | public static let requestRangeNotSatisfiable = Status(code: .requestRangeNotSatisfiable)
| |- warning: static property 'requestRangeNotSatisfiable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'requestRangeNotSatisfiable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | public static let expectationFailed = Status(code: .expectationFailed)
114 |
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:113:25: warning: static property 'expectationFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
111 | public static let unsupportedMediaType = Status(code: .unsupportedMediaType)
112 | public static let requestRangeNotSatisfiable = Status(code: .requestRangeNotSatisfiable)
113 | public static let expectationFailed = Status(code: .expectationFailed)
| |- warning: static property 'expectationFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectationFailed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | // 5XX
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:117:25: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
115 | // 5XX
116 |
117 | public static let internalServerError = Status(code: .internalServerError)
| |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'internalServerError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | public static let notImplemented = Status(code: .notImplemented)
119 | public static let badGateway = Status(code: .badGateway)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:118:25: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
116 |
117 | public static let internalServerError = Status(code: .internalServerError)
118 | public static let notImplemented = Status(code: .notImplemented)
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notImplemented' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 | public static let badGateway = Status(code: .badGateway)
120 | public static let serviceUnavailable = Status(code: .serviceUnavailable)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:119:25: warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
117 | public static let internalServerError = Status(code: .internalServerError)
118 | public static let notImplemented = Status(code: .notImplemented)
119 | public static let badGateway = Status(code: .badGateway)
| |- warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'badGateway' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | public static let serviceUnavailable = Status(code: .serviceUnavailable)
121 | public static let gatewayTimeout = Status(code: .gatewayTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:120:25: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
118 | public static let notImplemented = Status(code: .notImplemented)
119 | public static let badGateway = Status(code: .badGateway)
120 | public static let serviceUnavailable = Status(code: .serviceUnavailable)
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'serviceUnavailable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | public static let gatewayTimeout = Status(code: .gatewayTimeout)
122 | public static let httpVersionNotSupported = Status(code: .httpVersionNotSupported)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:121:25: warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
119 | public static let badGateway = Status(code: .badGateway)
120 | public static let serviceUnavailable = Status(code: .serviceUnavailable)
121 | public static let gatewayTimeout = Status(code: .gatewayTimeout)
| |- warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gatewayTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | public static let httpVersionNotSupported = Status(code: .httpVersionNotSupported)
123 |
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:122:25: warning: static property 'httpVersionNotSupported' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
120 | public static let serviceUnavailable = Status(code: .serviceUnavailable)
121 | public static let gatewayTimeout = Status(code: .gatewayTimeout)
122 | public static let httpVersionNotSupported = Status(code: .httpVersionNotSupported)
| |- warning: static property 'httpVersionNotSupported' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'httpVersionNotSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | }
[314/314] Emitting module SundayServer
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:71:25: warning: static property 'continue' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
69 | // 1XX
70 |
71 | public static let `continue` = Status(code: .continue)
| |- warning: static property 'continue' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'continue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let switchingProtocols = Status(code: .switchingProtocols)
73 |
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:72:25: warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
70 |
71 | public static let `continue` = Status(code: .continue)
72 | public static let switchingProtocols = Status(code: .switchingProtocols)
| |- warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'switchingProtocols' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | // 2XX
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:76:25: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
74 | // 2XX
75 |
76 | public static let ok = Status(code: .ok)
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ok' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let created = Status(code: .created)
78 | public static let accepted = Status(code: .accepted)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:77:25: warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
75 |
76 | public static let ok = Status(code: .ok)
77 | public static let created = Status(code: .created)
| |- warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'created' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let accepted = Status(code: .accepted)
79 | public static let nonAuthoritativeInformation = Status(code: .nonAuthoritativeInformation)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:78:25: warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
76 | public static let ok = Status(code: .ok)
77 | public static let created = Status(code: .created)
78 | public static let accepted = Status(code: .accepted)
| |- warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accepted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let nonAuthoritativeInformation = Status(code: .nonAuthoritativeInformation)
80 | public static let noContent = Status(code: .noContent)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:79:25: warning: static property 'nonAuthoritativeInformation' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
77 | public static let created = Status(code: .created)
78 | public static let accepted = Status(code: .accepted)
79 | public static let nonAuthoritativeInformation = Status(code: .nonAuthoritativeInformation)
| |- warning: static property 'nonAuthoritativeInformation' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nonAuthoritativeInformation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let noContent = Status(code: .noContent)
81 | public static let resetContent = Status(code: .resetContent)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:80:25: warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
78 | public static let accepted = Status(code: .accepted)
79 | public static let nonAuthoritativeInformation = Status(code: .nonAuthoritativeInformation)
80 | public static let noContent = Status(code: .noContent)
| |- warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let resetContent = Status(code: .resetContent)
82 | public static let partialContent = Status(code: .partialContent)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:81:25: warning: static property 'resetContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
79 | public static let nonAuthoritativeInformation = Status(code: .nonAuthoritativeInformation)
80 | public static let noContent = Status(code: .noContent)
81 | public static let resetContent = Status(code: .resetContent)
| |- warning: static property 'resetContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resetContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let partialContent = Status(code: .partialContent)
83 |
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:82:25: warning: static property 'partialContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
80 | public static let noContent = Status(code: .noContent)
81 | public static let resetContent = Status(code: .resetContent)
82 | public static let partialContent = Status(code: .partialContent)
| |- warning: static property 'partialContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'partialContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 |
84 | // 3XX
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:86:25: warning: static property 'multipleChoices' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
84 | // 3XX
85 |
86 | public static let multipleChoices = Status(code: .multipleChoices)
| |- warning: static property 'multipleChoices' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multipleChoices' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let movedPermanently = Status(code: .movedPermanently)
88 | public static let found = Status(code: .found)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:87:25: warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
85 |
86 | public static let multipleChoices = Status(code: .multipleChoices)
87 | public static let movedPermanently = Status(code: .movedPermanently)
| |- warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'movedPermanently' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let found = Status(code: .found)
89 | public static let seeOther = Status(code: .seeOther)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:88:25: warning: static property 'found' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
86 | public static let multipleChoices = Status(code: .multipleChoices)
87 | public static let movedPermanently = Status(code: .movedPermanently)
88 | public static let found = Status(code: .found)
| |- warning: static property 'found' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'found' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let seeOther = Status(code: .seeOther)
90 | public static let notModified = Status(code: .notModified)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:89:25: warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
87 | public static let movedPermanently = Status(code: .movedPermanently)
88 | public static let found = Status(code: .found)
89 | public static let seeOther = Status(code: .seeOther)
| |- warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'seeOther' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let notModified = Status(code: .notModified)
91 | public static let useProxy = Status(code: .useProxy)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:90:25: warning: static property 'notModified' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
88 | public static let found = Status(code: .found)
89 | public static let seeOther = Status(code: .seeOther)
90 | public static let notModified = Status(code: .notModified)
| |- warning: static property 'notModified' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notModified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let useProxy = Status(code: .useProxy)
92 | public static let temporaryRedirect = Status(code: .temporaryRedirect)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:91:25: warning: static property 'useProxy' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
89 | public static let seeOther = Status(code: .seeOther)
90 | public static let notModified = Status(code: .notModified)
91 | public static let useProxy = Status(code: .useProxy)
| |- warning: static property 'useProxy' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useProxy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let temporaryRedirect = Status(code: .temporaryRedirect)
93 |
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:92:25: warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
90 | public static let notModified = Status(code: .notModified)
91 | public static let useProxy = Status(code: .useProxy)
92 | public static let temporaryRedirect = Status(code: .temporaryRedirect)
| |- warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'temporaryRedirect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | // 4XX
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:96:25: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
94 | // 4XX
95 |
96 | public static let badRequest = Status(code: .badRequest)
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'badRequest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | public static let unauthenticated = Status(code: .unauthenticated)
98 | public static let paymentRequired = Status(code: .paymentRequired)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:97:25: warning: static property 'unauthenticated' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
95 |
96 | public static let badRequest = Status(code: .badRequest)
97 | public static let unauthenticated = Status(code: .unauthenticated)
| |- warning: static property 'unauthenticated' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unauthenticated' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | public static let paymentRequired = Status(code: .paymentRequired)
99 | public static let forbidden = Status(code: .forbidden)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:98:25: warning: static property 'paymentRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
96 | public static let badRequest = Status(code: .badRequest)
97 | public static let unauthenticated = Status(code: .unauthenticated)
98 | public static let paymentRequired = Status(code: .paymentRequired)
| |- warning: static property 'paymentRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'paymentRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | public static let forbidden = Status(code: .forbidden)
100 | public static let notFound = Status(code: .notFound)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:99:25: warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
97 | public static let unauthenticated = Status(code: .unauthenticated)
98 | public static let paymentRequired = Status(code: .paymentRequired)
99 | public static let forbidden = Status(code: .forbidden)
| |- warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forbidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | public static let notFound = Status(code: .notFound)
101 | public static let methodNotAllowed = Status(code: .methodNotAllowed)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:100:25: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
98 | public static let paymentRequired = Status(code: .paymentRequired)
99 | public static let forbidden = Status(code: .forbidden)
100 | public static let notFound = Status(code: .notFound)
| |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notFound' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | public static let methodNotAllowed = Status(code: .methodNotAllowed)
102 | public static let notAcceptable = Status(code: .notAcceptable)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:101:25: warning: static property 'methodNotAllowed' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
99 | public static let forbidden = Status(code: .forbidden)
100 | public static let notFound = Status(code: .notFound)
101 | public static let methodNotAllowed = Status(code: .methodNotAllowed)
| |- warning: static property 'methodNotAllowed' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodNotAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | public static let notAcceptable = Status(code: .notAcceptable)
103 | public static let proxyAuthenticationRequired = Status(code: .proxyAuthenticationRequired)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:102:25: warning: static property 'notAcceptable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
100 | public static let notFound = Status(code: .notFound)
101 | public static let methodNotAllowed = Status(code: .methodNotAllowed)
102 | public static let notAcceptable = Status(code: .notAcceptable)
| |- warning: static property 'notAcceptable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notAcceptable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | public static let proxyAuthenticationRequired = Status(code: .proxyAuthenticationRequired)
104 | public static let requestTimeout = Status(code: .requestTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:103:25: warning: static property 'proxyAuthenticationRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
101 | public static let methodNotAllowed = Status(code: .methodNotAllowed)
102 | public static let notAcceptable = Status(code: .notAcceptable)
103 | public static let proxyAuthenticationRequired = Status(code: .proxyAuthenticationRequired)
| |- warning: static property 'proxyAuthenticationRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proxyAuthenticationRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | public static let requestTimeout = Status(code: .requestTimeout)
105 | public static let conflict = Status(code: .conflict)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:104:25: warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
102 | public static let notAcceptable = Status(code: .notAcceptable)
103 | public static let proxyAuthenticationRequired = Status(code: .proxyAuthenticationRequired)
104 | public static let requestTimeout = Status(code: .requestTimeout)
| |- warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'requestTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let conflict = Status(code: .conflict)
106 | public static let gone = Status(code: .gone)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:105:25: warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
103 | public static let proxyAuthenticationRequired = Status(code: .proxyAuthenticationRequired)
104 | public static let requestTimeout = Status(code: .requestTimeout)
105 | public static let conflict = Status(code: .conflict)
| |- warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'conflict' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let gone = Status(code: .gone)
107 | public static let lengthRequired = Status(code: .lengthRequired)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:106:25: warning: static property 'gone' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
104 | public static let requestTimeout = Status(code: .requestTimeout)
105 | public static let conflict = Status(code: .conflict)
106 | public static let gone = Status(code: .gone)
| |- warning: static property 'gone' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gone' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let lengthRequired = Status(code: .lengthRequired)
108 | public static let preconditionFailed = Status(code: .preconditionFailed)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:107:25: warning: static property 'lengthRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
105 | public static let conflict = Status(code: .conflict)
106 | public static let gone = Status(code: .gone)
107 | public static let lengthRequired = Status(code: .lengthRequired)
| |- warning: static property 'lengthRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lengthRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public static let preconditionFailed = Status(code: .preconditionFailed)
109 | public static let requestEntityTooLarge = Status(code: .requestEntityTooLarge)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:108:25: warning: static property 'preconditionFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
106 | public static let gone = Status(code: .gone)
107 | public static let lengthRequired = Status(code: .lengthRequired)
108 | public static let preconditionFailed = Status(code: .preconditionFailed)
| |- warning: static property 'preconditionFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preconditionFailed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public static let requestEntityTooLarge = Status(code: .requestEntityTooLarge)
110 | public static let requestUriTooLong = Status(code: .requestUriTooLong)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:109:25: warning: static property 'requestEntityTooLarge' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
107 | public static let lengthRequired = Status(code: .lengthRequired)
108 | public static let preconditionFailed = Status(code: .preconditionFailed)
109 | public static let requestEntityTooLarge = Status(code: .requestEntityTooLarge)
| |- warning: static property 'requestEntityTooLarge' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'requestEntityTooLarge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | public static let requestUriTooLong = Status(code: .requestUriTooLong)
111 | public static let unsupportedMediaType = Status(code: .unsupportedMediaType)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:110:25: warning: static property 'requestUriTooLong' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
108 | public static let preconditionFailed = Status(code: .preconditionFailed)
109 | public static let requestEntityTooLarge = Status(code: .requestEntityTooLarge)
110 | public static let requestUriTooLong = Status(code: .requestUriTooLong)
| |- warning: static property 'requestUriTooLong' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'requestUriTooLong' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | public static let unsupportedMediaType = Status(code: .unsupportedMediaType)
112 | public static let requestRangeNotSatisfiable = Status(code: .requestRangeNotSatisfiable)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:111:25: warning: static property 'unsupportedMediaType' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
109 | public static let requestEntityTooLarge = Status(code: .requestEntityTooLarge)
110 | public static let requestUriTooLong = Status(code: .requestUriTooLong)
111 | public static let unsupportedMediaType = Status(code: .unsupportedMediaType)
| |- warning: static property 'unsupportedMediaType' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unsupportedMediaType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | public static let requestRangeNotSatisfiable = Status(code: .requestRangeNotSatisfiable)
113 | public static let expectationFailed = Status(code: .expectationFailed)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:112:25: warning: static property 'requestRangeNotSatisfiable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
110 | public static let requestUriTooLong = Status(code: .requestUriTooLong)
111 | public static let unsupportedMediaType = Status(code: .unsupportedMediaType)
112 | public static let requestRangeNotSatisfiable = Status(code: .requestRangeNotSatisfiable)
| |- warning: static property 'requestRangeNotSatisfiable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'requestRangeNotSatisfiable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | public static let expectationFailed = Status(code: .expectationFailed)
114 |
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:113:25: warning: static property 'expectationFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
111 | public static let unsupportedMediaType = Status(code: .unsupportedMediaType)
112 | public static let requestRangeNotSatisfiable = Status(code: .requestRangeNotSatisfiable)
113 | public static let expectationFailed = Status(code: .expectationFailed)
| |- warning: static property 'expectationFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectationFailed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | // 5XX
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:117:25: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
115 | // 5XX
116 |
117 | public static let internalServerError = Status(code: .internalServerError)
| |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'internalServerError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | public static let notImplemented = Status(code: .notImplemented)
119 | public static let badGateway = Status(code: .badGateway)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:118:25: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
116 |
117 | public static let internalServerError = Status(code: .internalServerError)
118 | public static let notImplemented = Status(code: .notImplemented)
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notImplemented' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 | public static let badGateway = Status(code: .badGateway)
120 | public static let serviceUnavailable = Status(code: .serviceUnavailable)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:119:25: warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
117 | public static let internalServerError = Status(code: .internalServerError)
118 | public static let notImplemented = Status(code: .notImplemented)
119 | public static let badGateway = Status(code: .badGateway)
| |- warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'badGateway' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | public static let serviceUnavailable = Status(code: .serviceUnavailable)
121 | public static let gatewayTimeout = Status(code: .gatewayTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:120:25: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
118 | public static let notImplemented = Status(code: .notImplemented)
119 | public static let badGateway = Status(code: .badGateway)
120 | public static let serviceUnavailable = Status(code: .serviceUnavailable)
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'serviceUnavailable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | public static let gatewayTimeout = Status(code: .gatewayTimeout)
122 | public static let httpVersionNotSupported = Status(code: .httpVersionNotSupported)
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:121:25: warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
119 | public static let badGateway = Status(code: .badGateway)
120 | public static let serviceUnavailable = Status(code: .serviceUnavailable)
121 | public static let gatewayTimeout = Status(code: .gatewayTimeout)
| |- warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gatewayTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | public static let httpVersionNotSupported = Status(code: .httpVersionNotSupported)
123 |
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/HTTPExchange.swift:122:25: warning: static property 'httpVersionNotSupported' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
50 | struct Response {
51 |
52 | public struct Status: CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
53 | public let code: Int
54 | public let info: String
:
120 | public static let serviceUnavailable = Status(code: .serviceUnavailable)
121 | public static let gatewayTimeout = Status(code: .gatewayTimeout)
122 | public static let httpVersionNotSupported = Status(code: .httpVersionNotSupported)
| |- warning: static property 'httpVersionNotSupported' is not concurrency-safe because non-'Sendable' type 'HTTP.Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'httpVersionNotSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/RoutablePath.swift:55:22: warning: static property 'variableMatcher' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | private static let variableMatcher = Regex(#"\{([_a-zA-Z][_a-zA-Z0-9]*)\}?"#)
| `- warning: static property 'variableMatcher' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | private static func pathVariableNames(for template: String) -> [String] {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: struct 'Regex' does not conform to the 'Sendable' protocol
4 | // MARK: Initialisation
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SundayServer/RoutablePath.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
16 |
17 | import Foundation
18 | import struct Regex.Regex
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
19 | import Sunday
20 |
:
53 | }
54 |
55 | private static let variableMatcher = Regex(#"\{([_a-zA-Z][_a-zA-Z0-9]*)\}?"#)
| |- note: annotate 'variableMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | private static func pathVariableNames(for template: String) -> [String] {
Build complete! (72.60s)
Build complete.
{
"dependencies" : [
{
"identity" : "potentcodables",
"requirement" : {
"range" : [
{
"lower_bound" : "3.2.0",
"upper_bound" : "3.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/outfoxx/PotentCodables.git"
},
{
"identity" : "regex",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "2.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sharplet/Regex.git"
},
{
"identity" : "uritemplate",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "2.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftScream/URITemplate.git"
},
{
"identity" : "asyncobjects",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "2.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftyLab/AsyncObjects.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "Sunday",
"name" : "Sunday",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "Sunday",
"targets" : [
"Sunday"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SundayServer",
"targets" : [
"SundayServer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SundayTests",
"module_type" : "SwiftTarget",
"name" : "SundayTests",
"path" : "Tests/SundayTests",
"sources" : [
"DataTaskStreamPublisherTests.swift",
"DateExts.swift",
"ErrorTests.swift",
"EventParserTests.swift",
"EventSourceTests.swift",
"GeneratedAPITests.swift",
"HeaderParametersTests.swift",
"MediaTypeCodecTests.swift",
"MediaTypeTests.swift",
"NetworkRequestAdapterTests.swift",
"NetworkRequestFactoryTests.swift",
"PatchTests.swift",
"ProblemTests.swift",
"ResponseDecodingTests.swift",
"ServerTests.swift",
"URITemplatesTests.swift",
"URITests.swift",
"URLRequestTests.swift",
"WWWFormURLEncoderTests.swift",
"XCTestCases.swift",
"XCTestUtils.swift"
],
"target_dependencies" : [
"Sunday",
"SundayServer"
],
"type" : "test"
},
{
"c99name" : "SundayServer",
"module_type" : "SwiftTarget",
"name" : "SundayServer",
"path" : "Sources/SundayServer",
"product_memberships" : [
"SundayServer"
],
"sources" : [
"HTTPConnection.swift",
"HTTPExchange.swift",
"HTTPHeaderParser.swift",
"HTTPRequest.swift",
"HTTPResponse.swift",
"HTTPServer.swift",
"Logging.swift",
"Routable.swift",
"RoutableContentNegotiation.swift",
"RoutableDebug.swift",
"RoutableMethod.swift",
"RoutableParam.swift",
"RoutablePath.swift",
"RoutableQueues.swift",
"RoutableRequestDecoding.swift",
"RoutableResponseEncoding.swift",
"RoutingHTTPServer.swift"
],
"target_dependencies" : [
"Sunday"
],
"type" : "library"
},
{
"c99name" : "Sunday",
"module_type" : "SwiftTarget",
"name" : "Sunday",
"path" : "Sources/Sunday",
"product_dependencies" : [
"Regex",
"PotentCodables",
"URITemplate",
"AsyncObjects"
],
"product_memberships" : [
"Sunday",
"SundayServer"
],
"sources" : [
"AnyTextMediaTypeDecodable.swift",
"CharSets.swift",
"CustomHeaderConvertible.swift",
"Description.swift",
"DispatchTimeIntervals.swift",
"Empty.swift",
"Errors.swift",
"EventParser.swift",
"EventSource.swift",
"HTTP.swift",
"HeaderParameters.swift",
"Logging.swift",
"MediaType.swift",
"MediaTypeDecoders.swift",
"MediaTypeEncoders.swift",
"NetworkRequestAdapter.swift",
"NetworkRequestAdapters.swift",
"NetworkRequestFactory.swift",
"NetworkSession.swift",
"NetworkSessionDelegate.swift",
"Patching.swift",
"PathEncodable.swift",
"PathEncoders.swift",
"Problem.swift",
"RequestFactory.swift",
"ResponseHelpers.swift",
"ResultResponse.swift",
"ServerTrustPolicyManager.swift",
"ServiceLocator.swift",
"URI.swift",
"URITemplate.swift",
"URLRequests.swift",
"URLSessionConfigurations.swift",
"WWWFormURLEncoder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.