Build Information
Failed to build Hyperspace with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:315:16: warning: static property 'methodNotAllowed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
313 | static let forbidden = HTTP.Status.ClientError(rawValue: 403)
314 | static let notFound = HTTP.Status.ClientError(rawValue: 404)
315 | static let methodNotAllowed = HTTP.Status.ClientError(rawValue: 405)
| |- warning: static property 'methodNotAllowed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodNotAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
316 | static let notAcceptable = HTTP.Status.ClientError(rawValue: 406)
317 | static let proxyAuthenticationRequired = HTTP.Status.ClientError(rawValue: 407)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:316:16: warning: static property 'notAcceptable' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
314 | static let notFound = HTTP.Status.ClientError(rawValue: 404)
315 | static let methodNotAllowed = HTTP.Status.ClientError(rawValue: 405)
316 | static let notAcceptable = HTTP.Status.ClientError(rawValue: 406)
| |- warning: static property 'notAcceptable' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notAcceptable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
317 | static let proxyAuthenticationRequired = HTTP.Status.ClientError(rawValue: 407)
318 | static let requestTimeout = HTTP.Status.ClientError(rawValue: 408)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:317:16: warning: static property 'proxyAuthenticationRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
315 | static let methodNotAllowed = HTTP.Status.ClientError(rawValue: 405)
316 | static let notAcceptable = HTTP.Status.ClientError(rawValue: 406)
317 | static let proxyAuthenticationRequired = HTTP.Status.ClientError(rawValue: 407)
| |- warning: static property 'proxyAuthenticationRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proxyAuthenticationRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
318 | static let requestTimeout = HTTP.Status.ClientError(rawValue: 408)
319 | static let conflict = HTTP.Status.ClientError(rawValue: 409)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:318:16: warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
316 | static let notAcceptable = HTTP.Status.ClientError(rawValue: 406)
317 | static let proxyAuthenticationRequired = HTTP.Status.ClientError(rawValue: 407)
318 | static let requestTimeout = HTTP.Status.ClientError(rawValue: 408)
| |- warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'requestTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
319 | static let conflict = HTTP.Status.ClientError(rawValue: 409)
320 | static let gone = HTTP.Status.ClientError(rawValue: 410)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:319:16: warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
317 | static let proxyAuthenticationRequired = HTTP.Status.ClientError(rawValue: 407)
318 | static let requestTimeout = HTTP.Status.ClientError(rawValue: 408)
319 | static let conflict = HTTP.Status.ClientError(rawValue: 409)
| |- warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'conflict' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
320 | static let gone = HTTP.Status.ClientError(rawValue: 410)
321 | static let lengthRequried = HTTP.Status.ClientError(rawValue: 411)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:320:16: warning: static property 'gone' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
318 | static let requestTimeout = HTTP.Status.ClientError(rawValue: 408)
319 | static let conflict = HTTP.Status.ClientError(rawValue: 409)
320 | static let gone = HTTP.Status.ClientError(rawValue: 410)
| |- warning: static property 'gone' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gone' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
321 | static let lengthRequried = HTTP.Status.ClientError(rawValue: 411)
322 | static let preconditionFailed = HTTP.Status.ClientError(rawValue: 412)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:321:16: warning: static property 'lengthRequried' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
319 | static let conflict = HTTP.Status.ClientError(rawValue: 409)
320 | static let gone = HTTP.Status.ClientError(rawValue: 410)
321 | static let lengthRequried = HTTP.Status.ClientError(rawValue: 411)
| |- warning: static property 'lengthRequried' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lengthRequried' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 | static let preconditionFailed = HTTP.Status.ClientError(rawValue: 412)
323 | static let payloadTooLarge = HTTP.Status.ClientError(rawValue: 413)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:322:16: warning: static property 'preconditionFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
320 | static let gone = HTTP.Status.ClientError(rawValue: 410)
321 | static let lengthRequried = HTTP.Status.ClientError(rawValue: 411)
322 | static let preconditionFailed = HTTP.Status.ClientError(rawValue: 412)
| |- warning: static property 'preconditionFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preconditionFailed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 | static let payloadTooLarge = HTTP.Status.ClientError(rawValue: 413)
324 | static let uriTooLong = HTTP.Status.ClientError(rawValue: 414)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:323:16: warning: static property 'payloadTooLarge' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
321 | static let lengthRequried = HTTP.Status.ClientError(rawValue: 411)
322 | static let preconditionFailed = HTTP.Status.ClientError(rawValue: 412)
323 | static let payloadTooLarge = HTTP.Status.ClientError(rawValue: 413)
| |- warning: static property 'payloadTooLarge' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'payloadTooLarge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
324 | static let uriTooLong = HTTP.Status.ClientError(rawValue: 414)
325 | static let unsupportedMediaType = HTTP.Status.ClientError(rawValue: 415)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:324:16: warning: static property 'uriTooLong' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
322 | static let preconditionFailed = HTTP.Status.ClientError(rawValue: 412)
323 | static let payloadTooLarge = HTTP.Status.ClientError(rawValue: 413)
324 | static let uriTooLong = HTTP.Status.ClientError(rawValue: 414)
| |- warning: static property 'uriTooLong' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriTooLong' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
325 | static let unsupportedMediaType = HTTP.Status.ClientError(rawValue: 415)
326 | static let rangeNotSatisfiable = HTTP.Status.ClientError(rawValue: 416)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:325:16: warning: static property 'unsupportedMediaType' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
323 | static let payloadTooLarge = HTTP.Status.ClientError(rawValue: 413)
324 | static let uriTooLong = HTTP.Status.ClientError(rawValue: 414)
325 | static let unsupportedMediaType = HTTP.Status.ClientError(rawValue: 415)
| |- warning: static property 'unsupportedMediaType' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unsupportedMediaType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
326 | static let rangeNotSatisfiable = HTTP.Status.ClientError(rawValue: 416)
327 | static let expectationFailed = HTTP.Status.ClientError(rawValue: 417)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:326:16: warning: static property 'rangeNotSatisfiable' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
324 | static let uriTooLong = HTTP.Status.ClientError(rawValue: 414)
325 | static let unsupportedMediaType = HTTP.Status.ClientError(rawValue: 415)
326 | static let rangeNotSatisfiable = HTTP.Status.ClientError(rawValue: 416)
| |- warning: static property 'rangeNotSatisfiable' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rangeNotSatisfiable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
327 | static let expectationFailed = HTTP.Status.ClientError(rawValue: 417)
328 | static let imATeapot = HTTP.Status.ClientError(rawValue: 418)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:327:16: warning: static property 'expectationFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
325 | static let unsupportedMediaType = HTTP.Status.ClientError(rawValue: 415)
326 | static let rangeNotSatisfiable = HTTP.Status.ClientError(rawValue: 416)
327 | static let expectationFailed = HTTP.Status.ClientError(rawValue: 417)
| |- warning: static property 'expectationFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectationFailed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
328 | static let imATeapot = HTTP.Status.ClientError(rawValue: 418)
329 | static let misdirectedRequest = HTTP.Status.ClientError(rawValue: 421)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:328:16: warning: static property 'imATeapot' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
326 | static let rangeNotSatisfiable = HTTP.Status.ClientError(rawValue: 416)
327 | static let expectationFailed = HTTP.Status.ClientError(rawValue: 417)
328 | static let imATeapot = HTTP.Status.ClientError(rawValue: 418)
| |- warning: static property 'imATeapot' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imATeapot' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
329 | static let misdirectedRequest = HTTP.Status.ClientError(rawValue: 421)
330 | static let unproccessableEntity = HTTP.Status.ClientError(rawValue: 422)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:329:16: warning: static property 'misdirectedRequest' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
327 | static let expectationFailed = HTTP.Status.ClientError(rawValue: 417)
328 | static let imATeapot = HTTP.Status.ClientError(rawValue: 418)
329 | static let misdirectedRequest = HTTP.Status.ClientError(rawValue: 421)
| |- warning: static property 'misdirectedRequest' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'misdirectedRequest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 | static let unproccessableEntity = HTTP.Status.ClientError(rawValue: 422)
331 | static let locked = HTTP.Status.ClientError(rawValue: 423)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:330:16: warning: static property 'unproccessableEntity' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
328 | static let imATeapot = HTTP.Status.ClientError(rawValue: 418)
329 | static let misdirectedRequest = HTTP.Status.ClientError(rawValue: 421)
330 | static let unproccessableEntity = HTTP.Status.ClientError(rawValue: 422)
| |- warning: static property 'unproccessableEntity' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unproccessableEntity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
331 | static let locked = HTTP.Status.ClientError(rawValue: 423)
332 | static let failedDependency = HTTP.Status.ClientError(rawValue: 424)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:331:16: warning: static property 'locked' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
329 | static let misdirectedRequest = HTTP.Status.ClientError(rawValue: 421)
330 | static let unproccessableEntity = HTTP.Status.ClientError(rawValue: 422)
331 | static let locked = HTTP.Status.ClientError(rawValue: 423)
| |- warning: static property 'locked' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'locked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
332 | static let failedDependency = HTTP.Status.ClientError(rawValue: 424)
333 | static let upgradeRequired = HTTP.Status.ClientError(rawValue: 426)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:332:16: warning: static property 'failedDependency' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
330 | static let unproccessableEntity = HTTP.Status.ClientError(rawValue: 422)
331 | static let locked = HTTP.Status.ClientError(rawValue: 423)
332 | static let failedDependency = HTTP.Status.ClientError(rawValue: 424)
| |- warning: static property 'failedDependency' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'failedDependency' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | static let upgradeRequired = HTTP.Status.ClientError(rawValue: 426)
334 | static let preconditionRequired = HTTP.Status.ClientError(rawValue: 428)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:333:16: warning: static property 'upgradeRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
331 | static let locked = HTTP.Status.ClientError(rawValue: 423)
332 | static let failedDependency = HTTP.Status.ClientError(rawValue: 424)
333 | static let upgradeRequired = HTTP.Status.ClientError(rawValue: 426)
| |- warning: static property 'upgradeRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'upgradeRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | static let preconditionRequired = HTTP.Status.ClientError(rawValue: 428)
335 | static let tooManyRequests = HTTP.Status.ClientError(rawValue: 429)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:334:16: warning: static property 'preconditionRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
332 | static let failedDependency = HTTP.Status.ClientError(rawValue: 424)
333 | static let upgradeRequired = HTTP.Status.ClientError(rawValue: 426)
334 | static let preconditionRequired = HTTP.Status.ClientError(rawValue: 428)
| |- warning: static property 'preconditionRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preconditionRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 | static let tooManyRequests = HTTP.Status.ClientError(rawValue: 429)
336 | static let requestHeaderFieldsTooLarge = HTTP.Status.ClientError(rawValue: 431)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:335:16: warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
333 | static let upgradeRequired = HTTP.Status.ClientError(rawValue: 426)
334 | static let preconditionRequired = HTTP.Status.ClientError(rawValue: 428)
335 | static let tooManyRequests = HTTP.Status.ClientError(rawValue: 429)
| |- warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tooManyRequests' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 | static let requestHeaderFieldsTooLarge = HTTP.Status.ClientError(rawValue: 431)
337 | static let unavailableForLegalReasons = HTTP.Status.ClientError(rawValue: 451)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:336:16: warning: static property 'requestHeaderFieldsTooLarge' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
334 | static let preconditionRequired = HTTP.Status.ClientError(rawValue: 428)
335 | static let tooManyRequests = HTTP.Status.ClientError(rawValue: 429)
336 | static let requestHeaderFieldsTooLarge = HTTP.Status.ClientError(rawValue: 431)
| |- warning: static property 'requestHeaderFieldsTooLarge' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'requestHeaderFieldsTooLarge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 | static let unavailableForLegalReasons = HTTP.Status.ClientError(rawValue: 451)
338 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:337:16: warning: static property 'unavailableForLegalReasons' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
335 | static let tooManyRequests = HTTP.Status.ClientError(rawValue: 429)
336 | static let requestHeaderFieldsTooLarge = HTTP.Status.ClientError(rawValue: 431)
337 | static let unavailableForLegalReasons = HTTP.Status.ClientError(rawValue: 451)
| |- warning: static property 'unavailableForLegalReasons' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unavailableForLegalReasons' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | }
339 |
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:341:16: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
339 |
340 | public extension HTTP.Status.ServerError {
341 | static let internalServerError = HTTP.Status.ServerError(rawValue: 500)
| |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'internalServerError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
342 | static let notImplemented = HTTP.Status.ServerError(rawValue: 501)
343 | static let badGateway = HTTP.Status.ServerError(rawValue: 502)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:342:16: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
340 | public extension HTTP.Status.ServerError {
341 | static let internalServerError = HTTP.Status.ServerError(rawValue: 500)
342 | static let notImplemented = HTTP.Status.ServerError(rawValue: 501)
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' 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
343 | static let badGateway = HTTP.Status.ServerError(rawValue: 502)
344 | static let serviceUnavailable = HTTP.Status.ServerError(rawValue: 503)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:343:16: warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
341 | static let internalServerError = HTTP.Status.ServerError(rawValue: 500)
342 | static let notImplemented = HTTP.Status.ServerError(rawValue: 501)
343 | static let badGateway = HTTP.Status.ServerError(rawValue: 502)
| |- warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'badGateway' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 | static let serviceUnavailable = HTTP.Status.ServerError(rawValue: 503)
345 | static let gatewayTimeout = HTTP.Status.ServerError(rawValue: 504)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:344:16: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
342 | static let notImplemented = HTTP.Status.ServerError(rawValue: 501)
343 | static let badGateway = HTTP.Status.ServerError(rawValue: 502)
344 | static let serviceUnavailable = HTTP.Status.ServerError(rawValue: 503)
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'serviceUnavailable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
345 | static let gatewayTimeout = HTTP.Status.ServerError(rawValue: 504)
346 | static let httpVersionNotSupported = HTTP.Status.ServerError(rawValue: 505)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:345:16: warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
343 | static let badGateway = HTTP.Status.ServerError(rawValue: 502)
344 | static let serviceUnavailable = HTTP.Status.ServerError(rawValue: 503)
345 | static let gatewayTimeout = HTTP.Status.ServerError(rawValue: 504)
| |- warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gatewayTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
346 | static let httpVersionNotSupported = HTTP.Status.ServerError(rawValue: 505)
347 | static let variantAlsoNegotiates = HTTP.Status.ServerError(rawValue: 506)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:346:16: warning: static property 'httpVersionNotSupported' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
344 | static let serviceUnavailable = HTTP.Status.ServerError(rawValue: 503)
345 | static let gatewayTimeout = HTTP.Status.ServerError(rawValue: 504)
346 | static let httpVersionNotSupported = HTTP.Status.ServerError(rawValue: 505)
| |- warning: static property 'httpVersionNotSupported' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'httpVersionNotSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
347 | static let variantAlsoNegotiates = HTTP.Status.ServerError(rawValue: 506)
348 | static let insufficientStorage = HTTP.Status.ServerError(rawValue: 507)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:347:16: warning: static property 'variantAlsoNegotiates' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
345 | static let gatewayTimeout = HTTP.Status.ServerError(rawValue: 504)
346 | static let httpVersionNotSupported = HTTP.Status.ServerError(rawValue: 505)
347 | static let variantAlsoNegotiates = HTTP.Status.ServerError(rawValue: 506)
| |- warning: static property 'variantAlsoNegotiates' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'variantAlsoNegotiates' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
348 | static let insufficientStorage = HTTP.Status.ServerError(rawValue: 507)
349 | static let loopDetected = HTTP.Status.ServerError(rawValue: 508)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:348:16: warning: static property 'insufficientStorage' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
346 | static let httpVersionNotSupported = HTTP.Status.ServerError(rawValue: 505)
347 | static let variantAlsoNegotiates = HTTP.Status.ServerError(rawValue: 506)
348 | static let insufficientStorage = HTTP.Status.ServerError(rawValue: 507)
| |- warning: static property 'insufficientStorage' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'insufficientStorage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 | static let loopDetected = HTTP.Status.ServerError(rawValue: 508)
350 | static let notExtended = HTTP.Status.ServerError(rawValue: 510)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:349:16: warning: static property 'loopDetected' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
347 | static let variantAlsoNegotiates = HTTP.Status.ServerError(rawValue: 506)
348 | static let insufficientStorage = HTTP.Status.ServerError(rawValue: 507)
349 | static let loopDetected = HTTP.Status.ServerError(rawValue: 508)
| |- warning: static property 'loopDetected' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopDetected' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
350 | static let notExtended = HTTP.Status.ServerError(rawValue: 510)
351 | static let networkAuthenticationRequired = HTTP.Status.ServerError(rawValue: 511)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:350:16: warning: static property 'notExtended' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
348 | static let insufficientStorage = HTTP.Status.ServerError(rawValue: 507)
349 | static let loopDetected = HTTP.Status.ServerError(rawValue: 508)
350 | static let notExtended = HTTP.Status.ServerError(rawValue: 510)
| |- warning: static property 'notExtended' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notExtended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
351 | static let networkAuthenticationRequired = HTTP.Status.ServerError(rawValue: 511)
352 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:351:16: warning: static property 'networkAuthenticationRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
349 | static let loopDetected = HTTP.Status.ServerError(rawValue: 508)
350 | static let notExtended = HTTP.Status.ServerError(rawValue: 510)
351 | static let networkAuthenticationRequired = HTTP.Status.ServerError(rawValue: 511)
| |- warning: static property 'networkAuthenticationRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'networkAuthenticationRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
352 | }
353 |
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:156:82: error: cannot infer contextual base in reference to member 'init'
154 | let headers = urlRequest.allHTTPHeaderFields
155 | self.init(url: urlRequest.url, method: urlRequest.httpMethod.flatMap(HTTP.Method.init),
156 | headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
| `- error: cannot infer contextual base in reference to member 'init'
157 | body: urlRequest.httpBody)
158 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:156:107: error: cannot infer contextual base in reference to member 'init'
154 | let headers = urlRequest.allHTTPHeaderFields
155 | self.init(url: urlRequest.url, method: urlRequest.httpMethod.flatMap(HTTP.Method.init),
156 | headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
| `- error: cannot infer contextual base in reference to member 'init'
157 | body: urlRequest.httpBody)
158 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:200:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
198 | /// - body: The raw `Data` associated with the response, if any was provided.
199 | public init(request: HTTP.Request, httpURLResponse: HTTPURLResponse, body: Data? = nil) {
200 | let headers = httpURLResponse.allHeaderFields as? [String: String]
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
201 | self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
202 | headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:201:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
199 | public init(request: HTTP.Request, httpURLResponse: HTTPURLResponse, body: Data? = nil) {
200 | let headers = httpURLResponse.allHeaderFields as? [String: String]
201 | self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
202 | headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
203 | body: body)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:201:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
199 | public init(request: HTTP.Request, httpURLResponse: HTTPURLResponse, body: Data? = nil) {
200 | let headers = httpURLResponse.allHeaderFields as? [String: String]
201 | self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
202 | headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
203 | body: body)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:202:82: error: cannot infer contextual base in reference to member 'init'
200 | let headers = httpURLResponse.allHeaderFields as? [String: String]
201 | self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
202 | headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
| `- error: cannot infer contextual base in reference to member 'init'
203 | body: body)
204 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:202:107: error: cannot infer contextual base in reference to member 'init'
200 | let headers = httpURLResponse.allHeaderFields as? [String: String]
201 | self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
202 | headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
| `- error: cannot infer contextual base in reference to member 'init'
203 | body: body)
204 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:214:36: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
212 |
213 | public var statusMessage: String {
214 | return HTTPURLResponse.localizedString(forStatusCode: code)
| `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
215 | }
216 |
[16/20] Compiling Hyperspace HTTP.swift
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:246:16: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Represents the key portion of a HTTP header field key-value pair.
24 | public struct HeaderKey: RawRepresentable, Equatable, Hashable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderKey' conform to the 'Sendable' protocol
25 | public var rawValue: String
26 |
:
244 | static let contentLength = HTTP.HeaderKey(rawValue: "Content-Length")
245 | static let contentMD5 = HTTP.HeaderKey(rawValue: "Content-MD5")
246 | static let contentType = HTTP.HeaderKey(rawValue: "Content-Type")
| |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' 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
247 | static let date = HTTP.HeaderKey(rawValue: "Date")
248 | static let location = HTTP.HeaderKey(rawValue: "Location")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:255:16: warning: static property 'applicationJSON' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Represents the value portion of a HTTP header field key-value pair.
37 | public struct HeaderValue: RawRepresentable, Equatable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderValue' conform to the 'Sendable' protocol
38 | public var rawValue: String
39 |
:
253 | // MARK: - Common HTTP Header Field Values
254 | public extension HTTP.HeaderValue {
255 | static let applicationJSON = HTTP.HeaderValue(rawValue: "application/json")
| |- warning: static property 'applicationJSON' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'applicationJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
256 | static let applicationFormURLEncoded = HTTP.HeaderValue(rawValue: "application/x-www-form-urlencoded")
257 | static let applicationXML = HTTP.HeaderValue(rawValue: "application/xml")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:153:33: error: cannot find type 'URLRequest' in scope
151 | /// Initialize a new `Request` given a URL request.
152 | /// - Parameter urlRequest: The `URLRequest` instance used to initiate the request.
153 | public init(urlRequest: URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
154 | let headers = urlRequest.allHTTPHeaderFields
155 | self.init(url: urlRequest.url, method: urlRequest.httpMethod.flatMap(HTTP.Method.init),
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:199:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
197 | /// - httpURLResponse: The `HTTPURLResponse` returned by the backend.
198 | /// - body: The raw `Data` associated with the response, if any was provided.
199 | public init(request: HTTP.Request, httpURLResponse: HTTPURLResponse, body: Data? = nil) {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
200 | let headers = httpURLResponse.allHeaderFields as? [String: String]
201 | self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:238:16: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Represents the key portion of a HTTP header field key-value pair.
24 | public struct HeaderKey: RawRepresentable, Equatable, Hashable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderKey' conform to the 'Sendable' protocol
25 | public var rawValue: String
26 |
:
236 | // MARK: - Common HTTP Header Field Keys
237 | public extension HTTP.HeaderKey {
238 | static let accept = HTTP.HeaderKey(rawValue: "Accept")
| |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' 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
239 | static let acceptCharset = HTTP.HeaderKey(rawValue: "Accept-Charset")
240 | static let acceptEncoding = HTTP.HeaderKey(rawValue: "Accept-Encoding")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:239:16: warning: static property 'acceptCharset' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Represents the key portion of a HTTP header field key-value pair.
24 | public struct HeaderKey: RawRepresentable, Equatable, Hashable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderKey' conform to the 'Sendable' protocol
25 | public var rawValue: String
26 |
:
237 | public extension HTTP.HeaderKey {
238 | static let accept = HTTP.HeaderKey(rawValue: "Accept")
239 | static let acceptCharset = HTTP.HeaderKey(rawValue: "Accept-Charset")
| |- warning: static property 'acceptCharset' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' 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
240 | static let acceptEncoding = HTTP.HeaderKey(rawValue: "Accept-Encoding")
241 | static let acceptLanguage = HTTP.HeaderKey(rawValue: "Accept-Language")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:240:16: warning: static property 'acceptEncoding' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Represents the key portion of a HTTP header field key-value pair.
24 | public struct HeaderKey: RawRepresentable, Equatable, Hashable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderKey' conform to the 'Sendable' protocol
25 | public var rawValue: String
26 |
:
238 | static let accept = HTTP.HeaderKey(rawValue: "Accept")
239 | static let acceptCharset = HTTP.HeaderKey(rawValue: "Accept-Charset")
240 | static let acceptEncoding = HTTP.HeaderKey(rawValue: "Accept-Encoding")
| |- warning: static property 'acceptEncoding' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' 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
241 | static let acceptLanguage = HTTP.HeaderKey(rawValue: "Accept-Language")
242 | static let acceptDatetime = HTTP.HeaderKey(rawValue: "Accept-Datetime")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:241:16: warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Represents the key portion of a HTTP header field key-value pair.
24 | public struct HeaderKey: RawRepresentable, Equatable, Hashable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderKey' conform to the 'Sendable' protocol
25 | public var rawValue: String
26 |
:
239 | static let acceptCharset = HTTP.HeaderKey(rawValue: "Accept-Charset")
240 | static let acceptEncoding = HTTP.HeaderKey(rawValue: "Accept-Encoding")
241 | static let acceptLanguage = HTTP.HeaderKey(rawValue: "Accept-Language")
| |- warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' 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
242 | static let acceptDatetime = HTTP.HeaderKey(rawValue: "Accept-Datetime")
243 | static let authorization = HTTP.HeaderKey(rawValue: "Authorization")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:242:16: warning: static property 'acceptDatetime' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Represents the key portion of a HTTP header field key-value pair.
24 | public struct HeaderKey: RawRepresentable, Equatable, Hashable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderKey' conform to the 'Sendable' protocol
25 | public var rawValue: String
26 |
:
240 | static let acceptEncoding = HTTP.HeaderKey(rawValue: "Accept-Encoding")
241 | static let acceptLanguage = HTTP.HeaderKey(rawValue: "Accept-Language")
242 | static let acceptDatetime = HTTP.HeaderKey(rawValue: "Accept-Datetime")
| |- warning: static property 'acceptDatetime' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acceptDatetime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 | static let authorization = HTTP.HeaderKey(rawValue: "Authorization")
244 | static let contentLength = HTTP.HeaderKey(rawValue: "Content-Length")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:243:16: warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Represents the key portion of a HTTP header field key-value pair.
24 | public struct HeaderKey: RawRepresentable, Equatable, Hashable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderKey' conform to the 'Sendable' protocol
25 | public var rawValue: String
26 |
:
241 | static let acceptLanguage = HTTP.HeaderKey(rawValue: "Accept-Language")
242 | static let acceptDatetime = HTTP.HeaderKey(rawValue: "Accept-Datetime")
243 | static let authorization = HTTP.HeaderKey(rawValue: "Authorization")
| |- warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' 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
244 | static let contentLength = HTTP.HeaderKey(rawValue: "Content-Length")
245 | static let contentMD5 = HTTP.HeaderKey(rawValue: "Content-MD5")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:244:16: warning: static property 'contentLength' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Represents the key portion of a HTTP header field key-value pair.
24 | public struct HeaderKey: RawRepresentable, Equatable, Hashable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderKey' conform to the 'Sendable' protocol
25 | public var rawValue: String
26 |
:
242 | static let acceptDatetime = HTTP.HeaderKey(rawValue: "Accept-Datetime")
243 | static let authorization = HTTP.HeaderKey(rawValue: "Authorization")
244 | static let contentLength = HTTP.HeaderKey(rawValue: "Content-Length")
| |- warning: static property 'contentLength' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' 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
245 | static let contentMD5 = HTTP.HeaderKey(rawValue: "Content-MD5")
246 | static let contentType = HTTP.HeaderKey(rawValue: "Content-Type")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:245:16: warning: static property 'contentMD5' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Represents the key portion of a HTTP header field key-value pair.
24 | public struct HeaderKey: RawRepresentable, Equatable, Hashable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderKey' conform to the 'Sendable' protocol
25 | public var rawValue: String
26 |
:
243 | static let authorization = HTTP.HeaderKey(rawValue: "Authorization")
244 | static let contentLength = HTTP.HeaderKey(rawValue: "Content-Length")
245 | static let contentMD5 = HTTP.HeaderKey(rawValue: "Content-MD5")
| |- warning: static property 'contentMD5' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contentMD5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | static let contentType = HTTP.HeaderKey(rawValue: "Content-Type")
247 | static let date = HTTP.HeaderKey(rawValue: "Date")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:247:16: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Represents the key portion of a HTTP header field key-value pair.
24 | public struct HeaderKey: RawRepresentable, Equatable, Hashable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderKey' conform to the 'Sendable' protocol
25 | public var rawValue: String
26 |
:
245 | static let contentMD5 = HTTP.HeaderKey(rawValue: "Content-MD5")
246 | static let contentType = HTTP.HeaderKey(rawValue: "Content-Type")
247 | static let date = HTTP.HeaderKey(rawValue: "Date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' 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
248 | static let location = HTTP.HeaderKey(rawValue: "Location")
249 | static let retryAfter = HTTP.HeaderKey(rawValue: "Retry-After")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:248:16: warning: static property 'location' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Represents the key portion of a HTTP header field key-value pair.
24 | public struct HeaderKey: RawRepresentable, Equatable, Hashable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderKey' conform to the 'Sendable' protocol
25 | public var rawValue: String
26 |
:
246 | static let contentType = HTTP.HeaderKey(rawValue: "Content-Type")
247 | static let date = HTTP.HeaderKey(rawValue: "Date")
248 | static let location = HTTP.HeaderKey(rawValue: "Location")
| |- warning: static property 'location' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' 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
249 | static let retryAfter = HTTP.HeaderKey(rawValue: "Retry-After")
250 | static let userAgent = HTTP.HeaderKey(rawValue: "User-Agent")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:249:16: warning: static property 'retryAfter' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Represents the key portion of a HTTP header field key-value pair.
24 | public struct HeaderKey: RawRepresentable, Equatable, Hashable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderKey' conform to the 'Sendable' protocol
25 | public var rawValue: String
26 |
:
247 | static let date = HTTP.HeaderKey(rawValue: "Date")
248 | static let location = HTTP.HeaderKey(rawValue: "Location")
249 | static let retryAfter = HTTP.HeaderKey(rawValue: "Retry-After")
| |- warning: static property 'retryAfter' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'retryAfter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 | static let userAgent = HTTP.HeaderKey(rawValue: "User-Agent")
251 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:250:16: warning: static property 'userAgent' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Represents the key portion of a HTTP header field key-value pair.
24 | public struct HeaderKey: RawRepresentable, Equatable, Hashable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderKey' conform to the 'Sendable' protocol
25 | public var rawValue: String
26 |
:
248 | static let location = HTTP.HeaderKey(rawValue: "Location")
249 | static let retryAfter = HTTP.HeaderKey(rawValue: "Retry-After")
250 | static let userAgent = HTTP.HeaderKey(rawValue: "User-Agent")
| |- warning: static property 'userAgent' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderKey' 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
251 | }
252 |
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:256:16: warning: static property 'applicationFormURLEncoded' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Represents the value portion of a HTTP header field key-value pair.
37 | public struct HeaderValue: RawRepresentable, Equatable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderValue' conform to the 'Sendable' protocol
38 | public var rawValue: String
39 |
:
254 | public extension HTTP.HeaderValue {
255 | static let applicationJSON = HTTP.HeaderValue(rawValue: "application/json")
256 | static let applicationFormURLEncoded = HTTP.HeaderValue(rawValue: "application/x-www-form-urlencoded")
| |- warning: static property 'applicationFormURLEncoded' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'applicationFormURLEncoded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
257 | static let applicationXML = HTTP.HeaderValue(rawValue: "application/xml")
258 | static let multipartForm = HTTP.HeaderValue(rawValue: "multipart/form-data")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:257:16: warning: static property 'applicationXML' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Represents the value portion of a HTTP header field key-value pair.
37 | public struct HeaderValue: RawRepresentable, Equatable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderValue' conform to the 'Sendable' protocol
38 | public var rawValue: String
39 |
:
255 | static let applicationJSON = HTTP.HeaderValue(rawValue: "application/json")
256 | static let applicationFormURLEncoded = HTTP.HeaderValue(rawValue: "application/x-www-form-urlencoded")
257 | static let applicationXML = HTTP.HeaderValue(rawValue: "application/xml")
| |- warning: static property 'applicationXML' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'applicationXML' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
258 | static let multipartForm = HTTP.HeaderValue(rawValue: "multipart/form-data")
259 | static let textPlain = HTTP.HeaderValue(rawValue: "text/plain")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:258:16: warning: static property 'multipartForm' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Represents the value portion of a HTTP header field key-value pair.
37 | public struct HeaderValue: RawRepresentable, Equatable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderValue' conform to the 'Sendable' protocol
38 | public var rawValue: String
39 |
:
256 | static let applicationFormURLEncoded = HTTP.HeaderValue(rawValue: "application/x-www-form-urlencoded")
257 | static let applicationXML = HTTP.HeaderValue(rawValue: "application/xml")
258 | static let multipartForm = HTTP.HeaderValue(rawValue: "multipart/form-data")
| |- warning: static property 'multipartForm' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multipartForm' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
259 | static let textPlain = HTTP.HeaderValue(rawValue: "text/plain")
260 | static let imagePNG = HTTP.HeaderValue(rawValue: "image/png")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:259:16: warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Represents the value portion of a HTTP header field key-value pair.
37 | public struct HeaderValue: RawRepresentable, Equatable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderValue' conform to the 'Sendable' protocol
38 | public var rawValue: String
39 |
:
257 | static let applicationXML = HTTP.HeaderValue(rawValue: "application/xml")
258 | static let multipartForm = HTTP.HeaderValue(rawValue: "multipart/form-data")
259 | static let textPlain = HTTP.HeaderValue(rawValue: "text/plain")
| |- warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textPlain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
260 | static let imagePNG = HTTP.HeaderValue(rawValue: "image/png")
261 | static let imageJPEG = HTTP.HeaderValue(rawValue: "image/jpeg")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:260:16: warning: static property 'imagePNG' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Represents the value portion of a HTTP header field key-value pair.
37 | public struct HeaderValue: RawRepresentable, Equatable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderValue' conform to the 'Sendable' protocol
38 | public var rawValue: String
39 |
:
258 | static let multipartForm = HTTP.HeaderValue(rawValue: "multipart/form-data")
259 | static let textPlain = HTTP.HeaderValue(rawValue: "text/plain")
260 | static let imagePNG = HTTP.HeaderValue(rawValue: "image/png")
| |- warning: static property 'imagePNG' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imagePNG' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
261 | static let imageJPEG = HTTP.HeaderValue(rawValue: "image/jpeg")
262 | static let imageGIF = HTTP.HeaderValue(rawValue: "image/gif")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:261:16: warning: static property 'imageJPEG' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Represents the value portion of a HTTP header field key-value pair.
37 | public struct HeaderValue: RawRepresentable, Equatable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderValue' conform to the 'Sendable' protocol
38 | public var rawValue: String
39 |
:
259 | static let textPlain = HTTP.HeaderValue(rawValue: "text/plain")
260 | static let imagePNG = HTTP.HeaderValue(rawValue: "image/png")
261 | static let imageJPEG = HTTP.HeaderValue(rawValue: "image/jpeg")
| |- warning: static property 'imageJPEG' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageJPEG' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 | static let imageGIF = HTTP.HeaderValue(rawValue: "image/gif")
263 | static let encodingCompress = HTTP.HeaderValue(rawValue: "compress")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:262:16: warning: static property 'imageGIF' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Represents the value portion of a HTTP header field key-value pair.
37 | public struct HeaderValue: RawRepresentable, Equatable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderValue' conform to the 'Sendable' protocol
38 | public var rawValue: String
39 |
:
260 | static let imagePNG = HTTP.HeaderValue(rawValue: "image/png")
261 | static let imageJPEG = HTTP.HeaderValue(rawValue: "image/jpeg")
262 | static let imageGIF = HTTP.HeaderValue(rawValue: "image/gif")
| |- warning: static property 'imageGIF' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageGIF' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | static let encodingCompress = HTTP.HeaderValue(rawValue: "compress")
264 | static let encodingDeflate = HTTP.HeaderValue(rawValue: "deflate")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:263:16: warning: static property 'encodingCompress' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Represents the value portion of a HTTP header field key-value pair.
37 | public struct HeaderValue: RawRepresentable, Equatable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderValue' conform to the 'Sendable' protocol
38 | public var rawValue: String
39 |
:
261 | static let imageJPEG = HTTP.HeaderValue(rawValue: "image/jpeg")
262 | static let imageGIF = HTTP.HeaderValue(rawValue: "image/gif")
263 | static let encodingCompress = HTTP.HeaderValue(rawValue: "compress")
| |- warning: static property 'encodingCompress' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encodingCompress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
264 | static let encodingDeflate = HTTP.HeaderValue(rawValue: "deflate")
265 | static let encodingExi = HTTP.HeaderValue(rawValue: "exi")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:264:16: warning: static property 'encodingDeflate' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Represents the value portion of a HTTP header field key-value pair.
37 | public struct HeaderValue: RawRepresentable, Equatable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderValue' conform to the 'Sendable' protocol
38 | public var rawValue: String
39 |
:
262 | static let imageGIF = HTTP.HeaderValue(rawValue: "image/gif")
263 | static let encodingCompress = HTTP.HeaderValue(rawValue: "compress")
264 | static let encodingDeflate = HTTP.HeaderValue(rawValue: "deflate")
| |- warning: static property 'encodingDeflate' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encodingDeflate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
265 | static let encodingExi = HTTP.HeaderValue(rawValue: "exi")
266 | static let encodingGzip = HTTP.HeaderValue(rawValue: "gzip")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:265:16: warning: static property 'encodingExi' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Represents the value portion of a HTTP header field key-value pair.
37 | public struct HeaderValue: RawRepresentable, Equatable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderValue' conform to the 'Sendable' protocol
38 | public var rawValue: String
39 |
:
263 | static let encodingCompress = HTTP.HeaderValue(rawValue: "compress")
264 | static let encodingDeflate = HTTP.HeaderValue(rawValue: "deflate")
265 | static let encodingExi = HTTP.HeaderValue(rawValue: "exi")
| |- warning: static property 'encodingExi' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encodingExi' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | static let encodingGzip = HTTP.HeaderValue(rawValue: "gzip")
267 | static let encodingIdentity = HTTP.HeaderValue(rawValue: "identity")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:266:16: warning: static property 'encodingGzip' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Represents the value portion of a HTTP header field key-value pair.
37 | public struct HeaderValue: RawRepresentable, Equatable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderValue' conform to the 'Sendable' protocol
38 | public var rawValue: String
39 |
:
264 | static let encodingDeflate = HTTP.HeaderValue(rawValue: "deflate")
265 | static let encodingExi = HTTP.HeaderValue(rawValue: "exi")
266 | static let encodingGzip = HTTP.HeaderValue(rawValue: "gzip")
| |- warning: static property 'encodingGzip' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encodingGzip' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
267 | static let encodingIdentity = HTTP.HeaderValue(rawValue: "identity")
268 | static let encodingPack200Gzip = HTTP.HeaderValue(rawValue: "pack200-gzip")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:267:16: warning: static property 'encodingIdentity' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Represents the value portion of a HTTP header field key-value pair.
37 | public struct HeaderValue: RawRepresentable, Equatable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderValue' conform to the 'Sendable' protocol
38 | public var rawValue: String
39 |
:
265 | static let encodingExi = HTTP.HeaderValue(rawValue: "exi")
266 | static let encodingGzip = HTTP.HeaderValue(rawValue: "gzip")
267 | static let encodingIdentity = HTTP.HeaderValue(rawValue: "identity")
| |- warning: static property 'encodingIdentity' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encodingIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 | static let encodingPack200Gzip = HTTP.HeaderValue(rawValue: "pack200-gzip")
269 | static let encodingBr = HTTP.HeaderValue(rawValue: "br")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:268:16: warning: static property 'encodingPack200Gzip' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Represents the value portion of a HTTP header field key-value pair.
37 | public struct HeaderValue: RawRepresentable, Equatable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderValue' conform to the 'Sendable' protocol
38 | public var rawValue: String
39 |
:
266 | static let encodingGzip = HTTP.HeaderValue(rawValue: "gzip")
267 | static let encodingIdentity = HTTP.HeaderValue(rawValue: "identity")
268 | static let encodingPack200Gzip = HTTP.HeaderValue(rawValue: "pack200-gzip")
| |- warning: static property 'encodingPack200Gzip' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encodingPack200Gzip' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
269 | static let encodingBr = HTTP.HeaderValue(rawValue: "br")
270 | static let passKit = HTTP.HeaderValue(rawValue: "application/vnd.apple.pkpass")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:269:16: warning: static property 'encodingBr' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Represents the value portion of a HTTP header field key-value pair.
37 | public struct HeaderValue: RawRepresentable, Equatable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderValue' conform to the 'Sendable' protocol
38 | public var rawValue: String
39 |
:
267 | static let encodingIdentity = HTTP.HeaderValue(rawValue: "identity")
268 | static let encodingPack200Gzip = HTTP.HeaderValue(rawValue: "pack200-gzip")
269 | static let encodingBr = HTTP.HeaderValue(rawValue: "br")
| |- warning: static property 'encodingBr' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encodingBr' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
270 | static let passKit = HTTP.HeaderValue(rawValue: "application/vnd.apple.pkpass")
271 | static let jsonAPI = HTTP.HeaderValue(rawValue: "application/vnd.api+json")
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:270:16: warning: static property 'passKit' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Represents the value portion of a HTTP header field key-value pair.
37 | public struct HeaderValue: RawRepresentable, Equatable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderValue' conform to the 'Sendable' protocol
38 | public var rawValue: String
39 |
:
268 | static let encodingPack200Gzip = HTTP.HeaderValue(rawValue: "pack200-gzip")
269 | static let encodingBr = HTTP.HeaderValue(rawValue: "br")
270 | static let passKit = HTTP.HeaderValue(rawValue: "application/vnd.apple.pkpass")
| |- warning: static property 'passKit' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'passKit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
271 | static let jsonAPI = HTTP.HeaderValue(rawValue: "application/vnd.api+json")
272 |
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:271:16: warning: static property 'jsonAPI' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Represents the value portion of a HTTP header field key-value pair.
37 | public struct HeaderValue: RawRepresentable, Equatable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HeaderValue' conform to the 'Sendable' protocol
38 | public var rawValue: String
39 |
:
269 | static let encodingBr = HTTP.HeaderValue(rawValue: "br")
270 | static let passKit = HTTP.HeaderValue(rawValue: "application/vnd.apple.pkpass")
271 | static let jsonAPI = HTTP.HeaderValue(rawValue: "application/vnd.api+json")
| |- warning: static property 'jsonAPI' is not concurrency-safe because non-'Sendable' type 'HTTP.HeaderValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonAPI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
272 |
273 | static func authorizationBasic(username: String, password: String) -> Self? {
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:285:16: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Represents a HTTP status code.
50 | public enum Status: Equatable {
51 | public struct Success: RawRepresentable, Equatable {
| `- note: consider making struct 'Success' conform to the 'Sendable' protocol
52 | public var rawValue: Int
53 |
:
283 | // MARK: - Common HTTP Status Codes
284 | public extension HTTP.Status.Success {
285 | static let ok = HTTP.Status.Success(rawValue: 200)
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' 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
286 | static let created = HTTP.Status.Success(rawValue: 201)
287 | static let accepted = HTTP.Status.Success(rawValue: 202)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:286:16: warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Represents a HTTP status code.
50 | public enum Status: Equatable {
51 | public struct Success: RawRepresentable, Equatable {
| `- note: consider making struct 'Success' conform to the 'Sendable' protocol
52 | public var rawValue: Int
53 |
:
284 | public extension HTTP.Status.Success {
285 | static let ok = HTTP.Status.Success(rawValue: 200)
286 | static let created = HTTP.Status.Success(rawValue: 201)
| |- warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' 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
287 | static let accepted = HTTP.Status.Success(rawValue: 202)
288 | static let nonAuthoritativeInformation = HTTP.Status.Success(rawValue: 203)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:287:16: warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Represents a HTTP status code.
50 | public enum Status: Equatable {
51 | public struct Success: RawRepresentable, Equatable {
| `- note: consider making struct 'Success' conform to the 'Sendable' protocol
52 | public var rawValue: Int
53 |
:
285 | static let ok = HTTP.Status.Success(rawValue: 200)
286 | static let created = HTTP.Status.Success(rawValue: 201)
287 | static let accepted = HTTP.Status.Success(rawValue: 202)
| |- warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accepted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 | static let nonAuthoritativeInformation = HTTP.Status.Success(rawValue: 203)
289 | static let noContent = HTTP.Status.Success(rawValue: 204)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:288:16: warning: static property 'nonAuthoritativeInformation' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Represents a HTTP status code.
50 | public enum Status: Equatable {
51 | public struct Success: RawRepresentable, Equatable {
| `- note: consider making struct 'Success' conform to the 'Sendable' protocol
52 | public var rawValue: Int
53 |
:
286 | static let created = HTTP.Status.Success(rawValue: 201)
287 | static let accepted = HTTP.Status.Success(rawValue: 202)
288 | static let nonAuthoritativeInformation = HTTP.Status.Success(rawValue: 203)
| |- warning: static property 'nonAuthoritativeInformation' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nonAuthoritativeInformation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
289 | static let noContent = HTTP.Status.Success(rawValue: 204)
290 | static let resetContent = HTTP.Status.Success(rawValue: 205)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:289:16: warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Represents a HTTP status code.
50 | public enum Status: Equatable {
51 | public struct Success: RawRepresentable, Equatable {
| `- note: consider making struct 'Success' conform to the 'Sendable' protocol
52 | public var rawValue: Int
53 |
:
287 | static let accepted = HTTP.Status.Success(rawValue: 202)
288 | static let nonAuthoritativeInformation = HTTP.Status.Success(rawValue: 203)
289 | static let noContent = HTTP.Status.Success(rawValue: 204)
| |- warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' 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
290 | static let resetContent = HTTP.Status.Success(rawValue: 205)
291 | static let partialContent = HTTP.Status.Success(rawValue: 206)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:290:16: warning: static property 'resetContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Represents a HTTP status code.
50 | public enum Status: Equatable {
51 | public struct Success: RawRepresentable, Equatable {
| `- note: consider making struct 'Success' conform to the 'Sendable' protocol
52 | public var rawValue: Int
53 |
:
288 | static let nonAuthoritativeInformation = HTTP.Status.Success(rawValue: 203)
289 | static let noContent = HTTP.Status.Success(rawValue: 204)
290 | static let resetContent = HTTP.Status.Success(rawValue: 205)
| |- warning: static property 'resetContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resetContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
291 | static let partialContent = HTTP.Status.Success(rawValue: 206)
292 | static let multiStatus = HTTP.Status.Success(rawValue: 207)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:291:16: warning: static property 'partialContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Represents a HTTP status code.
50 | public enum Status: Equatable {
51 | public struct Success: RawRepresentable, Equatable {
| `- note: consider making struct 'Success' conform to the 'Sendable' protocol
52 | public var rawValue: Int
53 |
:
289 | static let noContent = HTTP.Status.Success(rawValue: 204)
290 | static let resetContent = HTTP.Status.Success(rawValue: 205)
291 | static let partialContent = HTTP.Status.Success(rawValue: 206)
| |- warning: static property 'partialContent' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'partialContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
292 | static let multiStatus = HTTP.Status.Success(rawValue: 207)
293 | static let alreadyReported = HTTP.Status.Success(rawValue: 208)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:292:16: warning: static property 'multiStatus' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Represents a HTTP status code.
50 | public enum Status: Equatable {
51 | public struct Success: RawRepresentable, Equatable {
| `- note: consider making struct 'Success' conform to the 'Sendable' protocol
52 | public var rawValue: Int
53 |
:
290 | static let resetContent = HTTP.Status.Success(rawValue: 205)
291 | static let partialContent = HTTP.Status.Success(rawValue: 206)
292 | static let multiStatus = HTTP.Status.Success(rawValue: 207)
| |- warning: static property 'multiStatus' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multiStatus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
293 | static let alreadyReported = HTTP.Status.Success(rawValue: 208)
294 | static let imUsed = HTTP.Status.Success(rawValue: 226)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:293:16: warning: static property 'alreadyReported' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Represents a HTTP status code.
50 | public enum Status: Equatable {
51 | public struct Success: RawRepresentable, Equatable {
| `- note: consider making struct 'Success' conform to the 'Sendable' protocol
52 | public var rawValue: Int
53 |
:
291 | static let partialContent = HTTP.Status.Success(rawValue: 206)
292 | static let multiStatus = HTTP.Status.Success(rawValue: 207)
293 | static let alreadyReported = HTTP.Status.Success(rawValue: 208)
| |- warning: static property 'alreadyReported' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alreadyReported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
294 | static let imUsed = HTTP.Status.Success(rawValue: 226)
295 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:294:16: warning: static property 'imUsed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Represents a HTTP status code.
50 | public enum Status: Equatable {
51 | public struct Success: RawRepresentable, Equatable {
| `- note: consider making struct 'Success' conform to the 'Sendable' protocol
52 | public var rawValue: Int
53 |
:
292 | static let multiStatus = HTTP.Status.Success(rawValue: 207)
293 | static let alreadyReported = HTTP.Status.Success(rawValue: 208)
294 | static let imUsed = HTTP.Status.Success(rawValue: 226)
| |- warning: static property 'imUsed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Success' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imUsed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
295 | }
296 |
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:298:16: warning: static property 'multipleChoices' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Redirection' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | public struct Redirection: RawRepresentable, Equatable {
| `- note: consider making struct 'Redirection' conform to the 'Sendable' protocol
62 | public var rawValue: Int
63 |
:
296 |
297 | public extension HTTP.Status.Redirection {
298 | static let multipleChoices = HTTP.Status.Redirection(rawValue: 300)
| |- warning: static property 'multipleChoices' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Redirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multipleChoices' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
299 | static let movedPermanently = HTTP.Status.Redirection(rawValue: 301)
300 | static let found = HTTP.Status.Redirection(rawValue: 302)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:299:16: warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Redirection' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | public struct Redirection: RawRepresentable, Equatable {
| `- note: consider making struct 'Redirection' conform to the 'Sendable' protocol
62 | public var rawValue: Int
63 |
:
297 | public extension HTTP.Status.Redirection {
298 | static let multipleChoices = HTTP.Status.Redirection(rawValue: 300)
299 | static let movedPermanently = HTTP.Status.Redirection(rawValue: 301)
| |- warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Redirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'movedPermanently' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
300 | static let found = HTTP.Status.Redirection(rawValue: 302)
301 | static let seeOther = HTTP.Status.Redirection(rawValue: 303)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:300:16: warning: static property 'found' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Redirection' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | public struct Redirection: RawRepresentable, Equatable {
| `- note: consider making struct 'Redirection' conform to the 'Sendable' protocol
62 | public var rawValue: Int
63 |
:
298 | static let multipleChoices = HTTP.Status.Redirection(rawValue: 300)
299 | static let movedPermanently = HTTP.Status.Redirection(rawValue: 301)
300 | static let found = HTTP.Status.Redirection(rawValue: 302)
| |- warning: static property 'found' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Redirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'found' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
301 | static let seeOther = HTTP.Status.Redirection(rawValue: 303)
302 | static let notModified = HTTP.Status.Redirection(rawValue: 304)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:301:16: warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Redirection' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | public struct Redirection: RawRepresentable, Equatable {
| `- note: consider making struct 'Redirection' conform to the 'Sendable' protocol
62 | public var rawValue: Int
63 |
:
299 | static let movedPermanently = HTTP.Status.Redirection(rawValue: 301)
300 | static let found = HTTP.Status.Redirection(rawValue: 302)
301 | static let seeOther = HTTP.Status.Redirection(rawValue: 303)
| |- warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Redirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'seeOther' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
302 | static let notModified = HTTP.Status.Redirection(rawValue: 304)
303 | static let useProxy = HTTP.Status.Redirection(rawValue: 305)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:302:16: warning: static property 'notModified' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Redirection' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | public struct Redirection: RawRepresentable, Equatable {
| `- note: consider making struct 'Redirection' conform to the 'Sendable' protocol
62 | public var rawValue: Int
63 |
:
300 | static let found = HTTP.Status.Redirection(rawValue: 302)
301 | static let seeOther = HTTP.Status.Redirection(rawValue: 303)
302 | static let notModified = HTTP.Status.Redirection(rawValue: 304)
| |- warning: static property 'notModified' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Redirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notModified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
303 | static let useProxy = HTTP.Status.Redirection(rawValue: 305)
304 | static let switchProxy = HTTP.Status.Redirection(rawValue: 306)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:303:16: warning: static property 'useProxy' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Redirection' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | public struct Redirection: RawRepresentable, Equatable {
| `- note: consider making struct 'Redirection' conform to the 'Sendable' protocol
62 | public var rawValue: Int
63 |
:
301 | static let seeOther = HTTP.Status.Redirection(rawValue: 303)
302 | static let notModified = HTTP.Status.Redirection(rawValue: 304)
303 | static let useProxy = HTTP.Status.Redirection(rawValue: 305)
| |- warning: static property 'useProxy' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Redirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useProxy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
304 | static let switchProxy = HTTP.Status.Redirection(rawValue: 306)
305 | static let temporaryRedirect = HTTP.Status.Redirection(rawValue: 307)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:304:16: warning: static property 'switchProxy' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Redirection' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | public struct Redirection: RawRepresentable, Equatable {
| `- note: consider making struct 'Redirection' conform to the 'Sendable' protocol
62 | public var rawValue: Int
63 |
:
302 | static let notModified = HTTP.Status.Redirection(rawValue: 304)
303 | static let useProxy = HTTP.Status.Redirection(rawValue: 305)
304 | static let switchProxy = HTTP.Status.Redirection(rawValue: 306)
| |- warning: static property 'switchProxy' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Redirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'switchProxy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
305 | static let temporaryRedirect = HTTP.Status.Redirection(rawValue: 307)
306 | static let permanentRedirect = HTTP.Status.Redirection(rawValue: 308)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:305:16: warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Redirection' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | public struct Redirection: RawRepresentable, Equatable {
| `- note: consider making struct 'Redirection' conform to the 'Sendable' protocol
62 | public var rawValue: Int
63 |
:
303 | static let useProxy = HTTP.Status.Redirection(rawValue: 305)
304 | static let switchProxy = HTTP.Status.Redirection(rawValue: 306)
305 | static let temporaryRedirect = HTTP.Status.Redirection(rawValue: 307)
| |- warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Redirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'temporaryRedirect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
306 | static let permanentRedirect = HTTP.Status.Redirection(rawValue: 308)
307 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:306:16: warning: static property 'permanentRedirect' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Redirection' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | public struct Redirection: RawRepresentable, Equatable {
| `- note: consider making struct 'Redirection' conform to the 'Sendable' protocol
62 | public var rawValue: Int
63 |
:
304 | static let switchProxy = HTTP.Status.Redirection(rawValue: 306)
305 | static let temporaryRedirect = HTTP.Status.Redirection(rawValue: 307)
306 | static let permanentRedirect = HTTP.Status.Redirection(rawValue: 308)
| |- warning: static property 'permanentRedirect' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.Redirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'permanentRedirect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
307 | }
308 |
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:310:16: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
308 |
309 | public extension HTTP.Status.ClientError {
310 | static let badRequest = HTTP.Status.ClientError(rawValue: 400)
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' 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
311 | static let unauthorized = HTTP.Status.ClientError(rawValue: 401)
312 | static let paymentRequired = HTTP.Status.ClientError(rawValue: 402)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:311:16: warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
309 | public extension HTTP.Status.ClientError {
310 | static let badRequest = HTTP.Status.ClientError(rawValue: 400)
311 | static let unauthorized = HTTP.Status.ClientError(rawValue: 401)
| |- warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unauthorized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
312 | static let paymentRequired = HTTP.Status.ClientError(rawValue: 402)
313 | static let forbidden = HTTP.Status.ClientError(rawValue: 403)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:312:16: warning: static property 'paymentRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
310 | static let badRequest = HTTP.Status.ClientError(rawValue: 400)
311 | static let unauthorized = HTTP.Status.ClientError(rawValue: 401)
312 | static let paymentRequired = HTTP.Status.ClientError(rawValue: 402)
| |- warning: static property 'paymentRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' 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
313 | static let forbidden = HTTP.Status.ClientError(rawValue: 403)
314 | static let notFound = HTTP.Status.ClientError(rawValue: 404)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:313:16: warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
311 | static let unauthorized = HTTP.Status.ClientError(rawValue: 401)
312 | static let paymentRequired = HTTP.Status.ClientError(rawValue: 402)
313 | static let forbidden = HTTP.Status.ClientError(rawValue: 403)
| |- warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' 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
314 | static let notFound = HTTP.Status.ClientError(rawValue: 404)
315 | static let methodNotAllowed = HTTP.Status.ClientError(rawValue: 405)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:314:16: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
312 | static let paymentRequired = HTTP.Status.ClientError(rawValue: 402)
313 | static let forbidden = HTTP.Status.ClientError(rawValue: 403)
314 | static let notFound = HTTP.Status.ClientError(rawValue: 404)
| |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' 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
315 | static let methodNotAllowed = HTTP.Status.ClientError(rawValue: 405)
316 | static let notAcceptable = HTTP.Status.ClientError(rawValue: 406)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:315:16: warning: static property 'methodNotAllowed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
313 | static let forbidden = HTTP.Status.ClientError(rawValue: 403)
314 | static let notFound = HTTP.Status.ClientError(rawValue: 404)
315 | static let methodNotAllowed = HTTP.Status.ClientError(rawValue: 405)
| |- warning: static property 'methodNotAllowed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodNotAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
316 | static let notAcceptable = HTTP.Status.ClientError(rawValue: 406)
317 | static let proxyAuthenticationRequired = HTTP.Status.ClientError(rawValue: 407)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:316:16: warning: static property 'notAcceptable' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
314 | static let notFound = HTTP.Status.ClientError(rawValue: 404)
315 | static let methodNotAllowed = HTTP.Status.ClientError(rawValue: 405)
316 | static let notAcceptable = HTTP.Status.ClientError(rawValue: 406)
| |- warning: static property 'notAcceptable' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notAcceptable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
317 | static let proxyAuthenticationRequired = HTTP.Status.ClientError(rawValue: 407)
318 | static let requestTimeout = HTTP.Status.ClientError(rawValue: 408)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:317:16: warning: static property 'proxyAuthenticationRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
315 | static let methodNotAllowed = HTTP.Status.ClientError(rawValue: 405)
316 | static let notAcceptable = HTTP.Status.ClientError(rawValue: 406)
317 | static let proxyAuthenticationRequired = HTTP.Status.ClientError(rawValue: 407)
| |- warning: static property 'proxyAuthenticationRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proxyAuthenticationRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
318 | static let requestTimeout = HTTP.Status.ClientError(rawValue: 408)
319 | static let conflict = HTTP.Status.ClientError(rawValue: 409)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:318:16: warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
316 | static let notAcceptable = HTTP.Status.ClientError(rawValue: 406)
317 | static let proxyAuthenticationRequired = HTTP.Status.ClientError(rawValue: 407)
318 | static let requestTimeout = HTTP.Status.ClientError(rawValue: 408)
| |- warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'requestTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
319 | static let conflict = HTTP.Status.ClientError(rawValue: 409)
320 | static let gone = HTTP.Status.ClientError(rawValue: 410)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:319:16: warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
317 | static let proxyAuthenticationRequired = HTTP.Status.ClientError(rawValue: 407)
318 | static let requestTimeout = HTTP.Status.ClientError(rawValue: 408)
319 | static let conflict = HTTP.Status.ClientError(rawValue: 409)
| |- warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'conflict' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
320 | static let gone = HTTP.Status.ClientError(rawValue: 410)
321 | static let lengthRequried = HTTP.Status.ClientError(rawValue: 411)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:320:16: warning: static property 'gone' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
318 | static let requestTimeout = HTTP.Status.ClientError(rawValue: 408)
319 | static let conflict = HTTP.Status.ClientError(rawValue: 409)
320 | static let gone = HTTP.Status.ClientError(rawValue: 410)
| |- warning: static property 'gone' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gone' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
321 | static let lengthRequried = HTTP.Status.ClientError(rawValue: 411)
322 | static let preconditionFailed = HTTP.Status.ClientError(rawValue: 412)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:321:16: warning: static property 'lengthRequried' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
319 | static let conflict = HTTP.Status.ClientError(rawValue: 409)
320 | static let gone = HTTP.Status.ClientError(rawValue: 410)
321 | static let lengthRequried = HTTP.Status.ClientError(rawValue: 411)
| |- warning: static property 'lengthRequried' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lengthRequried' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 | static let preconditionFailed = HTTP.Status.ClientError(rawValue: 412)
323 | static let payloadTooLarge = HTTP.Status.ClientError(rawValue: 413)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:322:16: warning: static property 'preconditionFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
320 | static let gone = HTTP.Status.ClientError(rawValue: 410)
321 | static let lengthRequried = HTTP.Status.ClientError(rawValue: 411)
322 | static let preconditionFailed = HTTP.Status.ClientError(rawValue: 412)
| |- warning: static property 'preconditionFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preconditionFailed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 | static let payloadTooLarge = HTTP.Status.ClientError(rawValue: 413)
324 | static let uriTooLong = HTTP.Status.ClientError(rawValue: 414)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:323:16: warning: static property 'payloadTooLarge' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
321 | static let lengthRequried = HTTP.Status.ClientError(rawValue: 411)
322 | static let preconditionFailed = HTTP.Status.ClientError(rawValue: 412)
323 | static let payloadTooLarge = HTTP.Status.ClientError(rawValue: 413)
| |- warning: static property 'payloadTooLarge' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'payloadTooLarge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
324 | static let uriTooLong = HTTP.Status.ClientError(rawValue: 414)
325 | static let unsupportedMediaType = HTTP.Status.ClientError(rawValue: 415)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:324:16: warning: static property 'uriTooLong' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
322 | static let preconditionFailed = HTTP.Status.ClientError(rawValue: 412)
323 | static let payloadTooLarge = HTTP.Status.ClientError(rawValue: 413)
324 | static let uriTooLong = HTTP.Status.ClientError(rawValue: 414)
| |- warning: static property 'uriTooLong' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriTooLong' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
325 | static let unsupportedMediaType = HTTP.Status.ClientError(rawValue: 415)
326 | static let rangeNotSatisfiable = HTTP.Status.ClientError(rawValue: 416)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:325:16: warning: static property 'unsupportedMediaType' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
323 | static let payloadTooLarge = HTTP.Status.ClientError(rawValue: 413)
324 | static let uriTooLong = HTTP.Status.ClientError(rawValue: 414)
325 | static let unsupportedMediaType = HTTP.Status.ClientError(rawValue: 415)
| |- warning: static property 'unsupportedMediaType' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unsupportedMediaType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
326 | static let rangeNotSatisfiable = HTTP.Status.ClientError(rawValue: 416)
327 | static let expectationFailed = HTTP.Status.ClientError(rawValue: 417)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:326:16: warning: static property 'rangeNotSatisfiable' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
324 | static let uriTooLong = HTTP.Status.ClientError(rawValue: 414)
325 | static let unsupportedMediaType = HTTP.Status.ClientError(rawValue: 415)
326 | static let rangeNotSatisfiable = HTTP.Status.ClientError(rawValue: 416)
| |- warning: static property 'rangeNotSatisfiable' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rangeNotSatisfiable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
327 | static let expectationFailed = HTTP.Status.ClientError(rawValue: 417)
328 | static let imATeapot = HTTP.Status.ClientError(rawValue: 418)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:327:16: warning: static property 'expectationFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
325 | static let unsupportedMediaType = HTTP.Status.ClientError(rawValue: 415)
326 | static let rangeNotSatisfiable = HTTP.Status.ClientError(rawValue: 416)
327 | static let expectationFailed = HTTP.Status.ClientError(rawValue: 417)
| |- warning: static property 'expectationFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectationFailed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
328 | static let imATeapot = HTTP.Status.ClientError(rawValue: 418)
329 | static let misdirectedRequest = HTTP.Status.ClientError(rawValue: 421)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:328:16: warning: static property 'imATeapot' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
326 | static let rangeNotSatisfiable = HTTP.Status.ClientError(rawValue: 416)
327 | static let expectationFailed = HTTP.Status.ClientError(rawValue: 417)
328 | static let imATeapot = HTTP.Status.ClientError(rawValue: 418)
| |- warning: static property 'imATeapot' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imATeapot' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
329 | static let misdirectedRequest = HTTP.Status.ClientError(rawValue: 421)
330 | static let unproccessableEntity = HTTP.Status.ClientError(rawValue: 422)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:329:16: warning: static property 'misdirectedRequest' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
327 | static let expectationFailed = HTTP.Status.ClientError(rawValue: 417)
328 | static let imATeapot = HTTP.Status.ClientError(rawValue: 418)
329 | static let misdirectedRequest = HTTP.Status.ClientError(rawValue: 421)
| |- warning: static property 'misdirectedRequest' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'misdirectedRequest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 | static let unproccessableEntity = HTTP.Status.ClientError(rawValue: 422)
331 | static let locked = HTTP.Status.ClientError(rawValue: 423)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:330:16: warning: static property 'unproccessableEntity' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
328 | static let imATeapot = HTTP.Status.ClientError(rawValue: 418)
329 | static let misdirectedRequest = HTTP.Status.ClientError(rawValue: 421)
330 | static let unproccessableEntity = HTTP.Status.ClientError(rawValue: 422)
| |- warning: static property 'unproccessableEntity' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unproccessableEntity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
331 | static let locked = HTTP.Status.ClientError(rawValue: 423)
332 | static let failedDependency = HTTP.Status.ClientError(rawValue: 424)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:331:16: warning: static property 'locked' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
329 | static let misdirectedRequest = HTTP.Status.ClientError(rawValue: 421)
330 | static let unproccessableEntity = HTTP.Status.ClientError(rawValue: 422)
331 | static let locked = HTTP.Status.ClientError(rawValue: 423)
| |- warning: static property 'locked' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'locked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
332 | static let failedDependency = HTTP.Status.ClientError(rawValue: 424)
333 | static let upgradeRequired = HTTP.Status.ClientError(rawValue: 426)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:332:16: warning: static property 'failedDependency' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
330 | static let unproccessableEntity = HTTP.Status.ClientError(rawValue: 422)
331 | static let locked = HTTP.Status.ClientError(rawValue: 423)
332 | static let failedDependency = HTTP.Status.ClientError(rawValue: 424)
| |- warning: static property 'failedDependency' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'failedDependency' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | static let upgradeRequired = HTTP.Status.ClientError(rawValue: 426)
334 | static let preconditionRequired = HTTP.Status.ClientError(rawValue: 428)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:333:16: warning: static property 'upgradeRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
331 | static let locked = HTTP.Status.ClientError(rawValue: 423)
332 | static let failedDependency = HTTP.Status.ClientError(rawValue: 424)
333 | static let upgradeRequired = HTTP.Status.ClientError(rawValue: 426)
| |- warning: static property 'upgradeRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'upgradeRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | static let preconditionRequired = HTTP.Status.ClientError(rawValue: 428)
335 | static let tooManyRequests = HTTP.Status.ClientError(rawValue: 429)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:334:16: warning: static property 'preconditionRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
332 | static let failedDependency = HTTP.Status.ClientError(rawValue: 424)
333 | static let upgradeRequired = HTTP.Status.ClientError(rawValue: 426)
334 | static let preconditionRequired = HTTP.Status.ClientError(rawValue: 428)
| |- warning: static property 'preconditionRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preconditionRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 | static let tooManyRequests = HTTP.Status.ClientError(rawValue: 429)
336 | static let requestHeaderFieldsTooLarge = HTTP.Status.ClientError(rawValue: 431)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:335:16: warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
333 | static let upgradeRequired = HTTP.Status.ClientError(rawValue: 426)
334 | static let preconditionRequired = HTTP.Status.ClientError(rawValue: 428)
335 | static let tooManyRequests = HTTP.Status.ClientError(rawValue: 429)
| |- warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tooManyRequests' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 | static let requestHeaderFieldsTooLarge = HTTP.Status.ClientError(rawValue: 431)
337 | static let unavailableForLegalReasons = HTTP.Status.ClientError(rawValue: 451)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:336:16: warning: static property 'requestHeaderFieldsTooLarge' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
334 | static let preconditionRequired = HTTP.Status.ClientError(rawValue: 428)
335 | static let tooManyRequests = HTTP.Status.ClientError(rawValue: 429)
336 | static let requestHeaderFieldsTooLarge = HTTP.Status.ClientError(rawValue: 431)
| |- warning: static property 'requestHeaderFieldsTooLarge' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'requestHeaderFieldsTooLarge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 | static let unavailableForLegalReasons = HTTP.Status.ClientError(rawValue: 451)
338 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:337:16: warning: static property 'unavailableForLegalReasons' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ClientError: RawRepresentable, Equatable {
| `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
72 | public var rawValue: Int
73 |
:
335 | static let tooManyRequests = HTTP.Status.ClientError(rawValue: 429)
336 | static let requestHeaderFieldsTooLarge = HTTP.Status.ClientError(rawValue: 431)
337 | static let unavailableForLegalReasons = HTTP.Status.ClientError(rawValue: 451)
| |- warning: static property 'unavailableForLegalReasons' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unavailableForLegalReasons' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | }
339 |
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:341:16: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
339 |
340 | public extension HTTP.Status.ServerError {
341 | static let internalServerError = HTTP.Status.ServerError(rawValue: 500)
| |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'internalServerError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
342 | static let notImplemented = HTTP.Status.ServerError(rawValue: 501)
343 | static let badGateway = HTTP.Status.ServerError(rawValue: 502)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:342:16: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
340 | public extension HTTP.Status.ServerError {
341 | static let internalServerError = HTTP.Status.ServerError(rawValue: 500)
342 | static let notImplemented = HTTP.Status.ServerError(rawValue: 501)
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' 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
343 | static let badGateway = HTTP.Status.ServerError(rawValue: 502)
344 | static let serviceUnavailable = HTTP.Status.ServerError(rawValue: 503)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:343:16: warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
341 | static let internalServerError = HTTP.Status.ServerError(rawValue: 500)
342 | static let notImplemented = HTTP.Status.ServerError(rawValue: 501)
343 | static let badGateway = HTTP.Status.ServerError(rawValue: 502)
| |- warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'badGateway' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 | static let serviceUnavailable = HTTP.Status.ServerError(rawValue: 503)
345 | static let gatewayTimeout = HTTP.Status.ServerError(rawValue: 504)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:344:16: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
342 | static let notImplemented = HTTP.Status.ServerError(rawValue: 501)
343 | static let badGateway = HTTP.Status.ServerError(rawValue: 502)
344 | static let serviceUnavailable = HTTP.Status.ServerError(rawValue: 503)
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'serviceUnavailable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
345 | static let gatewayTimeout = HTTP.Status.ServerError(rawValue: 504)
346 | static let httpVersionNotSupported = HTTP.Status.ServerError(rawValue: 505)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:345:16: warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
343 | static let badGateway = HTTP.Status.ServerError(rawValue: 502)
344 | static let serviceUnavailable = HTTP.Status.ServerError(rawValue: 503)
345 | static let gatewayTimeout = HTTP.Status.ServerError(rawValue: 504)
| |- warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gatewayTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
346 | static let httpVersionNotSupported = HTTP.Status.ServerError(rawValue: 505)
347 | static let variantAlsoNegotiates = HTTP.Status.ServerError(rawValue: 506)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:346:16: warning: static property 'httpVersionNotSupported' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
344 | static let serviceUnavailable = HTTP.Status.ServerError(rawValue: 503)
345 | static let gatewayTimeout = HTTP.Status.ServerError(rawValue: 504)
346 | static let httpVersionNotSupported = HTTP.Status.ServerError(rawValue: 505)
| |- warning: static property 'httpVersionNotSupported' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'httpVersionNotSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
347 | static let variantAlsoNegotiates = HTTP.Status.ServerError(rawValue: 506)
348 | static let insufficientStorage = HTTP.Status.ServerError(rawValue: 507)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:347:16: warning: static property 'variantAlsoNegotiates' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
345 | static let gatewayTimeout = HTTP.Status.ServerError(rawValue: 504)
346 | static let httpVersionNotSupported = HTTP.Status.ServerError(rawValue: 505)
347 | static let variantAlsoNegotiates = HTTP.Status.ServerError(rawValue: 506)
| |- warning: static property 'variantAlsoNegotiates' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'variantAlsoNegotiates' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
348 | static let insufficientStorage = HTTP.Status.ServerError(rawValue: 507)
349 | static let loopDetected = HTTP.Status.ServerError(rawValue: 508)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:348:16: warning: static property 'insufficientStorage' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
346 | static let httpVersionNotSupported = HTTP.Status.ServerError(rawValue: 505)
347 | static let variantAlsoNegotiates = HTTP.Status.ServerError(rawValue: 506)
348 | static let insufficientStorage = HTTP.Status.ServerError(rawValue: 507)
| |- warning: static property 'insufficientStorage' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'insufficientStorage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 | static let loopDetected = HTTP.Status.ServerError(rawValue: 508)
350 | static let notExtended = HTTP.Status.ServerError(rawValue: 510)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:349:16: warning: static property 'loopDetected' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
347 | static let variantAlsoNegotiates = HTTP.Status.ServerError(rawValue: 506)
348 | static let insufficientStorage = HTTP.Status.ServerError(rawValue: 507)
349 | static let loopDetected = HTTP.Status.ServerError(rawValue: 508)
| |- warning: static property 'loopDetected' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopDetected' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
350 | static let notExtended = HTTP.Status.ServerError(rawValue: 510)
351 | static let networkAuthenticationRequired = HTTP.Status.ServerError(rawValue: 511)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:350:16: warning: static property 'notExtended' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
348 | static let insufficientStorage = HTTP.Status.ServerError(rawValue: 507)
349 | static let loopDetected = HTTP.Status.ServerError(rawValue: 508)
350 | static let notExtended = HTTP.Status.ServerError(rawValue: 510)
| |- warning: static property 'notExtended' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notExtended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
351 | static let networkAuthenticationRequired = HTTP.Status.ServerError(rawValue: 511)
352 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:351:16: warning: static property 'networkAuthenticationRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct ServerError: RawRepresentable, Equatable {
| `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
82 | public var rawValue: Int
83 |
:
349 | static let loopDetected = HTTP.Status.ServerError(rawValue: 508)
350 | static let notExtended = HTTP.Status.ServerError(rawValue: 510)
351 | static let networkAuthenticationRequired = HTTP.Status.ServerError(rawValue: 511)
| |- warning: static property 'networkAuthenticationRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'networkAuthenticationRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
352 | }
353 |
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:156:82: error: cannot infer contextual base in reference to member 'init'
154 | let headers = urlRequest.allHTTPHeaderFields
155 | self.init(url: urlRequest.url, method: urlRequest.httpMethod.flatMap(HTTP.Method.init),
156 | headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
| `- error: cannot infer contextual base in reference to member 'init'
157 | body: urlRequest.httpBody)
158 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:156:107: error: cannot infer contextual base in reference to member 'init'
154 | let headers = urlRequest.allHTTPHeaderFields
155 | self.init(url: urlRequest.url, method: urlRequest.httpMethod.flatMap(HTTP.Method.init),
156 | headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
| `- error: cannot infer contextual base in reference to member 'init'
157 | body: urlRequest.httpBody)
158 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:200:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
198 | /// - body: The raw `Data` associated with the response, if any was provided.
199 | public init(request: HTTP.Request, httpURLResponse: HTTPURLResponse, body: Data? = nil) {
200 | let headers = httpURLResponse.allHeaderFields as? [String: String]
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
201 | self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
202 | headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:201:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
199 | public init(request: HTTP.Request, httpURLResponse: HTTPURLResponse, body: Data? = nil) {
200 | let headers = httpURLResponse.allHeaderFields as? [String: String]
201 | self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
202 | headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
203 | body: body)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:201:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
199 | public init(request: HTTP.Request, httpURLResponse: HTTPURLResponse, body: Data? = nil) {
200 | let headers = httpURLResponse.allHeaderFields as? [String: String]
201 | self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
202 | headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
203 | body: body)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:202:82: error: cannot infer contextual base in reference to member 'init'
200 | let headers = httpURLResponse.allHeaderFields as? [String: String]
201 | self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
202 | headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
| `- error: cannot infer contextual base in reference to member 'init'
203 | body: body)
204 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:202:107: error: cannot infer contextual base in reference to member 'init'
200 | let headers = httpURLResponse.allHeaderFields as? [String: String]
201 | self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
202 | headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
| `- error: cannot infer contextual base in reference to member 'init'
203 | body: body)
204 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:214:36: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
212 |
213 | public var statusMessage: String {
214 | return HTTPURLResponse.localizedString(forStatusCode: code)
| `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
215 | }
216 |
[17/20] Compiling Hyperspace Request+Decodable.swift
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:47:23: error: cannot find type 'URLRequest' in scope
45 | headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
46 | body: HTTP.Body? = nil,
47 | cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
48 | timeout: TimeInterval = RequestDefaults.defaultTimeout,
49 | decoder: JSONDecoder = RequestDefaults.defaultDecoder) {
/host/spi-builder-workspace/Sources/Request/Request.swift:169:23: warning: static property 'defaultTimeout' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
167 | public static var defaultDecoder: JSONDecoder = JSONDecoder()
168 | public static var defaultMaxRecoveryAttempts: UInt = 1
169 | public static var defaultTimeout: TimeInterval = 60
| |- warning: static property 'defaultTimeout' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultTimeout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | }
171 |
/host/spi-builder-workspace/Sources/Request/Request.swift:167:23: warning: static property 'defaultDecoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
165 |
166 | public static var defaultCachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
167 | public static var defaultDecoder: JSONDecoder = JSONDecoder()
| |- warning: static property 'defaultDecoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultDecoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | public static var defaultMaxRecoveryAttempts: UInt = 1
169 | public static var defaultTimeout: TimeInterval = 60
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:58:54: error: cannot find type 'URLRequest' in scope
56 | headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
57 | body: HTTP.Body? = nil,
58 | cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
59 | timeout: TimeInterval = RequestDefaults.defaultTimeout,
60 | decoder: JSONDecoder = RequestDefaults.defaultDecoder,
/host/spi-builder-workspace/Sources/Request/Request.swift:70:30: error: cannot find type 'URLRequest' in scope
68 | headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
69 | body: HTTP.Body? = nil,
70 | cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
71 | timeout: TimeInterval = RequestDefaults.defaultTimeout,
72 | successTransformer: @escaping Transformer) {
/host/spi-builder-workspace/Sources/Request/Request+EmptyDecodingStrategy.swift:17:48: error: cannot find type 'URLRequest' in scope
15 | headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
16 | body: HTTP.Body? = nil,
17 | cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
18 | timeout: TimeInterval = RequestDefaults.defaultTimeout,
19 | emptyDecodingStrategy: EmptyDecodingStrategy = .default) -> Request {
[18/20] Compiling Hyperspace Request+EmptyDecodingStrategy.swift
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:47:23: error: cannot find type 'URLRequest' in scope
45 | headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
46 | body: HTTP.Body? = nil,
47 | cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
48 | timeout: TimeInterval = RequestDefaults.defaultTimeout,
49 | decoder: JSONDecoder = RequestDefaults.defaultDecoder) {
/host/spi-builder-workspace/Sources/Request/Request.swift:169:23: warning: static property 'defaultTimeout' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
167 | public static var defaultDecoder: JSONDecoder = JSONDecoder()
168 | public static var defaultMaxRecoveryAttempts: UInt = 1
169 | public static var defaultTimeout: TimeInterval = 60
| |- warning: static property 'defaultTimeout' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultTimeout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | }
171 |
/host/spi-builder-workspace/Sources/Request/Request.swift:167:23: warning: static property 'defaultDecoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
165 |
166 | public static var defaultCachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
167 | public static var defaultDecoder: JSONDecoder = JSONDecoder()
| |- warning: static property 'defaultDecoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultDecoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | public static var defaultMaxRecoveryAttempts: UInt = 1
169 | public static var defaultTimeout: TimeInterval = 60
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:58:54: error: cannot find type 'URLRequest' in scope
56 | headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
57 | body: HTTP.Body? = nil,
58 | cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
59 | timeout: TimeInterval = RequestDefaults.defaultTimeout,
60 | decoder: JSONDecoder = RequestDefaults.defaultDecoder,
/host/spi-builder-workspace/Sources/Request/Request.swift:70:30: error: cannot find type 'URLRequest' in scope
68 | headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
69 | body: HTTP.Body? = nil,
70 | cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
71 | timeout: TimeInterval = RequestDefaults.defaultTimeout,
72 | successTransformer: @escaping Transformer) {
/host/spi-builder-workspace/Sources/Request/Request+EmptyDecodingStrategy.swift:17:48: error: cannot find type 'URLRequest' in scope
15 | headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
16 | body: HTTP.Body? = nil,
17 | cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
18 | timeout: TimeInterval = RequestDefaults.defaultTimeout,
19 | emptyDecodingStrategy: EmptyDecodingStrategy = .default) -> Request {
[19/20] Compiling Hyperspace BackendService.swift
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:23:27: error: cannot find type 'URLRequest' in scope
21 | @available(macOS, deprecated: 12.0)
22 | @available(watchOS, deprecated: 8.0)
23 | func execute(request: URLRequest) async throws -> TransportSuccess
| `- error: cannot find type 'URLRequest' in scope
24 |
25 | /// Executes the `URLRequest`, calling the provided completion block when complete.
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:30:27: error: cannot find type 'URLRequest' in scope
28 | /// - request: The `URLRequest` to execute.
29 | @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
30 | func execute(request: URLRequest, delegate: TransportTaskDelegate?) async throws -> TransportSuccess
| `- error: cannot find type 'URLRequest' in scope
31 | }
32 |
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:11:42: error: cannot find type 'URLSessionTaskDelegate' in scope
9 |
10 | public typealias TransportSessionConfiguration = URLSessionConfiguration
11 | public typealias TransportTaskDelegate = URLSessionTaskDelegate
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
12 |
13 | /// Represents something that can execute a URLRequest to return a TransportDataTask. Modeled after URLSession to allow for injecting mock sessions into a BackendService.
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:43:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |
42 | // MARK: - Initializers
43 | public init(session: TransportSession = URLSession.shared, networkActivityIndicatable: NetworkActivityIndicatable? = nil) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | self.session = session
45 | self.networkActivityController = networkActivityIndicatable.map { NetworkActivityController(indicator: $0) }
/host/spi-builder-workspace/Sources/Request/Request.swift:83:28: error: cannot find type 'URLRequest' in scope
81 |
82 | // MARK: - Interface
83 | public var urlRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
84 | return urlRequestCreationStrategy.urlRequest(using: self)
85 | }
/host/spi-builder-workspace/Sources/Service/Backend/BackendService.swift:75:113: error: extra argument 'delegate' in call
73 | } catch let transportFailure as TransportFailure {
74 | guard let quickRecovered = preparedRequest.recoveryTransformer(transportFailure) else {
75 | return try await attemptToRecover(from: transportFailure, executing: preparedRequest, delegate: delegate)
| `- error: extra argument 'delegate' in call
76 | }
77 |
/host/spi-builder-workspace/Sources/Service/Backend/BackendService.swift:80:98: error: extra argument 'delegate' in call
78 | return try await preparedRequest.transform(success: quickRecovered)
79 | } catch {
80 | return try await attemptToRecover(from: error, executing: preparedRequest, delegate: delegate)
| `- error: extra argument 'delegate' in call
81 | }
82 | }
/host/spi-builder-workspace/Sources/Service/Backend/BackendServicing.swift:91:110: error: extra argument 'delegate' in call
89 | case .notAttempted: continue
90 | case .failure(let error): throw error
91 | case .retry(let recoveredRequest): return try await execute(request: recoveredRequest, delegate: delegate)
| `- error: extra argument 'delegate' in call
92 | }
93 | }
[20/20] Compiling Hyperspace BackendServicing.swift
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:23:27: error: cannot find type 'URLRequest' in scope
21 | @available(macOS, deprecated: 12.0)
22 | @available(watchOS, deprecated: 8.0)
23 | func execute(request: URLRequest) async throws -> TransportSuccess
| `- error: cannot find type 'URLRequest' in scope
24 |
25 | /// Executes the `URLRequest`, calling the provided completion block when complete.
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:30:27: error: cannot find type 'URLRequest' in scope
28 | /// - request: The `URLRequest` to execute.
29 | @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
30 | func execute(request: URLRequest, delegate: TransportTaskDelegate?) async throws -> TransportSuccess
| `- error: cannot find type 'URLRequest' in scope
31 | }
32 |
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:11:42: error: cannot find type 'URLSessionTaskDelegate' in scope
9 |
10 | public typealias TransportSessionConfiguration = URLSessionConfiguration
11 | public typealias TransportTaskDelegate = URLSessionTaskDelegate
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
12 |
13 | /// Represents something that can execute a URLRequest to return a TransportDataTask. Modeled after URLSession to allow for injecting mock sessions into a BackendService.
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:43:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |
42 | // MARK: - Initializers
43 | public init(session: TransportSession = URLSession.shared, networkActivityIndicatable: NetworkActivityIndicatable? = nil) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | self.session = session
45 | self.networkActivityController = networkActivityIndicatable.map { NetworkActivityController(indicator: $0) }
/host/spi-builder-workspace/Sources/Request/Request.swift:83:28: error: cannot find type 'URLRequest' in scope
81 |
82 | // MARK: - Interface
83 | public var urlRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
84 | return urlRequestCreationStrategy.urlRequest(using: self)
85 | }
/host/spi-builder-workspace/Sources/Service/Backend/BackendService.swift:75:113: error: extra argument 'delegate' in call
73 | } catch let transportFailure as TransportFailure {
74 | guard let quickRecovered = preparedRequest.recoveryTransformer(transportFailure) else {
75 | return try await attemptToRecover(from: transportFailure, executing: preparedRequest, delegate: delegate)
| `- error: extra argument 'delegate' in call
76 | }
77 |
/host/spi-builder-workspace/Sources/Service/Backend/BackendService.swift:80:98: error: extra argument 'delegate' in call
78 | return try await preparedRequest.transform(success: quickRecovered)
79 | } catch {
80 | return try await attemptToRecover(from: error, executing: preparedRequest, delegate: delegate)
| `- error: extra argument 'delegate' in call
81 | }
82 | }
/host/spi-builder-workspace/Sources/Service/Backend/BackendServicing.swift:91:110: error: extra argument 'delegate' in call
89 | case .notAttempted: continue
90 | case .failure(let error): throw error
91 | case .retry(let recoveredRequest): return try await execute(request: recoveredRequest, delegate: delegate)
| `- error: extra argument 'delegate' in call
92 | }
93 | }
BUILD FAILURE 6.0 linux