Build Information
Successful build of Telegraph with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 127
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
52 | static let upgrade = HTTPHeaderName("Upgrade")
| |- warning: static property 'upgrade' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'upgrade' 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
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPVersion.swift:22:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct HTTPVersion {
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
12 | public let major: UInt
13 | public let minor: UInt
:
20 |
21 | public extension HTTPVersion {
22 | static let `default` = HTTPVersion(major: 1, minor: 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:14:14: warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
12 |
13 | public extension HTTPMethod {
14 | static let GET = HTTPMethod(name: "GET")
| |- warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GET' 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
15 | static let HEAD = HTTPMethod(name: "HEAD")
16 | static let DELETE = HTTPMethod(name: "DELETE")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:15:14: warning: static property 'HEAD' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
:
13 | public extension HTTPMethod {
14 | static let GET = HTTPMethod(name: "GET")
15 | static let HEAD = HTTPMethod(name: "HEAD")
| |- warning: static property 'HEAD' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'HEAD' 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
16 | static let DELETE = HTTPMethod(name: "DELETE")
17 | static let POST = HTTPMethod(name: "POST")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:16:14: warning: static property 'DELETE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
:
14 | static let GET = HTTPMethod(name: "GET")
15 | static let HEAD = HTTPMethod(name: "HEAD")
16 | static let DELETE = HTTPMethod(name: "DELETE")
| |- warning: static property 'DELETE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DELETE' 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
17 | static let POST = HTTPMethod(name: "POST")
18 | static let PUT = HTTPMethod(name: "PUT")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:17:14: warning: static property 'POST' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
:
15 | static let HEAD = HTTPMethod(name: "HEAD")
16 | static let DELETE = HTTPMethod(name: "DELETE")
17 | static let POST = HTTPMethod(name: "POST")
| |- warning: static property 'POST' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'POST' 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
18 | static let PUT = HTTPMethod(name: "PUT")
19 | static let OPTIONS = HTTPMethod(name: "OPTIONS")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:18:14: warning: static property 'PUT' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
:
16 | static let DELETE = HTTPMethod(name: "DELETE")
17 | static let POST = HTTPMethod(name: "POST")
18 | static let PUT = HTTPMethod(name: "PUT")
| |- warning: static property 'PUT' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PUT' 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
19 | static let OPTIONS = HTTPMethod(name: "OPTIONS")
20 | static let CONNECT = HTTPMethod(name: "CONNECT")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:19:14: warning: static property 'OPTIONS' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
:
17 | static let POST = HTTPMethod(name: "POST")
18 | static let PUT = HTTPMethod(name: "PUT")
19 | static let OPTIONS = HTTPMethod(name: "OPTIONS")
| |- warning: static property 'OPTIONS' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'OPTIONS' 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
20 | static let CONNECT = HTTPMethod(name: "CONNECT")
21 | static let TRACE = HTTPMethod(name: "TRACE")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:20:14: warning: static property 'CONNECT' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
:
18 | static let PUT = HTTPMethod(name: "PUT")
19 | static let OPTIONS = HTTPMethod(name: "OPTIONS")
20 | static let CONNECT = HTTPMethod(name: "CONNECT")
| |- warning: static property 'CONNECT' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CONNECT' 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
21 | static let TRACE = HTTPMethod(name: "TRACE")
22 | static let PATCH = HTTPMethod(name: "PATCH")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:21:14: warning: static property 'TRACE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
:
19 | static let OPTIONS = HTTPMethod(name: "OPTIONS")
20 | static let CONNECT = HTTPMethod(name: "CONNECT")
21 | static let TRACE = HTTPMethod(name: "TRACE")
| |- warning: static property 'TRACE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TRACE' 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
22 | static let PATCH = HTTPMethod(name: "PATCH")
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:22:14: warning: static property 'PATCH' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
:
20 | static let CONNECT = HTTPMethod(name: "CONNECT")
21 | static let TRACE = HTTPMethod(name: "TRACE")
22 | static let PATCH = HTTPMethod(name: "PATCH")
| |- warning: static property 'PATCH' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PATCH' 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
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Transport/URI.swift:90:14: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'URI' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct URI: Hashable, Equatable {
| `- note: consider making struct 'URI' conform to the 'Sendable' protocol
12 | private var components: URLComponents
13 |
:
88 | public extension URI {
89 | /// Returns a URI indicating the root.
90 | static let root = URI(path: "/")
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'URI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'root' 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 |
92 | /// Returns the part of the path that doesn't overlap.
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:101:14: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
99 | public extension HTTPStatus {
100 | /// 200 OK: standard response for successful HTTP requests.
101 | static let ok = HTTPStatus(code: 200, phrase: "OK")
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
102 |
103 | /// 201 Created: request has been fulfilled, resulting in the creation of a new resource.
[67/74] Compiling Telegraph HTTPRequest+Host.swift
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:12:14: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension HTTPHeaderName {
12 | static let accept = HTTPHeaderName("Accept")
| |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accept' 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
13 | static let acceptCharset = HTTPHeaderName("Accept-Charset")
14 | static let acceptEncoding = HTTPHeaderName("Accept-Encoding")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:13:14: warning: static property 'acceptCharset' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension HTTPHeaderName {
12 | static let accept = HTTPHeaderName("Accept")
13 | static let acceptCharset = HTTPHeaderName("Accept-Charset")
| |- warning: static property 'acceptCharset' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acceptCharset' 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
14 | static let acceptEncoding = HTTPHeaderName("Accept-Encoding")
15 | static let acceptLanguage = HTTPHeaderName("Accept-Language")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:14:14: warning: static property 'acceptEncoding' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let accept = HTTPHeaderName("Accept")
13 | static let acceptCharset = HTTPHeaderName("Accept-Charset")
14 | static let acceptEncoding = HTTPHeaderName("Accept-Encoding")
| |- warning: static property 'acceptEncoding' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acceptEncoding' 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
15 | static let acceptLanguage = HTTPHeaderName("Accept-Language")
16 | static let acceptRanges = HTTPHeaderName("Accept-Ranges")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:15:14: warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
13 | static let acceptCharset = HTTPHeaderName("Accept-Charset")
14 | static let acceptEncoding = HTTPHeaderName("Accept-Encoding")
15 | static let acceptLanguage = HTTPHeaderName("Accept-Language")
| |- warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acceptLanguage' 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
16 | static let acceptRanges = HTTPHeaderName("Accept-Ranges")
17 | static let accessControlAllowOrigin = HTTPHeaderName("Access-Control-Allow-Origin")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:16:14: warning: static property 'acceptRanges' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
14 | static let acceptEncoding = HTTPHeaderName("Accept-Encoding")
15 | static let acceptLanguage = HTTPHeaderName("Accept-Language")
16 | static let acceptRanges = HTTPHeaderName("Accept-Ranges")
| |- warning: static property 'acceptRanges' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acceptRanges' 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
17 | static let accessControlAllowOrigin = HTTPHeaderName("Access-Control-Allow-Origin")
18 | static let accessControlAllowHeaders = HTTPHeaderName("Access-Control-Allow-Headers")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:17:14: warning: static property 'accessControlAllowOrigin' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
15 | static let acceptLanguage = HTTPHeaderName("Accept-Language")
16 | static let acceptRanges = HTTPHeaderName("Accept-Ranges")
17 | static let accessControlAllowOrigin = HTTPHeaderName("Access-Control-Allow-Origin")
| |- warning: static property 'accessControlAllowOrigin' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accessControlAllowOrigin' 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
18 | static let accessControlAllowHeaders = HTTPHeaderName("Access-Control-Allow-Headers")
19 | static let accessControlAllowMethods = HTTPHeaderName("Access-Control-Allow-Methods")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:18:14: warning: static property 'accessControlAllowHeaders' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let acceptRanges = HTTPHeaderName("Accept-Ranges")
17 | static let accessControlAllowOrigin = HTTPHeaderName("Access-Control-Allow-Origin")
18 | static let accessControlAllowHeaders = HTTPHeaderName("Access-Control-Allow-Headers")
| |- warning: static property 'accessControlAllowHeaders' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accessControlAllowHeaders' 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
19 | static let accessControlAllowMethods = HTTPHeaderName("Access-Control-Allow-Methods")
20 | static let accessControlMaxAge = HTTPHeaderName("Access-Control-Max-Age")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:19:14: warning: static property 'accessControlAllowMethods' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let accessControlAllowOrigin = HTTPHeaderName("Access-Control-Allow-Origin")
18 | static let accessControlAllowHeaders = HTTPHeaderName("Access-Control-Allow-Headers")
19 | static let accessControlAllowMethods = HTTPHeaderName("Access-Control-Allow-Methods")
| |- warning: static property 'accessControlAllowMethods' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accessControlAllowMethods' 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
20 | static let accessControlMaxAge = HTTPHeaderName("Access-Control-Max-Age")
21 | static let age = HTTPHeaderName("Age")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:20:14: warning: static property 'accessControlMaxAge' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let accessControlAllowHeaders = HTTPHeaderName("Access-Control-Allow-Headers")
19 | static let accessControlAllowMethods = HTTPHeaderName("Access-Control-Allow-Methods")
20 | static let accessControlMaxAge = HTTPHeaderName("Access-Control-Max-Age")
| |- warning: static property 'accessControlMaxAge' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accessControlMaxAge' 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
21 | static let age = HTTPHeaderName("Age")
22 | static let allow = HTTPHeaderName("Allow")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:21:14: warning: static property 'age' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let accessControlAllowMethods = HTTPHeaderName("Access-Control-Allow-Methods")
20 | static let accessControlMaxAge = HTTPHeaderName("Access-Control-Max-Age")
21 | static let age = HTTPHeaderName("Age")
| |- warning: static property 'age' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'age' 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
22 | static let allow = HTTPHeaderName("Allow")
23 | static let authorization = HTTPHeaderName("Authorization")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:22:14: warning: static property 'allow' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let accessControlMaxAge = HTTPHeaderName("Access-Control-Max-Age")
21 | static let age = HTTPHeaderName("Age")
22 | static let allow = HTTPHeaderName("Allow")
| |- warning: static property 'allow' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allow' 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
23 | static let authorization = HTTPHeaderName("Authorization")
24 | static let cacheControl = HTTPHeaderName("Cache-Control")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:23:14: warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let age = HTTPHeaderName("Age")
22 | static let allow = HTTPHeaderName("Allow")
23 | static let authorization = HTTPHeaderName("Authorization")
| |- warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'authorization' 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
24 | static let cacheControl = HTTPHeaderName("Cache-Control")
25 | static let connection = HTTPHeaderName("Connection")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:24:14: warning: static property 'cacheControl' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let allow = HTTPHeaderName("Allow")
23 | static let authorization = HTTPHeaderName("Authorization")
24 | static let cacheControl = HTTPHeaderName("Cache-Control")
| |- warning: static property 'cacheControl' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cacheControl' 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
25 | static let connection = HTTPHeaderName("Connection")
26 | static let cookie = HTTPHeaderName("Cookie")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:25:14: warning: static property 'connection' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
23 | static let authorization = HTTPHeaderName("Authorization")
24 | static let cacheControl = HTTPHeaderName("Cache-Control")
25 | static let connection = HTTPHeaderName("Connection")
| |- warning: static property 'connection' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'connection' 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
26 | static let cookie = HTTPHeaderName("Cookie")
27 | static let contentDisposition = HTTPHeaderName("Content-Disposition")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:26:14: warning: static property 'cookie' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
24 | static let cacheControl = HTTPHeaderName("Cache-Control")
25 | static let connection = HTTPHeaderName("Connection")
26 | static let cookie = HTTPHeaderName("Cookie")
| |- warning: static property 'cookie' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cookie' 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
27 | static let contentDisposition = HTTPHeaderName("Content-Disposition")
28 | static let contentEncoding = HTTPHeaderName("Content-Encoding")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:27:14: warning: static property 'contentDisposition' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
25 | static let connection = HTTPHeaderName("Connection")
26 | static let cookie = HTTPHeaderName("Cookie")
27 | static let contentDisposition = HTTPHeaderName("Content-Disposition")
| |- warning: static property 'contentDisposition' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contentDisposition' 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
28 | static let contentEncoding = HTTPHeaderName("Content-Encoding")
29 | static let contentLanguage = HTTPHeaderName("Content-Language")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:28:14: warning: static property 'contentEncoding' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
26 | static let cookie = HTTPHeaderName("Cookie")
27 | static let contentDisposition = HTTPHeaderName("Content-Disposition")
28 | static let contentEncoding = HTTPHeaderName("Content-Encoding")
| |- warning: static property 'contentEncoding' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contentEncoding' 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
29 | static let contentLanguage = HTTPHeaderName("Content-Language")
30 | static let contentLength = HTTPHeaderName("Content-Length")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:29:14: warning: static property 'contentLanguage' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
27 | static let contentDisposition = HTTPHeaderName("Content-Disposition")
28 | static let contentEncoding = HTTPHeaderName("Content-Encoding")
29 | static let contentLanguage = HTTPHeaderName("Content-Language")
| |- warning: static property 'contentLanguage' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contentLanguage' 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
30 | static let contentLength = HTTPHeaderName("Content-Length")
31 | static let contentRange = HTTPHeaderName("Content-Range")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:30:14: warning: static property 'contentLength' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
28 | static let contentEncoding = HTTPHeaderName("Content-Encoding")
29 | static let contentLanguage = HTTPHeaderName("Content-Language")
30 | static let contentLength = HTTPHeaderName("Content-Length")
| |- warning: static property 'contentLength' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contentLength' 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
31 | static let contentRange = HTTPHeaderName("Content-Range")
32 | static let contentType = HTTPHeaderName("Content-Type")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:31:14: warning: static property 'contentRange' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
29 | static let contentLanguage = HTTPHeaderName("Content-Language")
30 | static let contentLength = HTTPHeaderName("Content-Length")
31 | static let contentRange = HTTPHeaderName("Content-Range")
| |- warning: static property 'contentRange' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contentRange' 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
32 | static let contentType = HTTPHeaderName("Content-Type")
33 | static let date = HTTPHeaderName("Date")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:32:14: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
30 | static let contentLength = HTTPHeaderName("Content-Length")
31 | static let contentRange = HTTPHeaderName("Content-Range")
32 | static let contentType = HTTPHeaderName("Content-Type")
| |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contentType' 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
33 | static let date = HTTPHeaderName("Date")
34 | static let eTag = HTTPHeaderName("ETag")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:33:14: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
31 | static let contentRange = HTTPHeaderName("Content-Range")
32 | static let contentType = HTTPHeaderName("Content-Type")
33 | static let date = HTTPHeaderName("Date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' 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
34 | static let eTag = HTTPHeaderName("ETag")
35 | static let expect = HTTPHeaderName("Expect")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:34:14: warning: static property 'eTag' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
32 | static let contentType = HTTPHeaderName("Content-Type")
33 | static let date = HTTPHeaderName("Date")
34 | static let eTag = HTTPHeaderName("ETag")
| |- warning: static property 'eTag' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'eTag' 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
35 | static let expect = HTTPHeaderName("Expect")
36 | static let expires = HTTPHeaderName("Expires")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:35:14: warning: static property 'expect' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
33 | static let date = HTTPHeaderName("Date")
34 | static let eTag = HTTPHeaderName("ETag")
35 | static let expect = HTTPHeaderName("Expect")
| |- warning: static property 'expect' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expect' 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
36 | static let expires = HTTPHeaderName("Expires")
37 | static let forwarded = HTTPHeaderName("Forwarded")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:36:14: warning: static property 'expires' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
34 | static let eTag = HTTPHeaderName("ETag")
35 | static let expect = HTTPHeaderName("Expect")
36 | static let expires = HTTPHeaderName("Expires")
| |- warning: static property 'expires' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expires' 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
37 | static let forwarded = HTTPHeaderName("Forwarded")
38 | static let host = HTTPHeaderName("Host")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:37:14: warning: static property 'forwarded' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
35 | static let expect = HTTPHeaderName("Expect")
36 | static let expires = HTTPHeaderName("Expires")
37 | static let forwarded = HTTPHeaderName("Forwarded")
| |- warning: static property 'forwarded' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forwarded' 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
38 | static let host = HTTPHeaderName("Host")
39 | static let ifModifiedSince = HTTPHeaderName("If-Modified-Since")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:38:14: warning: static property 'host' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
36 | static let expires = HTTPHeaderName("Expires")
37 | static let forwarded = HTTPHeaderName("Forwarded")
38 | static let host = HTTPHeaderName("Host")
| |- warning: static property 'host' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'host' 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
39 | static let ifModifiedSince = HTTPHeaderName("If-Modified-Since")
40 | static let lastModified = HTTPHeaderName("Last-Modified")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:39:14: warning: static property 'ifModifiedSince' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
37 | static let forwarded = HTTPHeaderName("Forwarded")
38 | static let host = HTTPHeaderName("Host")
39 | static let ifModifiedSince = HTTPHeaderName("If-Modified-Since")
| |- warning: static property 'ifModifiedSince' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ifModifiedSince' 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
40 | static let lastModified = HTTPHeaderName("Last-Modified")
41 | static let location = HTTPHeaderName("Location")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:40:14: warning: static property 'lastModified' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
38 | static let host = HTTPHeaderName("Host")
39 | static let ifModifiedSince = HTTPHeaderName("If-Modified-Since")
40 | static let lastModified = HTTPHeaderName("Last-Modified")
| |- warning: static property 'lastModified' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lastModified' 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
41 | static let location = HTTPHeaderName("Location")
42 | static let origin = HTTPHeaderName("Origin")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:41:14: warning: static property 'location' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
39 | static let ifModifiedSince = HTTPHeaderName("If-Modified-Since")
40 | static let lastModified = HTTPHeaderName("Last-Modified")
41 | static let location = HTTPHeaderName("Location")
| |- warning: static property 'location' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'location' 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
42 | static let origin = HTTPHeaderName("Origin")
43 | static let pragma = HTTPHeaderName("Pragma")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:42:14: warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
40 | static let lastModified = HTTPHeaderName("Last-Modified")
41 | static let location = HTTPHeaderName("Location")
42 | static let origin = HTTPHeaderName("Origin")
| |- warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'origin' 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
43 | static let pragma = HTTPHeaderName("Pragma")
44 | static let range = HTTPHeaderName("Range")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:43:14: warning: static property 'pragma' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
41 | static let location = HTTPHeaderName("Location")
42 | static let origin = HTTPHeaderName("Origin")
43 | static let pragma = HTTPHeaderName("Pragma")
| |- warning: static property 'pragma' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pragma' 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
44 | static let range = HTTPHeaderName("Range")
45 | static let referer = HTTPHeaderName("Referer")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:44:14: warning: static property 'range' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
42 | static let origin = HTTPHeaderName("Origin")
43 | static let pragma = HTTPHeaderName("Pragma")
44 | static let range = HTTPHeaderName("Range")
| |- warning: static property 'range' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'range' 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
45 | static let referer = HTTPHeaderName("Referer")
46 | static let refresh = HTTPHeaderName("Refresh")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:45:14: warning: static property 'referer' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
43 | static let pragma = HTTPHeaderName("Pragma")
44 | static let range = HTTPHeaderName("Range")
45 | static let referer = HTTPHeaderName("Referer")
| |- warning: static property 'referer' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'referer' 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
46 | static let refresh = HTTPHeaderName("Refresh")
47 | static let server = HTTPHeaderName("Server")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:46:14: warning: static property 'refresh' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
44 | static let range = HTTPHeaderName("Range")
45 | static let referer = HTTPHeaderName("Referer")
46 | static let refresh = HTTPHeaderName("Refresh")
| |- warning: static property 'refresh' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'refresh' 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
47 | static let server = HTTPHeaderName("Server")
48 | static let setCookie = HTTPHeaderName("Set-Cookie")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:47:14: warning: static property 'server' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
45 | static let referer = HTTPHeaderName("Referer")
46 | static let refresh = HTTPHeaderName("Refresh")
47 | static let server = HTTPHeaderName("Server")
| |- warning: static property 'server' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'server' 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
48 | static let setCookie = HTTPHeaderName("Set-Cookie")
49 | static let strictTransportSecurity = HTTPHeaderName("Strict-Transport-Security")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:48:14: warning: static property 'setCookie' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
46 | static let refresh = HTTPHeaderName("Refresh")
47 | static let server = HTTPHeaderName("Server")
48 | static let setCookie = HTTPHeaderName("Set-Cookie")
| |- warning: static property 'setCookie' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setCookie' 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
49 | static let strictTransportSecurity = HTTPHeaderName("Strict-Transport-Security")
50 | static let transferEncoding = HTTPHeaderName("Transfer-Encoding")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:49:14: warning: static property 'strictTransportSecurity' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
47 | static let server = HTTPHeaderName("Server")
48 | static let setCookie = HTTPHeaderName("Set-Cookie")
49 | static let strictTransportSecurity = HTTPHeaderName("Strict-Transport-Security")
| |- warning: static property 'strictTransportSecurity' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strictTransportSecurity' 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
50 | static let transferEncoding = HTTPHeaderName("Transfer-Encoding")
51 | static let userAgent = HTTPHeaderName("User-Agent")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:50:14: warning: static property 'transferEncoding' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
48 | static let setCookie = HTTPHeaderName("Set-Cookie")
49 | static let strictTransportSecurity = HTTPHeaderName("Strict-Transport-Security")
50 | static let transferEncoding = HTTPHeaderName("Transfer-Encoding")
| |- warning: static property 'transferEncoding' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'transferEncoding' 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
51 | static let userAgent = HTTPHeaderName("User-Agent")
52 | static let upgrade = HTTPHeaderName("Upgrade")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:51:14: warning: static property 'userAgent' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
49 | static let strictTransportSecurity = HTTPHeaderName("Strict-Transport-Security")
50 | static let transferEncoding = HTTPHeaderName("Transfer-Encoding")
51 | static let userAgent = HTTPHeaderName("User-Agent")
| |- warning: static property 'userAgent' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userAgent' 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
52 | static let upgrade = HTTPHeaderName("Upgrade")
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader+Common.swift:52:14: warning: static property 'upgrade' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
50 | static let transferEncoding = HTTPHeaderName("Transfer-Encoding")
51 | static let userAgent = HTTPHeaderName("User-Agent")
52 | static let upgrade = HTTPHeaderName("Upgrade")
| |- warning: static property 'upgrade' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'upgrade' 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
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPVersion.swift:22:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct HTTPVersion {
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
12 | public let major: UInt
13 | public let minor: UInt
:
20 |
21 | public extension HTTPVersion {
22 | static let `default` = HTTPVersion(major: 1, minor: 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:14:14: warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
12 |
13 | public extension HTTPMethod {
14 | static let GET = HTTPMethod(name: "GET")
| |- warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GET' 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
15 | static let HEAD = HTTPMethod(name: "HEAD")
16 | static let DELETE = HTTPMethod(name: "DELETE")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:15:14: warning: static property 'HEAD' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
:
13 | public extension HTTPMethod {
14 | static let GET = HTTPMethod(name: "GET")
15 | static let HEAD = HTTPMethod(name: "HEAD")
| |- warning: static property 'HEAD' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'HEAD' 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
16 | static let DELETE = HTTPMethod(name: "DELETE")
17 | static let POST = HTTPMethod(name: "POST")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:16:14: warning: static property 'DELETE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
:
14 | static let GET = HTTPMethod(name: "GET")
15 | static let HEAD = HTTPMethod(name: "HEAD")
16 | static let DELETE = HTTPMethod(name: "DELETE")
| |- warning: static property 'DELETE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DELETE' 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
17 | static let POST = HTTPMethod(name: "POST")
18 | static let PUT = HTTPMethod(name: "PUT")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:17:14: warning: static property 'POST' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
:
15 | static let HEAD = HTTPMethod(name: "HEAD")
16 | static let DELETE = HTTPMethod(name: "DELETE")
17 | static let POST = HTTPMethod(name: "POST")
| |- warning: static property 'POST' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'POST' 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
18 | static let PUT = HTTPMethod(name: "PUT")
19 | static let OPTIONS = HTTPMethod(name: "OPTIONS")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:18:14: warning: static property 'PUT' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
:
16 | static let DELETE = HTTPMethod(name: "DELETE")
17 | static let POST = HTTPMethod(name: "POST")
18 | static let PUT = HTTPMethod(name: "PUT")
| |- warning: static property 'PUT' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PUT' 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
19 | static let OPTIONS = HTTPMethod(name: "OPTIONS")
20 | static let CONNECT = HTTPMethod(name: "CONNECT")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:19:14: warning: static property 'OPTIONS' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
:
17 | static let POST = HTTPMethod(name: "POST")
18 | static let PUT = HTTPMethod(name: "PUT")
19 | static let OPTIONS = HTTPMethod(name: "OPTIONS")
| |- warning: static property 'OPTIONS' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'OPTIONS' 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
20 | static let CONNECT = HTTPMethod(name: "CONNECT")
21 | static let TRACE = HTTPMethod(name: "TRACE")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:20:14: warning: static property 'CONNECT' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
:
18 | static let PUT = HTTPMethod(name: "PUT")
19 | static let OPTIONS = HTTPMethod(name: "OPTIONS")
20 | static let CONNECT = HTTPMethod(name: "CONNECT")
| |- warning: static property 'CONNECT' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CONNECT' 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
21 | static let TRACE = HTTPMethod(name: "TRACE")
22 | static let PATCH = HTTPMethod(name: "PATCH")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:21:14: warning: static property 'TRACE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
:
19 | static let OPTIONS = HTTPMethod(name: "OPTIONS")
20 | static let CONNECT = HTTPMethod(name: "CONNECT")
21 | static let TRACE = HTTPMethod(name: "TRACE")
| |- warning: static property 'TRACE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TRACE' 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
22 | static let PATCH = HTTPMethod(name: "PATCH")
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:22:14: warning: static property 'PATCH' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
:
20 | static let CONNECT = HTTPMethod(name: "CONNECT")
21 | static let TRACE = HTTPMethod(name: "TRACE")
22 | static let PATCH = HTTPMethod(name: "PATCH")
| |- warning: static property 'PATCH' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PATCH' 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
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Transport/URI.swift:90:14: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'URI' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct URI: Hashable, Equatable {
| `- note: consider making struct 'URI' conform to the 'Sendable' protocol
12 | private var components: URLComponents
13 |
:
88 | public extension URI {
89 | /// Returns a URI indicating the root.
90 | static let root = URI(path: "/")
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'URI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'root' 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 |
92 | /// Returns the part of the path that doesn't overlap.
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:101:14: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
99 | public extension HTTPStatus {
100 | /// 200 OK: standard response for successful HTTP requests.
101 | static let ok = HTTPStatus(code: 200, phrase: "OK")
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
102 |
103 | /// 201 Created: request has been fulfilled, resulting in the creation of a new resource.
[68/74] Compiling Telegraph HTTPWebSocketHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:14:14: warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
12 |
13 | public extension HTTPMethod {
14 | static let GET = HTTPMethod(name: "GET")
| |- warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GET' 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
15 | static let HEAD = HTTPMethod(name: "HEAD")
16 | static let DELETE = HTTPMethod(name: "DELETE")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:171:14: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
169 | public extension HTTPStatus {
170 | /// 400 Bad Request: server cannot or will not process the request due to an apparent client error.
171 | static let badRequest = HTTPStatus(code: 400, phrase: "Bad Request")
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
172 |
173 | /// 401 Unauthorized: similar to 403 Forbidden, but specifically for use when authentication is
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:274:14: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
272 | /// 501 Not Implemented: server either does not recognize the request method, or it lacks the ability
273 | /// to fulfil the request.
274 | static let notImplemented = HTTPStatus(code: 501, phrase: "Not Implemented")
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
275 |
276 | /// 502 Bad Gateway: server was acting as a gateway or proxy and received an invalid response
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:12:14: warning: static property 'webSocketAccept' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension HTTPHeaderName {
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
| |- warning: static property 'webSocketAccept' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketAccept' 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
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:13:14: warning: static property 'webSocketKey' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension HTTPHeaderName {
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
| |- warning: static property 'webSocketKey' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketKey' 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
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:14:14: warning: static property 'webSocketProtocol' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
| |- warning: static property 'webSocketProtocol' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketProtocol' 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
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:15:14: warning: static property 'webSocketVersion' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
| |- warning: static property 'webSocketVersion' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketVersion' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Transport/URI.swift:90:14: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'URI' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct URI: Hashable, Equatable {
| `- note: consider making struct 'URI' conform to the 'Sendable' protocol
12 | private var components: URLComponents
13 |
:
88 | public extension URI {
89 | /// Returns a URI indicating the root.
90 | static let root = URI(path: "/")
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'URI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'root' 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 |
92 | /// Returns the part of the path that doesn't overlap.
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPVersion.swift:22:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct HTTPVersion {
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
12 | public let major: UInt
13 | public let minor: UInt
:
20 |
21 | public extension HTTPVersion {
22 | static let `default` = HTTPVersion(major: 1, minor: 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:101:14: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
99 | public extension HTTPStatus {
100 | /// 200 OK: standard response for successful HTTP requests.
101 | static let ok = HTTPStatus(code: 200, phrase: "OK")
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
102 |
103 | /// 201 Created: request has been fulfilled, resulting in the creation of a new resource.
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:91:14: warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
89 |
90 | /// 101 Switching Protocols: requester has asked the server to switch protocols and the server has agreed to do so.
91 | static let switchingProtocols = HTTPStatus(code: 101, phrase: "Switching Protocols")
| |- warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
92 |
93 | /// 102 Processing: server has received and is processing the request, but no response is available yet.
[69/74] Compiling Telegraph WebSocketErrorDefaultHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:14:14: warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
12 |
13 | public extension HTTPMethod {
14 | static let GET = HTTPMethod(name: "GET")
| |- warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GET' 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
15 | static let HEAD = HTTPMethod(name: "HEAD")
16 | static let DELETE = HTTPMethod(name: "DELETE")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:171:14: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
169 | public extension HTTPStatus {
170 | /// 400 Bad Request: server cannot or will not process the request due to an apparent client error.
171 | static let badRequest = HTTPStatus(code: 400, phrase: "Bad Request")
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
172 |
173 | /// 401 Unauthorized: similar to 403 Forbidden, but specifically for use when authentication is
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:274:14: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
272 | /// 501 Not Implemented: server either does not recognize the request method, or it lacks the ability
273 | /// to fulfil the request.
274 | static let notImplemented = HTTPStatus(code: 501, phrase: "Not Implemented")
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
275 |
276 | /// 502 Bad Gateway: server was acting as a gateway or proxy and received an invalid response
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:12:14: warning: static property 'webSocketAccept' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension HTTPHeaderName {
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
| |- warning: static property 'webSocketAccept' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketAccept' 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
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:13:14: warning: static property 'webSocketKey' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension HTTPHeaderName {
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
| |- warning: static property 'webSocketKey' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketKey' 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
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:14:14: warning: static property 'webSocketProtocol' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
| |- warning: static property 'webSocketProtocol' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketProtocol' 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
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:15:14: warning: static property 'webSocketVersion' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
| |- warning: static property 'webSocketVersion' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketVersion' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Transport/URI.swift:90:14: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'URI' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct URI: Hashable, Equatable {
| `- note: consider making struct 'URI' conform to the 'Sendable' protocol
12 | private var components: URLComponents
13 |
:
88 | public extension URI {
89 | /// Returns a URI indicating the root.
90 | static let root = URI(path: "/")
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'URI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'root' 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 |
92 | /// Returns the part of the path that doesn't overlap.
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPVersion.swift:22:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct HTTPVersion {
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
12 | public let major: UInt
13 | public let minor: UInt
:
20 |
21 | public extension HTTPVersion {
22 | static let `default` = HTTPVersion(major: 1, minor: 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:101:14: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
99 | public extension HTTPStatus {
100 | /// 200 OK: standard response for successful HTTP requests.
101 | static let ok = HTTPStatus(code: 200, phrase: "OK")
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
102 |
103 | /// 201 Created: request has been fulfilled, resulting in the creation of a new resource.
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:91:14: warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
89 |
90 | /// 101 Switching Protocols: requester has asked the server to switch protocols and the server has agreed to do so.
91 | static let switchingProtocols = HTTPStatus(code: 101, phrase: "Switching Protocols")
| |- warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
92 |
93 | /// 102 Processing: server has received and is processing the request, but no response is available yet.
[70/74] Compiling Telegraph WebSocketErrorHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:14:14: warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
12 |
13 | public extension HTTPMethod {
14 | static let GET = HTTPMethod(name: "GET")
| |- warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GET' 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
15 | static let HEAD = HTTPMethod(name: "HEAD")
16 | static let DELETE = HTTPMethod(name: "DELETE")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:171:14: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
169 | public extension HTTPStatus {
170 | /// 400 Bad Request: server cannot or will not process the request due to an apparent client error.
171 | static let badRequest = HTTPStatus(code: 400, phrase: "Bad Request")
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
172 |
173 | /// 401 Unauthorized: similar to 403 Forbidden, but specifically for use when authentication is
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:274:14: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
272 | /// 501 Not Implemented: server either does not recognize the request method, or it lacks the ability
273 | /// to fulfil the request.
274 | static let notImplemented = HTTPStatus(code: 501, phrase: "Not Implemented")
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
275 |
276 | /// 502 Bad Gateway: server was acting as a gateway or proxy and received an invalid response
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:12:14: warning: static property 'webSocketAccept' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension HTTPHeaderName {
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
| |- warning: static property 'webSocketAccept' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketAccept' 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
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:13:14: warning: static property 'webSocketKey' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension HTTPHeaderName {
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
| |- warning: static property 'webSocketKey' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketKey' 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
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:14:14: warning: static property 'webSocketProtocol' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
| |- warning: static property 'webSocketProtocol' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketProtocol' 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
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:15:14: warning: static property 'webSocketVersion' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
| |- warning: static property 'webSocketVersion' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketVersion' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Transport/URI.swift:90:14: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'URI' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct URI: Hashable, Equatable {
| `- note: consider making struct 'URI' conform to the 'Sendable' protocol
12 | private var components: URLComponents
13 |
:
88 | public extension URI {
89 | /// Returns a URI indicating the root.
90 | static let root = URI(path: "/")
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'URI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'root' 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 |
92 | /// Returns the part of the path that doesn't overlap.
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPVersion.swift:22:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct HTTPVersion {
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
12 | public let major: UInt
13 | public let minor: UInt
:
20 |
21 | public extension HTTPVersion {
22 | static let `default` = HTTPVersion(major: 1, minor: 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:101:14: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
99 | public extension HTTPStatus {
100 | /// 200 OK: standard response for successful HTTP requests.
101 | static let ok = HTTPStatus(code: 200, phrase: "OK")
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
102 |
103 | /// 201 Created: request has been fulfilled, resulting in the creation of a new resource.
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:91:14: warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
89 |
90 | /// 101 Switching Protocols: requester has asked the server to switch protocols and the server has agreed to do so.
91 | static let switchingProtocols = HTTPStatus(code: 101, phrase: "Switching Protocols")
| |- warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
92 |
93 | /// 102 Processing: server has received and is processing the request, but no response is available yet.
[71/74] Compiling Telegraph WebSocketMessageDefaultHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:14:14: warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
12 |
13 | public extension HTTPMethod {
14 | static let GET = HTTPMethod(name: "GET")
| |- warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GET' 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
15 | static let HEAD = HTTPMethod(name: "HEAD")
16 | static let DELETE = HTTPMethod(name: "DELETE")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:171:14: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
169 | public extension HTTPStatus {
170 | /// 400 Bad Request: server cannot or will not process the request due to an apparent client error.
171 | static let badRequest = HTTPStatus(code: 400, phrase: "Bad Request")
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
172 |
173 | /// 401 Unauthorized: similar to 403 Forbidden, but specifically for use when authentication is
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:274:14: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
272 | /// 501 Not Implemented: server either does not recognize the request method, or it lacks the ability
273 | /// to fulfil the request.
274 | static let notImplemented = HTTPStatus(code: 501, phrase: "Not Implemented")
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
275 |
276 | /// 502 Bad Gateway: server was acting as a gateway or proxy and received an invalid response
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:12:14: warning: static property 'webSocketAccept' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension HTTPHeaderName {
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
| |- warning: static property 'webSocketAccept' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketAccept' 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
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:13:14: warning: static property 'webSocketKey' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension HTTPHeaderName {
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
| |- warning: static property 'webSocketKey' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketKey' 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
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:14:14: warning: static property 'webSocketProtocol' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
| |- warning: static property 'webSocketProtocol' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketProtocol' 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
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:15:14: warning: static property 'webSocketVersion' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
| |- warning: static property 'webSocketVersion' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketVersion' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Transport/URI.swift:90:14: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'URI' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct URI: Hashable, Equatable {
| `- note: consider making struct 'URI' conform to the 'Sendable' protocol
12 | private var components: URLComponents
13 |
:
88 | public extension URI {
89 | /// Returns a URI indicating the root.
90 | static let root = URI(path: "/")
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'URI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'root' 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 |
92 | /// Returns the part of the path that doesn't overlap.
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPVersion.swift:22:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct HTTPVersion {
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
12 | public let major: UInt
13 | public let minor: UInt
:
20 |
21 | public extension HTTPVersion {
22 | static let `default` = HTTPVersion(major: 1, minor: 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:101:14: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
99 | public extension HTTPStatus {
100 | /// 200 OK: standard response for successful HTTP requests.
101 | static let ok = HTTPStatus(code: 200, phrase: "OK")
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
102 |
103 | /// 201 Created: request has been fulfilled, resulting in the creation of a new resource.
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:91:14: warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
89 |
90 | /// 101 Switching Protocols: requester has asked the server to switch protocols and the server has agreed to do so.
91 | static let switchingProtocols = HTTPStatus(code: 101, phrase: "Switching Protocols")
| |- warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
92 |
93 | /// 102 Processing: server has received and is processing the request, but no response is available yet.
[72/74] Compiling Telegraph WebSocketMessageHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:14:14: warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
12 |
13 | public extension HTTPMethod {
14 | static let GET = HTTPMethod(name: "GET")
| |- warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GET' 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
15 | static let HEAD = HTTPMethod(name: "HEAD")
16 | static let DELETE = HTTPMethod(name: "DELETE")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:171:14: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
169 | public extension HTTPStatus {
170 | /// 400 Bad Request: server cannot or will not process the request due to an apparent client error.
171 | static let badRequest = HTTPStatus(code: 400, phrase: "Bad Request")
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
172 |
173 | /// 401 Unauthorized: similar to 403 Forbidden, but specifically for use when authentication is
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:274:14: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
272 | /// 501 Not Implemented: server either does not recognize the request method, or it lacks the ability
273 | /// to fulfil the request.
274 | static let notImplemented = HTTPStatus(code: 501, phrase: "Not Implemented")
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
275 |
276 | /// 502 Bad Gateway: server was acting as a gateway or proxy and received an invalid response
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:12:14: warning: static property 'webSocketAccept' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension HTTPHeaderName {
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
| |- warning: static property 'webSocketAccept' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketAccept' 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
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:13:14: warning: static property 'webSocketKey' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension HTTPHeaderName {
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
| |- warning: static property 'webSocketKey' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketKey' 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
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:14:14: warning: static property 'webSocketProtocol' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
| |- warning: static property 'webSocketProtocol' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketProtocol' 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
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:15:14: warning: static property 'webSocketVersion' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
| |- warning: static property 'webSocketVersion' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketVersion' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Transport/URI.swift:90:14: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'URI' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct URI: Hashable, Equatable {
| `- note: consider making struct 'URI' conform to the 'Sendable' protocol
12 | private var components: URLComponents
13 |
:
88 | public extension URI {
89 | /// Returns a URI indicating the root.
90 | static let root = URI(path: "/")
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'URI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'root' 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 |
92 | /// Returns the part of the path that doesn't overlap.
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPVersion.swift:22:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct HTTPVersion {
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
12 | public let major: UInt
13 | public let minor: UInt
:
20 |
21 | public extension HTTPVersion {
22 | static let `default` = HTTPVersion(major: 1, minor: 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:101:14: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
99 | public extension HTTPStatus {
100 | /// 200 OK: standard response for successful HTTP requests.
101 | static let ok = HTTPStatus(code: 200, phrase: "OK")
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
102 |
103 | /// 201 Created: request has been fulfilled, resulting in the creation of a new resource.
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:91:14: warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
89 |
90 | /// 101 Switching Protocols: requester has asked the server to switch protocols and the server has agreed to do so.
91 | static let switchingProtocols = HTTPStatus(code: 101, phrase: "Switching Protocols")
| |- warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
92 |
93 | /// 102 Processing: server has received and is processing the request, but no response is available yet.
[73/74] Compiling Telegraph HTTPHeader+WebSocket.swift
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:14:14: warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
12 |
13 | public extension HTTPMethod {
14 | static let GET = HTTPMethod(name: "GET")
| |- warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GET' 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
15 | static let HEAD = HTTPMethod(name: "HEAD")
16 | static let DELETE = HTTPMethod(name: "DELETE")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:171:14: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
169 | public extension HTTPStatus {
170 | /// 400 Bad Request: server cannot or will not process the request due to an apparent client error.
171 | static let badRequest = HTTPStatus(code: 400, phrase: "Bad Request")
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
172 |
173 | /// 401 Unauthorized: similar to 403 Forbidden, but specifically for use when authentication is
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:274:14: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
272 | /// 501 Not Implemented: server either does not recognize the request method, or it lacks the ability
273 | /// to fulfil the request.
274 | static let notImplemented = HTTPStatus(code: 501, phrase: "Not Implemented")
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
275 |
276 | /// 502 Bad Gateway: server was acting as a gateway or proxy and received an invalid response
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:12:14: warning: static property 'webSocketAccept' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension HTTPHeaderName {
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
| |- warning: static property 'webSocketAccept' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketAccept' 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
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:13:14: warning: static property 'webSocketKey' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension HTTPHeaderName {
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
| |- warning: static property 'webSocketKey' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketKey' 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
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:14:14: warning: static property 'webSocketProtocol' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
| |- warning: static property 'webSocketProtocol' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketProtocol' 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
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:15:14: warning: static property 'webSocketVersion' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
| |- warning: static property 'webSocketVersion' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketVersion' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Transport/URI.swift:90:14: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'URI' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct URI: Hashable, Equatable {
| `- note: consider making struct 'URI' conform to the 'Sendable' protocol
12 | private var components: URLComponents
13 |
:
88 | public extension URI {
89 | /// Returns a URI indicating the root.
90 | static let root = URI(path: "/")
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'URI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'root' 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 |
92 | /// Returns the part of the path that doesn't overlap.
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPVersion.swift:22:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct HTTPVersion {
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
12 | public let major: UInt
13 | public let minor: UInt
:
20 |
21 | public extension HTTPVersion {
22 | static let `default` = HTTPVersion(major: 1, minor: 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:101:14: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
99 | public extension HTTPStatus {
100 | /// 200 OK: standard response for successful HTTP requests.
101 | static let ok = HTTPStatus(code: 200, phrase: "OK")
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
102 |
103 | /// 201 Created: request has been fulfilled, resulting in the creation of a new resource.
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:91:14: warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
89 |
90 | /// 101 Switching Protocols: requester has asked the server to switch protocols and the server has agreed to do so.
91 | static let switchingProtocols = HTTPStatus(code: 101, phrase: "Switching Protocols")
| |- warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
92 |
93 | /// 102 Processing: server has received and is processing the request, but no response is available yet.
[74/74] Compiling Telegraph HTTPMessage+WebSocket.swift
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPMethod.swift:14:14: warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct HTTPMethod: Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
10 | public let name: String
11 | }
12 |
13 | public extension HTTPMethod {
14 | static let GET = HTTPMethod(name: "GET")
| |- warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GET' 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
15 | static let HEAD = HTTPMethod(name: "HEAD")
16 | static let DELETE = HTTPMethod(name: "DELETE")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:171:14: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
169 | public extension HTTPStatus {
170 | /// 400 Bad Request: server cannot or will not process the request due to an apparent client error.
171 | static let badRequest = HTTPStatus(code: 400, phrase: "Bad Request")
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
172 |
173 | /// 401 Unauthorized: similar to 403 Forbidden, but specifically for use when authentication is
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:274:14: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
272 | /// 501 Not Implemented: server either does not recognize the request method, or it lacks the ability
273 | /// to fulfil the request.
274 | static let notImplemented = HTTPStatus(code: 501, phrase: "Not Implemented")
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
275 |
276 | /// 502 Bad Gateway: server was acting as a gateway or proxy and received an invalid response
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:12:14: warning: static property 'webSocketAccept' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension HTTPHeaderName {
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
| |- warning: static property 'webSocketAccept' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketAccept' 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
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:13:14: warning: static property 'webSocketKey' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension HTTPHeaderName {
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
| |- warning: static property 'webSocketKey' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketKey' 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
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:14:14: warning: static property 'webSocketProtocol' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let webSocketAccept = HTTPHeaderName("Sec-WebSocket-Accept")
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
| |- warning: static property 'webSocketProtocol' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketProtocol' 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
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift:15:14: warning: static property 'webSocketVersion' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
13 | static let webSocketKey = HTTPHeaderName("Sec-WebSocket-Key")
14 | static let webSocketProtocol = HTTPHeaderName("Sec-WebSocket-Protocol")
15 | static let webSocketVersion = HTTPHeaderName("Sec-WebSocket-Version")
| |- warning: static property 'webSocketVersion' is not concurrency-safe because non-'Sendable' type 'HTTPHeaderName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webSocketVersion' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPHeader.swift:13:15: note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
11 | public typealias HTTPHeaders = [HTTPHeaderName: String]
12 |
13 | public struct HTTPHeaderName: Hashable {
| `- note: consider making struct 'HTTPHeaderName' conform to the 'Sendable' protocol
14 | private let name: String
15 | private let nameInLowercase: String
/Users/admin/builder/spi-builder-workspace/Sources/Transport/URI.swift:90:14: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'URI' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct URI: Hashable, Equatable {
| `- note: consider making struct 'URI' conform to the 'Sendable' protocol
12 | private var components: URLComponents
13 |
:
88 | public extension URI {
89 | /// Returns a URI indicating the root.
90 | static let root = URI(path: "/")
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'URI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'root' 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 |
92 | /// Returns the part of the path that doesn't overlap.
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPVersion.swift:22:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct HTTPVersion {
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
12 | public let major: UInt
13 | public let minor: UInt
:
20 |
21 | public extension HTTPVersion {
22 | static let `default` = HTTPVersion(major: 1, minor: 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:101:14: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
99 | public extension HTTPStatus {
100 | /// 200 OK: standard response for successful HTTP requests.
101 | static let ok = HTTPStatus(code: 200, phrase: "OK")
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
102 |
103 | /// 201 Created: request has been fulfilled, resulting in the creation of a new resource.
/Users/admin/builder/spi-builder-workspace/Sources/Protocols/HTTP/Models/HTTPStatus.swift:91:14: warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
11 | //
12 |
13 | public struct HTTPStatus: Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
14 | /// The numeric code of the status (e.g. 404).
15 | public let code: Int
:
89 |
90 | /// 101 Switching Protocols: requester has asked the server to switch protocols and the server has agreed to do so.
91 | static let switchingProtocols = HTTPStatus(code: 101, phrase: "Switching Protocols")
| |- warning: static property 'switchingProtocols' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' 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
92 |
93 | /// 102 Processing: server has received and is processing the request, but no response is available yet.
Build complete! (29.68s)
Fetching https://github.com/robbiehanson/CocoaAsyncSocket.git
Fetching https://github.com/Building42/HTTPParserC.git
[3/252] Fetching httpparserc
[59/6669] Fetching httpparserc, cocoaasyncsocket
Fetched https://github.com/Building42/HTTPParserC.git from cache (1.37s)
Fetched https://github.com/robbiehanson/CocoaAsyncSocket.git from cache (1.37s)
Computing version for https://github.com/Building42/HTTPParserC.git
Computed https://github.com/Building42/HTTPParserC.git at 9.2.0 (0.64s)
Computing version for https://github.com/robbiehanson/CocoaAsyncSocket.git
Computed https://github.com/robbiehanson/CocoaAsyncSocket.git at 7.6.5 (0.65s)
Creating working copy for https://github.com/robbiehanson/CocoaAsyncSocket.git
Working copy of https://github.com/robbiehanson/CocoaAsyncSocket.git resolved at 7.6.5
Creating working copy for https://github.com/Building42/HTTPParserC.git
Working copy of https://github.com/Building42/HTTPParserC.git resolved at 9.2.0
Build complete.
{
"dependencies" : [
{
"identity" : "cocoaasyncsocket",
"requirement" : {
"range" : [
{
"lower_bound" : "7.6.5",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/robbiehanson/CocoaAsyncSocket.git"
},
{
"identity" : "httpparserc",
"requirement" : {
"range" : [
{
"lower_bound" : "9.2.0",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Building42/HTTPParserC.git"
}
],
"manifest_display_name" : "Telegraph",
"name" : "Telegraph",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "macos",
"version" : "10.10"
}
],
"products" : [
{
"name" : "Telegraph",
"targets" : [
"Telegraph"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TelegraphTests",
"module_type" : "SwiftTarget",
"name" : "TelegraphTests",
"path" : "Tests",
"product_dependencies" : [
"CocoaAsyncSocket",
"HTTPParserC"
],
"sources" : [
"HelperTests.swift",
"Host/AppDelegate.swift",
"RouteTests.swift",
"SecurityTests.swift",
"ServerTests.swift",
"URITests.swift",
"URLTests.swift"
],
"target_dependencies" : [
"Telegraph"
],
"type" : "test"
},
{
"c99name" : "Telegraph",
"module_type" : "SwiftTarget",
"name" : "Telegraph",
"path" : "Sources",
"product_dependencies" : [
"CocoaAsyncSocket",
"HTTPParserC"
],
"product_memberships" : [
"Telegraph"
],
"sources" : [
"Clients/Client+Config.swift",
"Clients/WebSocketClient.swift",
"Clients/WebSocketClientError.swift",
"Helpers/Deprecations.swift",
"Helpers/DispatchTimer.swift",
"Helpers/Extensions/Array+Ext.swift",
"Helpers/Extensions/Data+Ext.swift",
"Helpers/Extensions/FileManager+Ext.swift",
"Helpers/Extensions/NSRegularExpression+Ext.swift",
"Helpers/Extensions/String+Ext.swift",
"Helpers/Extensions/UInt+Ext.swift",
"Helpers/Extensions/URL+Ext.swift",
"Helpers/RFC1123.swift",
"Helpers/SynchronizedSet.swift",
"Protocols/HTTP/Handlers/HTTPErrorDefaultHandler.swift",
"Protocols/HTTP/Handlers/HTTPErrorHandler.swift",
"Protocols/HTTP/Handlers/HTTPFileHandler.swift",
"Protocols/HTTP/Handlers/HTTPRequestHandler.swift",
"Protocols/HTTP/Models/HTTPConfig.swift",
"Protocols/HTTP/Models/HTTPConnection.swift",
"Protocols/HTTP/Models/HTTPError.swift",
"Protocols/HTTP/Models/HTTPHeader+Common.swift",
"Protocols/HTTP/Models/HTTPHeader.swift",
"Protocols/HTTP/Models/HTTPMessage.swift",
"Protocols/HTTP/Models/HTTPMethod.swift",
"Protocols/HTTP/Models/HTTPParser+Raw.swift",
"Protocols/HTTP/Models/HTTPParser.swift",
"Protocols/HTTP/Models/HTTPRequest+Host.swift",
"Protocols/HTTP/Models/HTTPRequest.swift",
"Protocols/HTTP/Models/HTTPResponse.swift",
"Protocols/HTTP/Models/HTTPStatus.swift",
"Protocols/HTTP/Models/HTTPVersion.swift",
"Protocols/HTTP/Routing/HTTPRoute.swift",
"Protocols/HTTP/Routing/HTTPRouteHandler.swift",
"Protocols/HTTP/Routing/Server+Routing.swift",
"Protocols/WebSockets/Handlers/HTTPWebSocketHandler.swift",
"Protocols/WebSockets/Handlers/WebSocketErrorDefaultHandler.swift",
"Protocols/WebSockets/Handlers/WebSocketErrorHandler.swift",
"Protocols/WebSockets/Handlers/WebSocketMessageDefaultHandler.swift",
"Protocols/WebSockets/Handlers/WebSocketMessageHandler.swift",
"Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift",
"Protocols/WebSockets/Models/HTTPMessage+WebSocket.swift",
"Protocols/WebSockets/Models/WebSocket.swift",
"Protocols/WebSockets/Models/WebSocketConfig.swift",
"Protocols/WebSockets/Models/WebSocketConnection.swift",
"Protocols/WebSockets/Models/WebSocketError.swift",
"Protocols/WebSockets/Models/WebSocketMessage+Write.swift",
"Protocols/WebSockets/Models/WebSocketMessage.swift",
"Protocols/WebSockets/Models/WebSocketParser.swift",
"Security/Certificate.swift",
"Security/CertificateIdentity.swift",
"Security/KeychainError.swift",
"Security/KeychainManager.swift",
"Security/SHA1.swift",
"Security/TLSConfig.swift",
"Security/TLSPolicy.swift",
"Server/Server+Config.swift",
"Server/Server.swift",
"Server/ServerDelegates.swift",
"Transport/DataStream.swift",
"Transport/Endpoint.swift",
"Transport/Streams.swift",
"Transport/TCPConnection.swift",
"Transport/TCPListener.swift",
"Transport/TCPSocket.swift",
"Transport/URI.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.