Build Information
Successful build of NWHTTPProtocol, reference develop (0a96cb
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 12:16:06 UTC.
Swift 6 data race errors: 35
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/helje5/NWHTTPProtocol.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/helje5/NWHTTPProtocol
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 0a96cb9 Update README
Cloned https://github.com/helje5/NWHTTPProtocol.git
Revision (git rev-parse @):
0a96cb9575dcdedb4573466c7d1cc39d5b296db1
SUCCESS checkout https://github.com/helje5/NWHTTPProtocol.git at develop
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "nwhttpprotocol",
"name": "NWHTTPProtocol",
"url": "https://github.com/helje5/NWHTTPProtocol.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NWHTTPProtocol",
"dependencies": [
]
}
]
}
Fetching https://github.com/helje5/NWHTTPProtocol.git
[1/62] Fetching nwhttpprotocol
Fetched https://github.com/helje5/NWHTTPProtocol.git from cache (0.82s)
Creating working copy for https://github.com/helje5/NWHTTPProtocol.git
Working copy of https://github.com/helje5/NWHTTPProtocol.git resolved at develop (0a96cb9)
warning: '.resolve-product-dependencies': dependency 'nwhttpprotocol' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/helje5/NWHTTPProtocol.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/9] Write sources
[3/9] Write samplehttpd-entitlement.plist
[4/9] Write swift-version--7754E27361AE5C74.txt
[5/9] Compiling CHTTPParser http_parser.c
[7/13] Compiling NWHTTPProtocol HTTPMessage.swift
[8/13] Compiling NWHTTPProtocol HTTPContext.swift
[9/13] Emitting module NWHTTPProtocol
[10/13] Compiling NWHTTPProtocol HTTPProtocol.swift
[11/20] Compiling NWHTTPServer StringEncodingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/StringEncodingError.swift:9:32: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
7 |
8 | public struct StringEncodingError : Swift.Error {
9 | public let encoding : String.Encoding
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
10 | }
11 |
Foundation.String:3:19: note: type declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | extension String {
3 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: type declared here
4 | public var rawValue: UInt
5 | public init(rawValue: UInt)
[12/20] Compiling NWHTTPServer IncomingMessage.swift
[13/20] Compiling NWHTTPServer HTTPStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPStatus.swift:24: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
7 |
8 |
9 | public struct HTTPStatus: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
10 | public let rawValue : Int
11 | public init(rawValue status: Int) { self.rawValue = status }
:
22 | public extension HTTPStatus {
23 |
24 | static let ok : HTTPStatus = 200
| |- 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
25 | static let created : HTTPStatus = 201
26 | static let noContent : HTTPStatus = 204
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPStatus.swift:25:14: warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 |
9 | public struct HTTPStatus: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
10 | public let rawValue : Int
11 | public init(rawValue status: Int) { self.rawValue = status }
:
23 |
24 | static let ok : HTTPStatus = 200
25 | static let created : HTTPStatus = 201
| |- warning: static property 'created' 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 'created' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | static let noContent : HTTPStatus = 204
27 |
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPStatus.swift:26:14: warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 |
9 | public struct HTTPStatus: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
10 | public let rawValue : Int
11 | public init(rawValue status: Int) { self.rawValue = status }
:
24 | static let ok : HTTPStatus = 200
25 | static let created : HTTPStatus = 201
26 | static let noContent : HTTPStatus = 204
| |- warning: static property 'noContent' 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 'noContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | static let badRequest : HTTPStatus = 400
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPStatus.swift:28: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
7 |
8 |
9 | public struct HTTPStatus: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
10 | public let rawValue : Int
11 | public init(rawValue status: Int) { self.rawValue = status }
:
26 | static let noContent : HTTPStatus = 204
27 |
28 | static let badRequest : HTTPStatus = 400
| |- 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
29 | static let paymentRequired : HTTPStatus = 402
30 | static let forbidden : HTTPStatus = 403
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPStatus.swift:29:14: warning: static property 'paymentRequired' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 |
9 | public struct HTTPStatus: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
10 | public let rawValue : Int
11 | public init(rawValue status: Int) { self.rawValue = status }
:
27 |
28 | static let badRequest : HTTPStatus = 400
29 | static let paymentRequired : HTTPStatus = 402
| |- warning: static property 'paymentRequired' 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 'paymentRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | static let forbidden : HTTPStatus = 403
31 | static let notFound : HTTPStatus = 404
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPStatus.swift:30:14: warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 |
9 | public struct HTTPStatus: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
10 | public let rawValue : Int
11 | public init(rawValue status: Int) { self.rawValue = status }
:
28 | static let badRequest : HTTPStatus = 400
29 | static let paymentRequired : HTTPStatus = 402
30 | static let forbidden : HTTPStatus = 403
| |- warning: static property 'forbidden' 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 'forbidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | static let notFound : HTTPStatus = 404
32 |
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPStatus.swift:31:14: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 |
9 | public struct HTTPStatus: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
10 | public let rawValue : Int
11 | public init(rawValue status: Int) { self.rawValue = status }
:
29 | static let paymentRequired : HTTPStatus = 402
30 | static let forbidden : HTTPStatus = 403
31 | static let notFound : HTTPStatus = 404
| |- warning: static property 'notFound' 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 'notFound' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static let serverError : HTTPStatus = 500
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPStatus.swift:33:14: warning: static property 'serverError' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 |
9 | public struct HTTPStatus: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
10 | public let rawValue : Int
11 | public init(rawValue status: Int) { self.rawValue = status }
:
31 | static let notFound : HTTPStatus = 404
32 |
33 | static let serverError : HTTPStatus = 500
| |- warning: static property 'serverError' 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 'serverError' with '@MainActor' 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 | }
35 |
[14/20] Compiling NWHTTPServer HTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:31: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
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
29 |
30 | public extension HTTPMethod {
31 | static let GET : HTTPMethod = "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
32 | static let POST : HTTPMethod = "POST"
33 | static let MKCALENDAR : HTTPMethod = "MKCALENDAR"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:32: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
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
30 | public extension HTTPMethod {
31 | static let GET : HTTPMethod = "GET"
32 | static let POST : HTTPMethod = "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
33 | static let MKCALENDAR : HTTPMethod = "MKCALENDAR"
34 | static let DELETE : HTTPMethod = "DELETE"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:33:14: warning: static property 'MKCALENDAR' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
31 | static let GET : HTTPMethod = "GET"
32 | static let POST : HTTPMethod = "POST"
33 | static let MKCALENDAR : HTTPMethod = "MKCALENDAR"
| |- warning: static property 'MKCALENDAR' 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 'MKCALENDAR' with '@MainActor' 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 DELETE : HTTPMethod = "DELETE"
35 | static let HEAD : HTTPMethod = "HEAD"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:34: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
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
32 | static let POST : HTTPMethod = "POST"
33 | static let MKCALENDAR : HTTPMethod = "MKCALENDAR"
34 | static let DELETE : HTTPMethod = "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
35 | static let HEAD : HTTPMethod = "HEAD"
36 | static let PUT : HTTPMethod = "PUT"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:35: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
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
33 | static let MKCALENDAR : HTTPMethod = "MKCALENDAR"
34 | static let DELETE : HTTPMethod = "DELETE"
35 | static let HEAD : HTTPMethod = "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
36 | static let PUT : HTTPMethod = "PUT"
37 | static let CONNECT : HTTPMethod = "CONNECT"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:36: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
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
34 | static let DELETE : HTTPMethod = "DELETE"
35 | static let HEAD : HTTPMethod = "HEAD"
36 | static let PUT : HTTPMethod = "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
37 | static let CONNECT : HTTPMethod = "CONNECT"
38 | static let OPTIONS : HTTPMethod = "OPTIONS"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:37: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
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
35 | static let HEAD : HTTPMethod = "HEAD"
36 | static let PUT : HTTPMethod = "PUT"
37 | static let CONNECT : HTTPMethod = "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
38 | static let OPTIONS : HTTPMethod = "OPTIONS"
39 | static let TRACE : HTTPMethod = "TRACE"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:38: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
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
36 | static let PUT : HTTPMethod = "PUT"
37 | static let CONNECT : HTTPMethod = "CONNECT"
38 | static let OPTIONS : HTTPMethod = "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
39 | static let TRACE : HTTPMethod = "TRACE"
40 | static let COPY : HTTPMethod = "COPY"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:39: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
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
37 | static let CONNECT : HTTPMethod = "CONNECT"
38 | static let OPTIONS : HTTPMethod = "OPTIONS"
39 | static let TRACE : HTTPMethod = "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
40 | static let COPY : HTTPMethod = "COPY"
41 | static let LOCK : HTTPMethod = "LOCK"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:40:14: warning: static property 'COPY' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
38 | static let OPTIONS : HTTPMethod = "OPTIONS"
39 | static let TRACE : HTTPMethod = "TRACE"
40 | static let COPY : HTTPMethod = "COPY"
| |- warning: static property 'COPY' 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 'COPY' with '@MainActor' 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 LOCK : HTTPMethod = "LOCK"
42 | static let MKCOL : HTTPMethod = "MKCOL"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:41:14: warning: static property 'LOCK' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
39 | static let TRACE : HTTPMethod = "TRACE"
40 | static let COPY : HTTPMethod = "COPY"
41 | static let LOCK : HTTPMethod = "LOCK"
| |- warning: static property 'LOCK' 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 'LOCK' with '@MainActor' 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 MKCOL : HTTPMethod = "MKCOL"
43 | static let MOVE : HTTPMethod = "MOVE"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:42:14: warning: static property 'MKCOL' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
40 | static let COPY : HTTPMethod = "COPY"
41 | static let LOCK : HTTPMethod = "LOCK"
42 | static let MKCOL : HTTPMethod = "MKCOL"
| |- warning: static property 'MKCOL' 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 'MKCOL' with '@MainActor' 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 MOVE : HTTPMethod = "MOVE"
44 | static let PROPFIND : HTTPMethod = "PROPFIND"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:43:14: warning: static property 'MOVE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
41 | static let LOCK : HTTPMethod = "LOCK"
42 | static let MKCOL : HTTPMethod = "MKCOL"
43 | static let MOVE : HTTPMethod = "MOVE"
| |- warning: static property 'MOVE' 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 'MOVE' with '@MainActor' 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 PROPFIND : HTTPMethod = "PROPFIND"
45 | static let PROPPATCH : HTTPMethod = "PROPPATCH"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:44:14: warning: static property 'PROPFIND' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
42 | static let MKCOL : HTTPMethod = "MKCOL"
43 | static let MOVE : HTTPMethod = "MOVE"
44 | static let PROPFIND : HTTPMethod = "PROPFIND"
| |- warning: static property 'PROPFIND' 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 'PROPFIND' with '@MainActor' 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 PROPPATCH : HTTPMethod = "PROPPATCH"
46 | static let SEARCH : HTTPMethod = "SEARCH"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:45:14: warning: static property 'PROPPATCH' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
43 | static let MOVE : HTTPMethod = "MOVE"
44 | static let PROPFIND : HTTPMethod = "PROPFIND"
45 | static let PROPPATCH : HTTPMethod = "PROPPATCH"
| |- warning: static property 'PROPPATCH' 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 'PROPPATCH' with '@MainActor' 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 SEARCH : HTTPMethod = "SEARCH"
47 | static let UNLOCK : HTTPMethod = "UNLOCK"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:46:14: warning: static property 'SEARCH' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
44 | static let PROPFIND : HTTPMethod = "PROPFIND"
45 | static let PROPPATCH : HTTPMethod = "PROPPATCH"
46 | static let SEARCH : HTTPMethod = "SEARCH"
| |- warning: static property 'SEARCH' 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 'SEARCH' with '@MainActor' 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 UNLOCK : HTTPMethod = "UNLOCK"
48 | static let REPORT : HTTPMethod = "REPORT"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:47:14: warning: static property 'UNLOCK' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
45 | static let PROPPATCH : HTTPMethod = "PROPPATCH"
46 | static let SEARCH : HTTPMethod = "SEARCH"
47 | static let UNLOCK : HTTPMethod = "UNLOCK"
| |- warning: static property 'UNLOCK' 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 'UNLOCK' with '@MainActor' 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 REPORT : HTTPMethod = "REPORT"
49 | static let MKACTIVITY : HTTPMethod = "MKACTIVITY"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:48:14: warning: static property 'REPORT' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
46 | static let SEARCH : HTTPMethod = "SEARCH"
47 | static let UNLOCK : HTTPMethod = "UNLOCK"
48 | static let REPORT : HTTPMethod = "REPORT"
| |- warning: static property 'REPORT' 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 'REPORT' with '@MainActor' 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 MKACTIVITY : HTTPMethod = "MKACTIVITY"
50 | static let CHECKOUT : HTTPMethod = "CHECKOUT"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:49:14: warning: static property 'MKACTIVITY' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
47 | static let UNLOCK : HTTPMethod = "UNLOCK"
48 | static let REPORT : HTTPMethod = "REPORT"
49 | static let MKACTIVITY : HTTPMethod = "MKACTIVITY"
| |- warning: static property 'MKACTIVITY' 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 'MKACTIVITY' with '@MainActor' 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 CHECKOUT : HTTPMethod = "CHECKOUT"
51 | static let MERGE : HTTPMethod = "MERGE"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:50:14: warning: static property 'CHECKOUT' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
48 | static let REPORT : HTTPMethod = "REPORT"
49 | static let MKACTIVITY : HTTPMethod = "MKACTIVITY"
50 | static let CHECKOUT : HTTPMethod = "CHECKOUT"
| |- warning: static property 'CHECKOUT' 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 'CHECKOUT' with '@MainActor' 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 MERGE : HTTPMethod = "MERGE"
52 | static let MSEARCH : HTTPMethod = "MSEARCH"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:51:14: warning: static property 'MERGE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
49 | static let MKACTIVITY : HTTPMethod = "MKACTIVITY"
50 | static let CHECKOUT : HTTPMethod = "CHECKOUT"
51 | static let MERGE : HTTPMethod = "MERGE"
| |- warning: static property 'MERGE' 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 'MERGE' with '@MainActor' 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 MSEARCH : HTTPMethod = "MSEARCH"
53 | static let NOTIFY : HTTPMethod = "NOTIFY"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:52:14: warning: static property 'MSEARCH' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
50 | static let CHECKOUT : HTTPMethod = "CHECKOUT"
51 | static let MERGE : HTTPMethod = "MERGE"
52 | static let MSEARCH : HTTPMethod = "MSEARCH"
| |- warning: static property 'MSEARCH' 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 'MSEARCH' with '@MainActor' 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 | static let NOTIFY : HTTPMethod = "NOTIFY"
54 | static let SUBSCRIBE : HTTPMethod = "SUBSCRIBE"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:53:14: warning: static property 'NOTIFY' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
51 | static let MERGE : HTTPMethod = "MERGE"
52 | static let MSEARCH : HTTPMethod = "MSEARCH"
53 | static let NOTIFY : HTTPMethod = "NOTIFY"
| |- warning: static property 'NOTIFY' 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 'NOTIFY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let SUBSCRIBE : HTTPMethod = "SUBSCRIBE"
55 | static let UNSUBSCRIBE : HTTPMethod = "UNSUBSCRIBE"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:54:14: warning: static property 'SUBSCRIBE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
52 | static let MSEARCH : HTTPMethod = "MSEARCH"
53 | static let NOTIFY : HTTPMethod = "NOTIFY"
54 | static let SUBSCRIBE : HTTPMethod = "SUBSCRIBE"
| |- warning: static property 'SUBSCRIBE' 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 'SUBSCRIBE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let UNSUBSCRIBE : HTTPMethod = "UNSUBSCRIBE"
56 | static let PATCH : HTTPMethod = "PATCH"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:55:14: warning: static property 'UNSUBSCRIBE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
53 | static let NOTIFY : HTTPMethod = "NOTIFY"
54 | static let SUBSCRIBE : HTTPMethod = "SUBSCRIBE"
55 | static let UNSUBSCRIBE : HTTPMethod = "UNSUBSCRIBE"
| |- warning: static property 'UNSUBSCRIBE' 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 'UNSUBSCRIBE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let PATCH : HTTPMethod = "PATCH"
57 | static let PURGE : HTTPMethod = "PURGE"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:56: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
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
54 | static let SUBSCRIBE : HTTPMethod = "SUBSCRIBE"
55 | static let UNSUBSCRIBE : HTTPMethod = "UNSUBSCRIBE"
56 | static let PATCH : HTTPMethod = "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
57 | static let PURGE : HTTPMethod = "PURGE"
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:57:14: warning: static property 'PURGE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
55 | static let UNSUBSCRIBE : HTTPMethod = "UNSUBSCRIBE"
56 | static let PATCH : HTTPMethod = "PATCH"
57 | static let PURGE : HTTPMethod = "PURGE"
| |- warning: static property 'PURGE' 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 'PURGE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | }
59 |
[15/20] Emitting module NWHTTPServer
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:31: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
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
29 |
30 | public extension HTTPMethod {
31 | static let GET : HTTPMethod = "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
32 | static let POST : HTTPMethod = "POST"
33 | static let MKCALENDAR : HTTPMethod = "MKCALENDAR"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:32: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
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
30 | public extension HTTPMethod {
31 | static let GET : HTTPMethod = "GET"
32 | static let POST : HTTPMethod = "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
33 | static let MKCALENDAR : HTTPMethod = "MKCALENDAR"
34 | static let DELETE : HTTPMethod = "DELETE"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:33:14: warning: static property 'MKCALENDAR' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
31 | static let GET : HTTPMethod = "GET"
32 | static let POST : HTTPMethod = "POST"
33 | static let MKCALENDAR : HTTPMethod = "MKCALENDAR"
| |- warning: static property 'MKCALENDAR' 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 'MKCALENDAR' with '@MainActor' 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 DELETE : HTTPMethod = "DELETE"
35 | static let HEAD : HTTPMethod = "HEAD"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:34: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
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
32 | static let POST : HTTPMethod = "POST"
33 | static let MKCALENDAR : HTTPMethod = "MKCALENDAR"
34 | static let DELETE : HTTPMethod = "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
35 | static let HEAD : HTTPMethod = "HEAD"
36 | static let PUT : HTTPMethod = "PUT"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:35: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
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
33 | static let MKCALENDAR : HTTPMethod = "MKCALENDAR"
34 | static let DELETE : HTTPMethod = "DELETE"
35 | static let HEAD : HTTPMethod = "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
36 | static let PUT : HTTPMethod = "PUT"
37 | static let CONNECT : HTTPMethod = "CONNECT"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:36: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
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
34 | static let DELETE : HTTPMethod = "DELETE"
35 | static let HEAD : HTTPMethod = "HEAD"
36 | static let PUT : HTTPMethod = "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
37 | static let CONNECT : HTTPMethod = "CONNECT"
38 | static let OPTIONS : HTTPMethod = "OPTIONS"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:37: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
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
35 | static let HEAD : HTTPMethod = "HEAD"
36 | static let PUT : HTTPMethod = "PUT"
37 | static let CONNECT : HTTPMethod = "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
38 | static let OPTIONS : HTTPMethod = "OPTIONS"
39 | static let TRACE : HTTPMethod = "TRACE"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:38: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
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
36 | static let PUT : HTTPMethod = "PUT"
37 | static let CONNECT : HTTPMethod = "CONNECT"
38 | static let OPTIONS : HTTPMethod = "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
39 | static let TRACE : HTTPMethod = "TRACE"
40 | static let COPY : HTTPMethod = "COPY"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:39: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
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
37 | static let CONNECT : HTTPMethod = "CONNECT"
38 | static let OPTIONS : HTTPMethod = "OPTIONS"
39 | static let TRACE : HTTPMethod = "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
40 | static let COPY : HTTPMethod = "COPY"
41 | static let LOCK : HTTPMethod = "LOCK"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:40:14: warning: static property 'COPY' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
38 | static let OPTIONS : HTTPMethod = "OPTIONS"
39 | static let TRACE : HTTPMethod = "TRACE"
40 | static let COPY : HTTPMethod = "COPY"
| |- warning: static property 'COPY' 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 'COPY' with '@MainActor' 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 LOCK : HTTPMethod = "LOCK"
42 | static let MKCOL : HTTPMethod = "MKCOL"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:41:14: warning: static property 'LOCK' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
39 | static let TRACE : HTTPMethod = "TRACE"
40 | static let COPY : HTTPMethod = "COPY"
41 | static let LOCK : HTTPMethod = "LOCK"
| |- warning: static property 'LOCK' 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 'LOCK' with '@MainActor' 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 MKCOL : HTTPMethod = "MKCOL"
43 | static let MOVE : HTTPMethod = "MOVE"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:42:14: warning: static property 'MKCOL' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
40 | static let COPY : HTTPMethod = "COPY"
41 | static let LOCK : HTTPMethod = "LOCK"
42 | static let MKCOL : HTTPMethod = "MKCOL"
| |- warning: static property 'MKCOL' 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 'MKCOL' with '@MainActor' 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 MOVE : HTTPMethod = "MOVE"
44 | static let PROPFIND : HTTPMethod = "PROPFIND"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:43:14: warning: static property 'MOVE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
41 | static let LOCK : HTTPMethod = "LOCK"
42 | static let MKCOL : HTTPMethod = "MKCOL"
43 | static let MOVE : HTTPMethod = "MOVE"
| |- warning: static property 'MOVE' 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 'MOVE' with '@MainActor' 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 PROPFIND : HTTPMethod = "PROPFIND"
45 | static let PROPPATCH : HTTPMethod = "PROPPATCH"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:44:14: warning: static property 'PROPFIND' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
42 | static let MKCOL : HTTPMethod = "MKCOL"
43 | static let MOVE : HTTPMethod = "MOVE"
44 | static let PROPFIND : HTTPMethod = "PROPFIND"
| |- warning: static property 'PROPFIND' 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 'PROPFIND' with '@MainActor' 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 PROPPATCH : HTTPMethod = "PROPPATCH"
46 | static let SEARCH : HTTPMethod = "SEARCH"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:45:14: warning: static property 'PROPPATCH' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
43 | static let MOVE : HTTPMethod = "MOVE"
44 | static let PROPFIND : HTTPMethod = "PROPFIND"
45 | static let PROPPATCH : HTTPMethod = "PROPPATCH"
| |- warning: static property 'PROPPATCH' 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 'PROPPATCH' with '@MainActor' 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 SEARCH : HTTPMethod = "SEARCH"
47 | static let UNLOCK : HTTPMethod = "UNLOCK"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:46:14: warning: static property 'SEARCH' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
44 | static let PROPFIND : HTTPMethod = "PROPFIND"
45 | static let PROPPATCH : HTTPMethod = "PROPPATCH"
46 | static let SEARCH : HTTPMethod = "SEARCH"
| |- warning: static property 'SEARCH' 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 'SEARCH' with '@MainActor' 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 UNLOCK : HTTPMethod = "UNLOCK"
48 | static let REPORT : HTTPMethod = "REPORT"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:47:14: warning: static property 'UNLOCK' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
45 | static let PROPPATCH : HTTPMethod = "PROPPATCH"
46 | static let SEARCH : HTTPMethod = "SEARCH"
47 | static let UNLOCK : HTTPMethod = "UNLOCK"
| |- warning: static property 'UNLOCK' 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 'UNLOCK' with '@MainActor' 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 REPORT : HTTPMethod = "REPORT"
49 | static let MKACTIVITY : HTTPMethod = "MKACTIVITY"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:48:14: warning: static property 'REPORT' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
46 | static let SEARCH : HTTPMethod = "SEARCH"
47 | static let UNLOCK : HTTPMethod = "UNLOCK"
48 | static let REPORT : HTTPMethod = "REPORT"
| |- warning: static property 'REPORT' 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 'REPORT' with '@MainActor' 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 MKACTIVITY : HTTPMethod = "MKACTIVITY"
50 | static let CHECKOUT : HTTPMethod = "CHECKOUT"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:49:14: warning: static property 'MKACTIVITY' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
47 | static let UNLOCK : HTTPMethod = "UNLOCK"
48 | static let REPORT : HTTPMethod = "REPORT"
49 | static let MKACTIVITY : HTTPMethod = "MKACTIVITY"
| |- warning: static property 'MKACTIVITY' 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 'MKACTIVITY' with '@MainActor' 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 CHECKOUT : HTTPMethod = "CHECKOUT"
51 | static let MERGE : HTTPMethod = "MERGE"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:50:14: warning: static property 'CHECKOUT' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
48 | static let REPORT : HTTPMethod = "REPORT"
49 | static let MKACTIVITY : HTTPMethod = "MKACTIVITY"
50 | static let CHECKOUT : HTTPMethod = "CHECKOUT"
| |- warning: static property 'CHECKOUT' 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 'CHECKOUT' with '@MainActor' 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 MERGE : HTTPMethod = "MERGE"
52 | static let MSEARCH : HTTPMethod = "MSEARCH"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:51:14: warning: static property 'MERGE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
49 | static let MKACTIVITY : HTTPMethod = "MKACTIVITY"
50 | static let CHECKOUT : HTTPMethod = "CHECKOUT"
51 | static let MERGE : HTTPMethod = "MERGE"
| |- warning: static property 'MERGE' 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 'MERGE' with '@MainActor' 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 MSEARCH : HTTPMethod = "MSEARCH"
53 | static let NOTIFY : HTTPMethod = "NOTIFY"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:52:14: warning: static property 'MSEARCH' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
50 | static let CHECKOUT : HTTPMethod = "CHECKOUT"
51 | static let MERGE : HTTPMethod = "MERGE"
52 | static let MSEARCH : HTTPMethod = "MSEARCH"
| |- warning: static property 'MSEARCH' 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 'MSEARCH' with '@MainActor' 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 | static let NOTIFY : HTTPMethod = "NOTIFY"
54 | static let SUBSCRIBE : HTTPMethod = "SUBSCRIBE"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:53:14: warning: static property 'NOTIFY' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
51 | static let MERGE : HTTPMethod = "MERGE"
52 | static let MSEARCH : HTTPMethod = "MSEARCH"
53 | static let NOTIFY : HTTPMethod = "NOTIFY"
| |- warning: static property 'NOTIFY' 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 'NOTIFY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let SUBSCRIBE : HTTPMethod = "SUBSCRIBE"
55 | static let UNSUBSCRIBE : HTTPMethod = "UNSUBSCRIBE"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:54:14: warning: static property 'SUBSCRIBE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
52 | static let MSEARCH : HTTPMethod = "MSEARCH"
53 | static let NOTIFY : HTTPMethod = "NOTIFY"
54 | static let SUBSCRIBE : HTTPMethod = "SUBSCRIBE"
| |- warning: static property 'SUBSCRIBE' 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 'SUBSCRIBE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let UNSUBSCRIBE : HTTPMethod = "UNSUBSCRIBE"
56 | static let PATCH : HTTPMethod = "PATCH"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:55:14: warning: static property 'UNSUBSCRIBE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
53 | static let NOTIFY : HTTPMethod = "NOTIFY"
54 | static let SUBSCRIBE : HTTPMethod = "SUBSCRIBE"
55 | static let UNSUBSCRIBE : HTTPMethod = "UNSUBSCRIBE"
| |- warning: static property 'UNSUBSCRIBE' 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 'UNSUBSCRIBE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let PATCH : HTTPMethod = "PATCH"
57 | static let PURGE : HTTPMethod = "PURGE"
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:56: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
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
54 | static let SUBSCRIBE : HTTPMethod = "SUBSCRIBE"
55 | static let UNSUBSCRIBE : HTTPMethod = "UNSUBSCRIBE"
56 | static let PATCH : HTTPMethod = "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
57 | static let PURGE : HTTPMethod = "PURGE"
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPMethod.swift:57:14: warning: static property 'PURGE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
9 |
10 | public let rawValue : String
:
55 | static let UNSUBSCRIBE : HTTPMethod = "UNSUBSCRIBE"
56 | static let PATCH : HTTPMethod = "PATCH"
57 | static let PURGE : HTTPMethod = "PURGE"
| |- warning: static property 'PURGE' 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 'PURGE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | }
59 |
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPStatus.swift:24: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
7 |
8 |
9 | public struct HTTPStatus: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
10 | public let rawValue : Int
11 | public init(rawValue status: Int) { self.rawValue = status }
:
22 | public extension HTTPStatus {
23 |
24 | static let ok : HTTPStatus = 200
| |- 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
25 | static let created : HTTPStatus = 201
26 | static let noContent : HTTPStatus = 204
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPStatus.swift:25:14: warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 |
9 | public struct HTTPStatus: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
10 | public let rawValue : Int
11 | public init(rawValue status: Int) { self.rawValue = status }
:
23 |
24 | static let ok : HTTPStatus = 200
25 | static let created : HTTPStatus = 201
| |- warning: static property 'created' 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 'created' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | static let noContent : HTTPStatus = 204
27 |
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPStatus.swift:26:14: warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 |
9 | public struct HTTPStatus: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
10 | public let rawValue : Int
11 | public init(rawValue status: Int) { self.rawValue = status }
:
24 | static let ok : HTTPStatus = 200
25 | static let created : HTTPStatus = 201
26 | static let noContent : HTTPStatus = 204
| |- warning: static property 'noContent' 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 'noContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | static let badRequest : HTTPStatus = 400
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPStatus.swift:28: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
7 |
8 |
9 | public struct HTTPStatus: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
10 | public let rawValue : Int
11 | public init(rawValue status: Int) { self.rawValue = status }
:
26 | static let noContent : HTTPStatus = 204
27 |
28 | static let badRequest : HTTPStatus = 400
| |- 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
29 | static let paymentRequired : HTTPStatus = 402
30 | static let forbidden : HTTPStatus = 403
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPStatus.swift:29:14: warning: static property 'paymentRequired' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 |
9 | public struct HTTPStatus: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
10 | public let rawValue : Int
11 | public init(rawValue status: Int) { self.rawValue = status }
:
27 |
28 | static let badRequest : HTTPStatus = 400
29 | static let paymentRequired : HTTPStatus = 402
| |- warning: static property 'paymentRequired' 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 'paymentRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | static let forbidden : HTTPStatus = 403
31 | static let notFound : HTTPStatus = 404
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPStatus.swift:30:14: warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 |
9 | public struct HTTPStatus: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
10 | public let rawValue : Int
11 | public init(rawValue status: Int) { self.rawValue = status }
:
28 | static let badRequest : HTTPStatus = 400
29 | static let paymentRequired : HTTPStatus = 402
30 | static let forbidden : HTTPStatus = 403
| |- warning: static property 'forbidden' 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 'forbidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | static let notFound : HTTPStatus = 404
32 |
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPStatus.swift:31:14: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 |
9 | public struct HTTPStatus: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
10 | public let rawValue : Int
11 | public init(rawValue status: Int) { self.rawValue = status }
:
29 | static let paymentRequired : HTTPStatus = 402
30 | static let forbidden : HTTPStatus = 403
31 | static let notFound : HTTPStatus = 404
| |- warning: static property 'notFound' 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 'notFound' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static let serverError : HTTPStatus = 500
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPStatus.swift:33:14: warning: static property 'serverError' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 |
9 | public struct HTTPStatus: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
10 | public let rawValue : Int
11 | public init(rawValue status: Int) { self.rawValue = status }
:
31 | static let notFound : HTTPStatus = 404
32 |
33 | static let serverError : HTTPStatus = 500
| |- warning: static property 'serverError' 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 'serverError' with '@MainActor' 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 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/StringEncodingError.swift:9:32: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
7 |
8 | public struct StringEncodingError : Swift.Error {
9 | public let encoding : String.Encoding
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
10 | }
11 |
Foundation.String:3:19: note: type declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | extension String {
3 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: type declared here
4 | public var rawValue: UInt
5 | public init(rawValue: UInt)
[16/20] Compiling NWHTTPServer ServerResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/ServerResponse.swift:143:46: warning: capture of 'self' with non-sendable type 'ServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | *
45 | */
46 | open class ServerResponse {
| `- note: class 'ServerResponse' does not conform to the 'Sendable' protocol
47 | // Most is marked `open` in case the consumer wants to patch stuff in a
48 | // subclass.
:
141 | contentContext: context, isComplete: true,
142 | completion: .contentProcessed({ error in
143 | if let error = error { self.handleWriteError(error) }
| `- warning: capture of 'self' with non-sendable type 'ServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 | }))
145 |
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/ServerResponse.swift:179:46: warning: capture of 'self' with non-sendable type 'ServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | *
45 | */
46 | open class ServerResponse {
| `- note: class 'ServerResponse' does not conform to the 'Sendable' protocol
47 | // Most is marked `open` in case the consumer wants to patch stuff in a
48 | // subclass.
:
177 | contentContext: context, isComplete: true,
178 | completion: .contentProcessed({ error in
179 | if let error = error { self.handleWriteError(error) }
| `- warning: capture of 'self' with non-sendable type 'ServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
180 | }))
181 | return true
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/ServerResponse.swift:213:23: warning: capture of 'callbacks' with non-sendable type '[(ServerResponse) -> Void]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
211 | connection.send(content: nil, contentContext: context, isComplete: true,
212 | completion: .contentProcessed({ error in
213 | callbacks.forEach { $0(self) }
| |- warning: capture of 'callbacks' with non-sendable type '[(ServerResponse) -> Void]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
214 | if !keepAlive {
215 | connection.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/ServerResponse.swift:213:46: warning: capture of 'self' with non-sendable type 'ServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | *
45 | */
46 | open class ServerResponse {
| `- note: class 'ServerResponse' does not conform to the 'Sendable' protocol
47 | // Most is marked `open` in case the consumer wants to patch stuff in a
48 | // subclass.
:
211 | connection.send(content: nil, contentContext: context, isComplete: true,
212 | completion: .contentProcessed({ error in
213 | callbacks.forEach { $0(self) }
| `- warning: capture of 'self' with non-sendable type 'ServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
214 | if !keepAlive {
215 | connection.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/ServerResponse.swift:213:46: warning: capture of 'self' with non-sendable type 'ServerResponse' in an isolated closure; this is an error in the Swift 6 language mode
44 | *
45 | */
46 | open class ServerResponse {
| `- note: class 'ServerResponse' does not conform to the 'Sendable' protocol
47 | // Most is marked `open` in case the consumer wants to patch stuff in a
48 | // subclass.
:
211 | connection.send(content: nil, contentContext: context, isComplete: true,
212 | completion: .contentProcessed({ error in
213 | callbacks.forEach { $0(self) }
| `- warning: capture of 'self' with non-sendable type 'ServerResponse' in an isolated closure; this is an error in the Swift 6 language mode
214 | if !keepAlive {
215 | connection.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/ServerResponse.swift:233:51: warning: converting non-sendable function value to '@Sendable (NWError?) -> Void' may introduce data races
231 | guard let content = content, !content.isEmpty else { return }
232 | connection.send(content: content,
233 | completion: .contentProcessed(handleWriteResult(_:)))
| `- warning: converting non-sendable function value to '@Sendable (NWError?) -> Void' may introduce data races
234 | }
235 |
[17/20] Compiling NWHTTPServer HTTPServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPServer.swift:109:35: warning: converting non-sendable function value to '@Sendable (NWConnection) -> Void' may introduce data races
107 | */
108 | public func resume() {
109 | listener.newConnectionHandler = handleNewConnection
| `- warning: converting non-sendable function value to '@Sendable (NWConnection) -> Void' may introduce data races
110 | listener.stateUpdateHandler = handleListenerStateChange
111 | listener.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPServer.swift:110:35: warning: converting non-sendable function value to '@Sendable (NWListener.State) -> Void' may introduce data races
108 | public func resume() {
109 | listener.newConnectionHandler = handleNewConnection
110 | listener.stateUpdateHandler = handleListenerStateChange
| `- warning: converting non-sendable function value to '@Sendable (NWListener.State) -> Void' may introduce data races
111 | listener.start(queue: queue)
112 | }
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPServer.swift:231:7: warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | *
29 | */
30 | public final class HTTPServer {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
31 |
32 | let queue : DispatchQueue
:
229 |
230 | connection.stateUpdateHandler = {
231 | self.handleStateChange($0, on: connection)
| `- warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
232 | }
233 | connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPServer.swift:242:25: warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | *
29 | */
30 | public final class HTTPServer {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
31 |
32 | let queue : DispatchQueue
:
240 | assert(isComplete || error != nil) // right?
241 |
242 | guard let state = self.clients[oid] else { // already cancelled.
| `- warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
243 | // can happen when the server is suspended (that cancels all the
244 | // connections and drops all states synchronously).
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPServer.swift:252:26: warning: capture of 'self' with non-sendable type 'HTTPServer' in an isolated local function; this is an error in the Swift 6 language mode
28 | *
29 | */
30 | public final class HTTPServer {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
31 |
32 | let queue : DispatchQueue
:
250 | // error handled as part of the request
251 | }
252 | else if let cb = self._errorCB {
| `- warning: capture of 'self' with non-sendable type 'HTTPServer' in an isolated local function; this is an error in the Swift 6 language mode
253 | cb(self, error)
254 | }
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/HTTPServer.swift:299:26: warning: capture of 'self' with non-sendable type 'HTTPServer' in an isolated closure; this is an error in the Swift 6 language mode
28 | *
29 | */
30 | public final class HTTPServer {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
31 |
32 | let queue : DispatchQueue
:
297 |
298 | res.onEnd { res in
299 | if let state = self.clients[oid],
| `- warning: capture of 'self' with non-sendable type 'HTTPServer' in an isolated closure; this is an error in the Swift 6 language mode
300 | case .running(let connection, _, _) = state,
301 | connection === res.connection
[18/22] Emitting module samplehttpd
[19/22] Compiling samplehttpd main.swift
[19/22] Write Objects.LinkFileList
[20/22] Linking samplehttpd
[21/22] Applying samplehttpd
Build complete! (8.17s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "NWHTTPProtocol",
"name" : "NWHTTPProtocol",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "CHTTPParser",
"targets" : [
"CHTTPParser"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "NWHTTPProtocol",
"targets" : [
"NWHTTPProtocol"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "NWHTTPServer",
"targets" : [
"NWHTTPServer"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "samplehttpd",
"targets" : [
"samplehttpd"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "samplehttpd",
"module_type" : "SwiftTarget",
"name" : "samplehttpd",
"path" : "Sources/samplehttpd",
"product_memberships" : [
"samplehttpd"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"NWHTTPServer"
],
"type" : "executable"
},
{
"c99name" : "NWHTTPServer",
"module_type" : "SwiftTarget",
"name" : "NWHTTPServer",
"path" : "Sources/NWHTTPServer",
"product_memberships" : [
"NWHTTPServer",
"samplehttpd"
],
"sources" : [
"HTTPMethod.swift",
"HTTPServer.swift",
"HTTPStatus.swift",
"IncomingMessage.swift",
"ServerResponse.swift",
"StringEncodingError.swift"
],
"target_dependencies" : [
"NWHTTPProtocol"
],
"type" : "library"
},
{
"c99name" : "NWHTTPProtocol",
"module_type" : "SwiftTarget",
"name" : "NWHTTPProtocol",
"path" : "Sources/NWHTTPProtocol",
"product_memberships" : [
"NWHTTPProtocol",
"NWHTTPServer",
"samplehttpd"
],
"sources" : [
"HTTPContext.swift",
"HTTPMessage.swift",
"HTTPProtocol.swift"
],
"target_dependencies" : [
"CHTTPParser"
],
"type" : "library"
},
{
"c99name" : "CHTTPParser",
"module_type" : "ClangTarget",
"name" : "CHTTPParser",
"path" : "Sources/CHTTPParser",
"product_memberships" : [
"CHTTPParser",
"NWHTTPProtocol",
"NWHTTPServer",
"samplehttpd"
],
"sources" : [
"http_parser.c"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.