Build Information
Successful build of SessionPlus, reference main (820928
), with Swift 6.1 for Linux on 27 Apr 2025 10:00:37 UTC.
Swift 6 data race errors: 46
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
84 | static let internalServerError: Self = 500
85 | /// **501** The server either does not recognize the request method, or it lacks the ability to fulfill the request.
86 | static let notImplemented: Self = 501
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notImplemented' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | /// **502** The server was acting as a gateway or proxy and received an invalid response from the upstream server.
88 | static let badGateway: Self = 502
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:88:16: warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
86 | static let notImplemented: Self = 501
87 | /// **502** The server was acting as a gateway or proxy and received an invalid response from the upstream server.
88 | static let badGateway: Self = 502
| |- warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badGateway' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | /// **503** The server cannot handle the request (because it is overloaded or down for maintenance).
90 | static let serviceUnavailable: Self = 503
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:90:16: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
88 | static let badGateway: Self = 502
89 | /// **503** The server cannot handle the request (because it is overloaded or down for maintenance).
90 | static let serviceUnavailable: Self = 503
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'serviceUnavailable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | /// **504** The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
92 | static let gatewayTimeout: Self = 504
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:92:16: warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
90 | static let serviceUnavailable: Self = 503
91 | /// **504** The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
92 | static let gatewayTimeout: Self = 504
| |- warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gatewayTimeout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | }
94 |
[42/52] Compiling SessionPlus Socket.swift
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Response.swift:17:46: warning: type 'StatusCode' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | var metadata: Logger.Metadata {
16 | [
17 | "statusCode": .stringConvertible(statusCode),
| `- warning: type 'StatusCode' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | "bytes": .stringConvertible(body.count),
19 | ]
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:9:15: note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Response.swift:24:46: warning: type 'StatusCode' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | var verboseMetadata: Logger.Metadata {
23 | [
24 | "statusCode": .stringConvertible(statusCode),
| `- warning: type 'StatusCode' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 | "bytes": .stringConvertible(body.count),
26 | "body": .string(String(decoding: body, as: UTF8.self)),
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:9:15: note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:45:16: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
43 |
44 | /// **200** Standard response for successful HTTP requests.
45 | static let ok: Self = 200
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// **201** The request has been fulfilled, resulting in the creation of a new resource.
47 | static let created: Self = 201
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:47:16: warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
45 | static let ok: Self = 200
46 | /// **201** The request has been fulfilled, resulting in the creation of a new resource.
47 | static let created: Self = 201
| |- warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'created' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// **202** The request has been accepted for processing, but the processing has not been completed.
49 | static let accepted: Self = 202
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:49:16: warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
47 | static let created: Self = 201
48 | /// **202** The request has been accepted for processing, but the processing has not been completed.
49 | static let accepted: Self = 202
| |- warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accepted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// **204** The server successfully processed the request, and is not returning any content.
51 | static let noContent: Self = 204
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:51:16: warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
49 | static let accepted: Self = 202
50 | /// **204** The server successfully processed the request, and is not returning any content.
51 | static let noContent: Self = 204
| |- warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noContent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | // MARK: - Redirection
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:56:16: warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
54 |
55 | /// **301** This and all future requests should be directed to the given URI.
56 | static let movedPermanently: Self = 301
| |- warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'movedPermanently' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | /// **303** The response to the request can be found under another URI using the GET method.
58 | static let seeOther: Self = 303
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:58:16: warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
56 | static let movedPermanently: Self = 301
57 | /// **303** The response to the request can be found under another URI using the GET method.
58 | static let seeOther: Self = 303
| |- warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seeOther' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | /// **307** In this case, the request should be repeated with another URI; however, future requests should still use the original URI
60 | static let temporaryRedirect: Self = 307
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:60:16: warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
58 | static let seeOther: Self = 303
59 | /// **307** In this case, the request should be repeated with another URI; however, future requests should still use the original URI
60 | static let temporaryRedirect: Self = 307
| |- warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'temporaryRedirect' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | // MARK: - Client Errors
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:65:16: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
63 |
64 | /// **400** The server cannot or will not process the request due to an apparent client error
65 | static let badRequest: Self = 400
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badRequest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | /// **401** Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
67 | static let unauthorized: Self = 401
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:67:16: warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
65 | static let badRequest: Self = 400
66 | /// **401** Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
67 | static let unauthorized: Self = 401
| |- warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unauthorized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | /// **403** The request contained valid data and was understood by the server, but the server is refusing action.
69 | static let forbidden: Self = 403
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:69:16: warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
67 | static let unauthorized: Self = 401
68 | /// **403** The request contained valid data and was understood by the server, but the server is refusing action.
69 | static let forbidden: Self = 403
| |- warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'forbidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | /// **404** The requested resource could not be found but may be available in the future.
71 | static let notFound: Self = 404
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:71:16: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
69 | static let forbidden: Self = 403
70 | /// **404** The requested resource could not be found but may be available in the future.
71 | static let notFound: Self = 404
| |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notFound' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | /// **408** The server timed out waiting for the request.
73 | static let requestTimeout: Self = 408
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:73:16: warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
71 | static let notFound: Self = 404
72 | /// **408** The server timed out waiting for the request.
73 | static let requestTimeout: Self = 408
| |- warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'requestTimeout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | /// **409** Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates.
75 | static let conflict: Self = 409
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:75:16: warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
73 | static let requestTimeout: Self = 408
74 | /// **409** Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates.
75 | static let conflict: Self = 409
| |- warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conflict' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | /// **418** RFC 2324 specifies this code should be returned by teapots requested to brew coffee.
77 | static let iAmATeapot: Self = 418
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:77:16: warning: static property 'iAmATeapot' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
75 | static let conflict: Self = 409
76 | /// **418** RFC 2324 specifies this code should be returned by teapots requested to brew coffee.
77 | static let iAmATeapot: Self = 418
| |- warning: static property 'iAmATeapot' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iAmATeapot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | /// **429** The user has sent too many requests in a given amount of time.
79 | static let tooManyRequests: Self = 429
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:79:16: warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
77 | static let iAmATeapot: Self = 418
78 | /// **429** The user has sent too many requests in a given amount of time.
79 | static let tooManyRequests: Self = 429
| |- warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tooManyRequests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | // MARK: - Server Errors
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:84:16: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
82 |
83 | /// **500** A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.
84 | static let internalServerError: Self = 500
| |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalServerError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | /// **501** The server either does not recognize the request method, or it lacks the ability to fulfill the request.
86 | static let notImplemented: Self = 501
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:86:16: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
84 | static let internalServerError: Self = 500
85 | /// **501** The server either does not recognize the request method, or it lacks the ability to fulfill the request.
86 | static let notImplemented: Self = 501
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notImplemented' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | /// **502** The server was acting as a gateway or proxy and received an invalid response from the upstream server.
88 | static let badGateway: Self = 502
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:88:16: warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
86 | static let notImplemented: Self = 501
87 | /// **502** The server was acting as a gateway or proxy and received an invalid response from the upstream server.
88 | static let badGateway: Self = 502
| |- warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badGateway' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | /// **503** The server cannot handle the request (because it is overloaded or down for maintenance).
90 | static let serviceUnavailable: Self = 503
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:90:16: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
88 | static let badGateway: Self = 502
89 | /// **503** The server cannot handle the request (because it is overloaded or down for maintenance).
90 | static let serviceUnavailable: Self = 503
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'serviceUnavailable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | /// **504** The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
92 | static let gatewayTimeout: Self = 504
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:92:16: warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
90 | static let serviceUnavailable: Self = 503
91 | /// **504** The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
92 | static let gatewayTimeout: Self = 504
| |- warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gatewayTimeout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | }
94 |
[43/52] Compiling SessionPlus StatusCode.swift
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Response.swift:17:46: warning: type 'StatusCode' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | var metadata: Logger.Metadata {
16 | [
17 | "statusCode": .stringConvertible(statusCode),
| `- warning: type 'StatusCode' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | "bytes": .stringConvertible(body.count),
19 | ]
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:9:15: note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Response.swift:24:46: warning: type 'StatusCode' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | var verboseMetadata: Logger.Metadata {
23 | [
24 | "statusCode": .stringConvertible(statusCode),
| `- warning: type 'StatusCode' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 | "bytes": .stringConvertible(body.count),
26 | "body": .string(String(decoding: body, as: UTF8.self)),
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:9:15: note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:45:16: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
43 |
44 | /// **200** Standard response for successful HTTP requests.
45 | static let ok: Self = 200
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// **201** The request has been fulfilled, resulting in the creation of a new resource.
47 | static let created: Self = 201
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:47:16: warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
45 | static let ok: Self = 200
46 | /// **201** The request has been fulfilled, resulting in the creation of a new resource.
47 | static let created: Self = 201
| |- warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'created' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// **202** The request has been accepted for processing, but the processing has not been completed.
49 | static let accepted: Self = 202
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:49:16: warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
47 | static let created: Self = 201
48 | /// **202** The request has been accepted for processing, but the processing has not been completed.
49 | static let accepted: Self = 202
| |- warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accepted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// **204** The server successfully processed the request, and is not returning any content.
51 | static let noContent: Self = 204
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:51:16: warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
49 | static let accepted: Self = 202
50 | /// **204** The server successfully processed the request, and is not returning any content.
51 | static let noContent: Self = 204
| |- warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noContent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | // MARK: - Redirection
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:56:16: warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
54 |
55 | /// **301** This and all future requests should be directed to the given URI.
56 | static let movedPermanently: Self = 301
| |- warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'movedPermanently' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | /// **303** The response to the request can be found under another URI using the GET method.
58 | static let seeOther: Self = 303
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:58:16: warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
56 | static let movedPermanently: Self = 301
57 | /// **303** The response to the request can be found under another URI using the GET method.
58 | static let seeOther: Self = 303
| |- warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seeOther' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | /// **307** In this case, the request should be repeated with another URI; however, future requests should still use the original URI
60 | static let temporaryRedirect: Self = 307
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:60:16: warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
58 | static let seeOther: Self = 303
59 | /// **307** In this case, the request should be repeated with another URI; however, future requests should still use the original URI
60 | static let temporaryRedirect: Self = 307
| |- warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'temporaryRedirect' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | // MARK: - Client Errors
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:65:16: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
63 |
64 | /// **400** The server cannot or will not process the request due to an apparent client error
65 | static let badRequest: Self = 400
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badRequest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | /// **401** Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
67 | static let unauthorized: Self = 401
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:67:16: warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
65 | static let badRequest: Self = 400
66 | /// **401** Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
67 | static let unauthorized: Self = 401
| |- warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unauthorized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | /// **403** The request contained valid data and was understood by the server, but the server is refusing action.
69 | static let forbidden: Self = 403
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:69:16: warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
67 | static let unauthorized: Self = 401
68 | /// **403** The request contained valid data and was understood by the server, but the server is refusing action.
69 | static let forbidden: Self = 403
| |- warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'forbidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | /// **404** The requested resource could not be found but may be available in the future.
71 | static let notFound: Self = 404
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:71:16: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
69 | static let forbidden: Self = 403
70 | /// **404** The requested resource could not be found but may be available in the future.
71 | static let notFound: Self = 404
| |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notFound' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | /// **408** The server timed out waiting for the request.
73 | static let requestTimeout: Self = 408
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:73:16: warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
71 | static let notFound: Self = 404
72 | /// **408** The server timed out waiting for the request.
73 | static let requestTimeout: Self = 408
| |- warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'requestTimeout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | /// **409** Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates.
75 | static let conflict: Self = 409
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:75:16: warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
73 | static let requestTimeout: Self = 408
74 | /// **409** Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates.
75 | static let conflict: Self = 409
| |- warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conflict' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | /// **418** RFC 2324 specifies this code should be returned by teapots requested to brew coffee.
77 | static let iAmATeapot: Self = 418
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:77:16: warning: static property 'iAmATeapot' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
75 | static let conflict: Self = 409
76 | /// **418** RFC 2324 specifies this code should be returned by teapots requested to brew coffee.
77 | static let iAmATeapot: Self = 418
| |- warning: static property 'iAmATeapot' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iAmATeapot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | /// **429** The user has sent too many requests in a given amount of time.
79 | static let tooManyRequests: Self = 429
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:79:16: warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
77 | static let iAmATeapot: Self = 418
78 | /// **429** The user has sent too many requests in a given amount of time.
79 | static let tooManyRequests: Self = 429
| |- warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tooManyRequests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | // MARK: - Server Errors
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:84:16: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
82 |
83 | /// **500** A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.
84 | static let internalServerError: Self = 500
| |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalServerError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | /// **501** The server either does not recognize the request method, or it lacks the ability to fulfill the request.
86 | static let notImplemented: Self = 501
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:86:16: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
84 | static let internalServerError: Self = 500
85 | /// **501** The server either does not recognize the request method, or it lacks the ability to fulfill the request.
86 | static let notImplemented: Self = 501
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notImplemented' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | /// **502** The server was acting as a gateway or proxy and received an invalid response from the upstream server.
88 | static let badGateway: Self = 502
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:88:16: warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
86 | static let notImplemented: Self = 501
87 | /// **502** The server was acting as a gateway or proxy and received an invalid response from the upstream server.
88 | static let badGateway: Self = 502
| |- warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badGateway' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | /// **503** The server cannot handle the request (because it is overloaded or down for maintenance).
90 | static let serviceUnavailable: Self = 503
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:90:16: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
88 | static let badGateway: Self = 502
89 | /// **503** The server cannot handle the request (because it is overloaded or down for maintenance).
90 | static let serviceUnavailable: Self = 503
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'serviceUnavailable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | /// **504** The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
92 | static let gatewayTimeout: Self = 504
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:92:16: warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
90 | static let serviceUnavailable: Self = 503
91 | /// **504** The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
92 | static let gatewayTimeout: Self = 504
| |- warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gatewayTimeout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | }
94 |
[44/52] Compiling SessionPlus WebSocket.swift
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Response.swift:17:46: warning: type 'StatusCode' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | var metadata: Logger.Metadata {
16 | [
17 | "statusCode": .stringConvertible(statusCode),
| `- warning: type 'StatusCode' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | "bytes": .stringConvertible(body.count),
19 | ]
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:9:15: note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Response.swift:24:46: warning: type 'StatusCode' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | var verboseMetadata: Logger.Metadata {
23 | [
24 | "statusCode": .stringConvertible(statusCode),
| `- warning: type 'StatusCode' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 | "bytes": .stringConvertible(body.count),
26 | "body": .string(String(decoding: body, as: UTF8.self)),
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:9:15: note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:45:16: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
43 |
44 | /// **200** Standard response for successful HTTP requests.
45 | static let ok: Self = 200
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// **201** The request has been fulfilled, resulting in the creation of a new resource.
47 | static let created: Self = 201
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:47:16: warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
45 | static let ok: Self = 200
46 | /// **201** The request has been fulfilled, resulting in the creation of a new resource.
47 | static let created: Self = 201
| |- warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'created' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// **202** The request has been accepted for processing, but the processing has not been completed.
49 | static let accepted: Self = 202
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:49:16: warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
47 | static let created: Self = 201
48 | /// **202** The request has been accepted for processing, but the processing has not been completed.
49 | static let accepted: Self = 202
| |- warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accepted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// **204** The server successfully processed the request, and is not returning any content.
51 | static let noContent: Self = 204
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:51:16: warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
49 | static let accepted: Self = 202
50 | /// **204** The server successfully processed the request, and is not returning any content.
51 | static let noContent: Self = 204
| |- warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noContent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | // MARK: - Redirection
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:56:16: warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
54 |
55 | /// **301** This and all future requests should be directed to the given URI.
56 | static let movedPermanently: Self = 301
| |- warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'movedPermanently' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | /// **303** The response to the request can be found under another URI using the GET method.
58 | static let seeOther: Self = 303
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:58:16: warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
56 | static let movedPermanently: Self = 301
57 | /// **303** The response to the request can be found under another URI using the GET method.
58 | static let seeOther: Self = 303
| |- warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seeOther' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | /// **307** In this case, the request should be repeated with another URI; however, future requests should still use the original URI
60 | static let temporaryRedirect: Self = 307
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:60:16: warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
58 | static let seeOther: Self = 303
59 | /// **307** In this case, the request should be repeated with another URI; however, future requests should still use the original URI
60 | static let temporaryRedirect: Self = 307
| |- warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'temporaryRedirect' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | // MARK: - Client Errors
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:65:16: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
63 |
64 | /// **400** The server cannot or will not process the request due to an apparent client error
65 | static let badRequest: Self = 400
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badRequest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | /// **401** Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
67 | static let unauthorized: Self = 401
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:67:16: warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
65 | static let badRequest: Self = 400
66 | /// **401** Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
67 | static let unauthorized: Self = 401
| |- warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unauthorized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | /// **403** The request contained valid data and was understood by the server, but the server is refusing action.
69 | static let forbidden: Self = 403
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:69:16: warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
67 | static let unauthorized: Self = 401
68 | /// **403** The request contained valid data and was understood by the server, but the server is refusing action.
69 | static let forbidden: Self = 403
| |- warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'forbidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | /// **404** The requested resource could not be found but may be available in the future.
71 | static let notFound: Self = 404
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:71:16: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
69 | static let forbidden: Self = 403
70 | /// **404** The requested resource could not be found but may be available in the future.
71 | static let notFound: Self = 404
| |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notFound' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | /// **408** The server timed out waiting for the request.
73 | static let requestTimeout: Self = 408
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:73:16: warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
71 | static let notFound: Self = 404
72 | /// **408** The server timed out waiting for the request.
73 | static let requestTimeout: Self = 408
| |- warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'requestTimeout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | /// **409** Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates.
75 | static let conflict: Self = 409
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:75:16: warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
73 | static let requestTimeout: Self = 408
74 | /// **409** Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates.
75 | static let conflict: Self = 409
| |- warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conflict' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | /// **418** RFC 2324 specifies this code should be returned by teapots requested to brew coffee.
77 | static let iAmATeapot: Self = 418
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:77:16: warning: static property 'iAmATeapot' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
75 | static let conflict: Self = 409
76 | /// **418** RFC 2324 specifies this code should be returned by teapots requested to brew coffee.
77 | static let iAmATeapot: Self = 418
| |- warning: static property 'iAmATeapot' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iAmATeapot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | /// **429** The user has sent too many requests in a given amount of time.
79 | static let tooManyRequests: Self = 429
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:79:16: warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
77 | static let iAmATeapot: Self = 418
78 | /// **429** The user has sent too many requests in a given amount of time.
79 | static let tooManyRequests: Self = 429
| |- warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tooManyRequests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | // MARK: - Server Errors
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:84:16: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
82 |
83 | /// **500** A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.
84 | static let internalServerError: Self = 500
| |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalServerError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | /// **501** The server either does not recognize the request method, or it lacks the ability to fulfill the request.
86 | static let notImplemented: Self = 501
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:86:16: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
84 | static let internalServerError: Self = 500
85 | /// **501** The server either does not recognize the request method, or it lacks the ability to fulfill the request.
86 | static let notImplemented: Self = 501
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notImplemented' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | /// **502** The server was acting as a gateway or proxy and received an invalid response from the upstream server.
88 | static let badGateway: Self = 502
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:88:16: warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
86 | static let notImplemented: Self = 501
87 | /// **502** The server was acting as a gateway or proxy and received an invalid response from the upstream server.
88 | static let badGateway: Self = 502
| |- warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badGateway' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | /// **503** The server cannot handle the request (because it is overloaded or down for maintenance).
90 | static let serviceUnavailable: Self = 503
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:90:16: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
88 | static let badGateway: Self = 502
89 | /// **503** The server cannot handle the request (because it is overloaded or down for maintenance).
90 | static let serviceUnavailable: Self = 503
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'serviceUnavailable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | /// **504** The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
92 | static let gatewayTimeout: Self = 504
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:92:16: warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
90 | static let serviceUnavailable: Self = 503
91 | /// **504** The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
92 | static let gatewayTimeout: Self = 504
| |- warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gatewayTimeout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | }
94 |
[45/52] Compiling SessionPlus MIMEType.swift
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:34:16: warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
32 | public extension MIMEType {
33 | /// Any kind of binary data
34 | static let bin: Self = "application/octet-stream"
| |- warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /// Graphics Interchange Format (GIF)
36 | static let gif: Self = "image/gif"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:36:16: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
34 | static let bin: Self = "application/octet-stream"
35 | /// Graphics Interchange Format (GIF)
36 | static let gif: Self = "image/gif"
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gif' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | /// HyperText Markup Language
38 | static let html: Self = "text/html"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:38:16: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
36 | static let gif: Self = "image/gif"
37 | /// HyperText Markup Language
38 | static let html: Self = "text/html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | /// JPEG images
40 | static let jpeg: Self = "image/jpeg"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:40:16: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
38 | static let html: Self = "text/html"
39 | /// JPEG images
40 | static let jpeg: Self = "image/jpeg"
| |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jpeg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | /// JavaScript
42 | static let js: Self = "text/javascript"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:42:16: warning: static property 'js' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
40 | static let jpeg: Self = "image/jpeg"
41 | /// JavaScript
42 | static let js: Self = "text/javascript"
| |- warning: static property 'js' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'js' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | /// JSON Document
44 | static let json: Self = "application/json"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:44:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
42 | static let js: Self = "text/javascript"
43 | /// JSON Document
44 | static let json: Self = "application/json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | /// JSON-LD Document
46 | static let jsonld: Self = "application/ld+json"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:46:16: warning: static property 'jsonld' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
44 | static let json: Self = "application/json"
45 | /// JSON-LD Document
46 | static let jsonld: Self = "application/ld+json"
| |- warning: static property 'jsonld' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jsonld' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | /// Portable Network Graphics
48 | static let png: Self = "image/png"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:48:16: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
46 | static let jsonld: Self = "application/ld+json"
47 | /// Portable Network Graphics
48 | static let png: Self = "image/png"
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'png' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// Adobe Portable Document Format
50 | static let pdf: Self = "application/pdf"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:50:16: warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
48 | static let png: Self = "image/png"
49 | /// Adobe Portable Document Format
50 | static let pdf: Self = "application/pdf"
| |- warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pdf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | /// Scalable Vector Graphics
52 | static let svg: Self = "image/svg+xml"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:52:16: warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
50 | static let pdf: Self = "application/pdf"
51 | /// Scalable Vector Graphics
52 | static let svg: Self = "image/svg+xml"
| |- warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'svg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | /// Text
54 | static let txt: Self = "text/plain"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:54:16: warning: static property 'txt' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
52 | static let svg: Self = "image/svg+xml"
53 | /// Text
54 | static let txt: Self = "text/plain"
| |- warning: static property 'txt' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'txt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | /// XML
56 | static let xml: Self = "application/xml"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:56:16: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
54 | static let txt: Self = "text/plain"
55 | /// XML
56 | static let xml: Self = "application/xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:38:16: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
36 | ///
37 | /// Requests using GET should only retrieve data.
38 | static let get: Self = "GET"
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'get' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | /// The PUT method replaces all current representations of the target resource with the request payload.
40 | static let put: Self = "PUT"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:40:16: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
38 | static let get: Self = "GET"
39 | /// The PUT method replaces all current representations of the target resource with the request payload.
40 | static let put: Self = "PUT"
| |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | /// The POST method is used to submit an entity to the specified resource, often causing a change in state or side
42 | /// effects on the server.
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:43:16: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
41 | /// The POST method is used to submit an entity to the specified resource, often causing a change in state or side
42 | /// effects on the server.
43 | static let post: Self = "POST"
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// The PATCH method is used to apply partial modifications to a resource.
45 | static let patch: Self = "PATCH"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:45:16: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
43 | static let post: Self = "POST"
44 | /// The PATCH method is used to apply partial modifications to a resource.
45 | static let patch: Self = "PATCH"
| |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// The DELETE method deletes the specified resource.
47 | static let delete: Self = "DELETE"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:47:16: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
45 | static let patch: Self = "PATCH"
46 | /// The DELETE method deletes the specified resource.
47 | static let delete: Self = "DELETE"
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Request.swift:56:43: warning: type 'Address' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 | var metadata: Logger.Metadata {
55 | [
56 | "address": .stringConvertible(address),
| `- warning: type 'Address' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
57 | "method": .stringConvertible(method),
58 | "bytes": .stringConvertible((body ?? Data()).count),
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Address.swift:7:13: note: consider making enum 'Address' conform to the 'Sendable' protocol
5 |
6 | /// The method in which a `Request` URL is described and constructed.
7 | public enum Address: Codable {
| `- note: consider making enum 'Address' conform to the 'Sendable' protocol
8 | /// The full URL including any query components.
9 | case absolute(URL)
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Request.swift:57:42: warning: type 'Method' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 | [
56 | "address": .stringConvertible(address),
57 | "method": .stringConvertible(method),
| `- warning: type 'Method' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
58 | "bytes": .stringConvertible((body ?? Data()).count),
59 | ]
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:6:15: note: consider making struct 'Method' conform to the 'Sendable' protocol
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Request.swift:64:43: warning: type 'Address' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
62 | var verboseMetadata: Logger.Metadata {
63 | [
64 | "address": .stringConvertible(address),
| `- warning: type 'Address' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | "method": .stringConvertible(method),
66 | "bytes": .stringConvertible((body ?? Data()).count),
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Address.swift:7:13: note: consider making enum 'Address' conform to the 'Sendable' protocol
5 |
6 | /// The method in which a `Request` URL is described and constructed.
7 | public enum Address: Codable {
| `- note: consider making enum 'Address' conform to the 'Sendable' protocol
8 | /// The full URL including any query components.
9 | case absolute(URL)
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Request.swift:65:42: warning: type 'Method' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | [
64 | "address": .stringConvertible(address),
65 | "method": .stringConvertible(method),
| `- warning: type 'Method' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
66 | "bytes": .stringConvertible((body ?? Data()).count),
67 | "body": .string(String(decoding: body ?? Data(), as: UTF8.self)),
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:6:15: note: consider making struct 'Method' conform to the 'Sendable' protocol
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
[46/52] Compiling SessionPlus Method.swift
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:34:16: warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
32 | public extension MIMEType {
33 | /// Any kind of binary data
34 | static let bin: Self = "application/octet-stream"
| |- warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /// Graphics Interchange Format (GIF)
36 | static let gif: Self = "image/gif"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:36:16: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
34 | static let bin: Self = "application/octet-stream"
35 | /// Graphics Interchange Format (GIF)
36 | static let gif: Self = "image/gif"
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gif' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | /// HyperText Markup Language
38 | static let html: Self = "text/html"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:38:16: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
36 | static let gif: Self = "image/gif"
37 | /// HyperText Markup Language
38 | static let html: Self = "text/html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | /// JPEG images
40 | static let jpeg: Self = "image/jpeg"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:40:16: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
38 | static let html: Self = "text/html"
39 | /// JPEG images
40 | static let jpeg: Self = "image/jpeg"
| |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jpeg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | /// JavaScript
42 | static let js: Self = "text/javascript"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:42:16: warning: static property 'js' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
40 | static let jpeg: Self = "image/jpeg"
41 | /// JavaScript
42 | static let js: Self = "text/javascript"
| |- warning: static property 'js' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'js' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | /// JSON Document
44 | static let json: Self = "application/json"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:44:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
42 | static let js: Self = "text/javascript"
43 | /// JSON Document
44 | static let json: Self = "application/json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | /// JSON-LD Document
46 | static let jsonld: Self = "application/ld+json"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:46:16: warning: static property 'jsonld' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
44 | static let json: Self = "application/json"
45 | /// JSON-LD Document
46 | static let jsonld: Self = "application/ld+json"
| |- warning: static property 'jsonld' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jsonld' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | /// Portable Network Graphics
48 | static let png: Self = "image/png"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:48:16: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
46 | static let jsonld: Self = "application/ld+json"
47 | /// Portable Network Graphics
48 | static let png: Self = "image/png"
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'png' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// Adobe Portable Document Format
50 | static let pdf: Self = "application/pdf"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:50:16: warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
48 | static let png: Self = "image/png"
49 | /// Adobe Portable Document Format
50 | static let pdf: Self = "application/pdf"
| |- warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pdf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | /// Scalable Vector Graphics
52 | static let svg: Self = "image/svg+xml"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:52:16: warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
50 | static let pdf: Self = "application/pdf"
51 | /// Scalable Vector Graphics
52 | static let svg: Self = "image/svg+xml"
| |- warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'svg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | /// Text
54 | static let txt: Self = "text/plain"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:54:16: warning: static property 'txt' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
52 | static let svg: Self = "image/svg+xml"
53 | /// Text
54 | static let txt: Self = "text/plain"
| |- warning: static property 'txt' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'txt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | /// XML
56 | static let xml: Self = "application/xml"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:56:16: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
54 | static let txt: Self = "text/plain"
55 | /// XML
56 | static let xml: Self = "application/xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:38:16: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
36 | ///
37 | /// Requests using GET should only retrieve data.
38 | static let get: Self = "GET"
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'get' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | /// The PUT method replaces all current representations of the target resource with the request payload.
40 | static let put: Self = "PUT"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:40:16: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
38 | static let get: Self = "GET"
39 | /// The PUT method replaces all current representations of the target resource with the request payload.
40 | static let put: Self = "PUT"
| |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | /// The POST method is used to submit an entity to the specified resource, often causing a change in state or side
42 | /// effects on the server.
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:43:16: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
41 | /// The POST method is used to submit an entity to the specified resource, often causing a change in state or side
42 | /// effects on the server.
43 | static let post: Self = "POST"
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// The PATCH method is used to apply partial modifications to a resource.
45 | static let patch: Self = "PATCH"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:45:16: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
43 | static let post: Self = "POST"
44 | /// The PATCH method is used to apply partial modifications to a resource.
45 | static let patch: Self = "PATCH"
| |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// The DELETE method deletes the specified resource.
47 | static let delete: Self = "DELETE"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:47:16: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
45 | static let patch: Self = "PATCH"
46 | /// The DELETE method deletes the specified resource.
47 | static let delete: Self = "DELETE"
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Request.swift:56:43: warning: type 'Address' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 | var metadata: Logger.Metadata {
55 | [
56 | "address": .stringConvertible(address),
| `- warning: type 'Address' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
57 | "method": .stringConvertible(method),
58 | "bytes": .stringConvertible((body ?? Data()).count),
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Address.swift:7:13: note: consider making enum 'Address' conform to the 'Sendable' protocol
5 |
6 | /// The method in which a `Request` URL is described and constructed.
7 | public enum Address: Codable {
| `- note: consider making enum 'Address' conform to the 'Sendable' protocol
8 | /// The full URL including any query components.
9 | case absolute(URL)
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Request.swift:57:42: warning: type 'Method' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 | [
56 | "address": .stringConvertible(address),
57 | "method": .stringConvertible(method),
| `- warning: type 'Method' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
58 | "bytes": .stringConvertible((body ?? Data()).count),
59 | ]
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:6:15: note: consider making struct 'Method' conform to the 'Sendable' protocol
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Request.swift:64:43: warning: type 'Address' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
62 | var verboseMetadata: Logger.Metadata {
63 | [
64 | "address": .stringConvertible(address),
| `- warning: type 'Address' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | "method": .stringConvertible(method),
66 | "bytes": .stringConvertible((body ?? Data()).count),
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Address.swift:7:13: note: consider making enum 'Address' conform to the 'Sendable' protocol
5 |
6 | /// The method in which a `Request` URL is described and constructed.
7 | public enum Address: Codable {
| `- note: consider making enum 'Address' conform to the 'Sendable' protocol
8 | /// The full URL including any query components.
9 | case absolute(URL)
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Request.swift:65:42: warning: type 'Method' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | [
64 | "address": .stringConvertible(address),
65 | "method": .stringConvertible(method),
| `- warning: type 'Method' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
66 | "bytes": .stringConvertible((body ?? Data()).count),
67 | "body": .string(String(decoding: body ?? Data(), as: UTF8.self)),
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:6:15: note: consider making struct 'Method' conform to the 'Sendable' protocol
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
[47/52] Compiling SessionPlus QueryItem.swift
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:34:16: warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
32 | public extension MIMEType {
33 | /// Any kind of binary data
34 | static let bin: Self = "application/octet-stream"
| |- warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /// Graphics Interchange Format (GIF)
36 | static let gif: Self = "image/gif"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:36:16: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
34 | static let bin: Self = "application/octet-stream"
35 | /// Graphics Interchange Format (GIF)
36 | static let gif: Self = "image/gif"
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gif' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | /// HyperText Markup Language
38 | static let html: Self = "text/html"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:38:16: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
36 | static let gif: Self = "image/gif"
37 | /// HyperText Markup Language
38 | static let html: Self = "text/html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | /// JPEG images
40 | static let jpeg: Self = "image/jpeg"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:40:16: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
38 | static let html: Self = "text/html"
39 | /// JPEG images
40 | static let jpeg: Self = "image/jpeg"
| |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jpeg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | /// JavaScript
42 | static let js: Self = "text/javascript"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:42:16: warning: static property 'js' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
40 | static let jpeg: Self = "image/jpeg"
41 | /// JavaScript
42 | static let js: Self = "text/javascript"
| |- warning: static property 'js' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'js' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | /// JSON Document
44 | static let json: Self = "application/json"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:44:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
42 | static let js: Self = "text/javascript"
43 | /// JSON Document
44 | static let json: Self = "application/json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | /// JSON-LD Document
46 | static let jsonld: Self = "application/ld+json"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:46:16: warning: static property 'jsonld' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
44 | static let json: Self = "application/json"
45 | /// JSON-LD Document
46 | static let jsonld: Self = "application/ld+json"
| |- warning: static property 'jsonld' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jsonld' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | /// Portable Network Graphics
48 | static let png: Self = "image/png"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:48:16: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
46 | static let jsonld: Self = "application/ld+json"
47 | /// Portable Network Graphics
48 | static let png: Self = "image/png"
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'png' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// Adobe Portable Document Format
50 | static let pdf: Self = "application/pdf"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:50:16: warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
48 | static let png: Self = "image/png"
49 | /// Adobe Portable Document Format
50 | static let pdf: Self = "application/pdf"
| |- warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pdf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | /// Scalable Vector Graphics
52 | static let svg: Self = "image/svg+xml"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:52:16: warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
50 | static let pdf: Self = "application/pdf"
51 | /// Scalable Vector Graphics
52 | static let svg: Self = "image/svg+xml"
| |- warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'svg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | /// Text
54 | static let txt: Self = "text/plain"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:54:16: warning: static property 'txt' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
52 | static let svg: Self = "image/svg+xml"
53 | /// Text
54 | static let txt: Self = "text/plain"
| |- warning: static property 'txt' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'txt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | /// XML
56 | static let xml: Self = "application/xml"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:56:16: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
54 | static let txt: Self = "text/plain"
55 | /// XML
56 | static let xml: Self = "application/xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:38:16: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
36 | ///
37 | /// Requests using GET should only retrieve data.
38 | static let get: Self = "GET"
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'get' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | /// The PUT method replaces all current representations of the target resource with the request payload.
40 | static let put: Self = "PUT"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:40:16: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
38 | static let get: Self = "GET"
39 | /// The PUT method replaces all current representations of the target resource with the request payload.
40 | static let put: Self = "PUT"
| |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | /// The POST method is used to submit an entity to the specified resource, often causing a change in state or side
42 | /// effects on the server.
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:43:16: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
41 | /// The POST method is used to submit an entity to the specified resource, often causing a change in state or side
42 | /// effects on the server.
43 | static let post: Self = "POST"
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// The PATCH method is used to apply partial modifications to a resource.
45 | static let patch: Self = "PATCH"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:45:16: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
43 | static let post: Self = "POST"
44 | /// The PATCH method is used to apply partial modifications to a resource.
45 | static let patch: Self = "PATCH"
| |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// The DELETE method deletes the specified resource.
47 | static let delete: Self = "DELETE"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:47:16: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
45 | static let patch: Self = "PATCH"
46 | /// The DELETE method deletes the specified resource.
47 | static let delete: Self = "DELETE"
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Request.swift:56:43: warning: type 'Address' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 | var metadata: Logger.Metadata {
55 | [
56 | "address": .stringConvertible(address),
| `- warning: type 'Address' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
57 | "method": .stringConvertible(method),
58 | "bytes": .stringConvertible((body ?? Data()).count),
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Address.swift:7:13: note: consider making enum 'Address' conform to the 'Sendable' protocol
5 |
6 | /// The method in which a `Request` URL is described and constructed.
7 | public enum Address: Codable {
| `- note: consider making enum 'Address' conform to the 'Sendable' protocol
8 | /// The full URL including any query components.
9 | case absolute(URL)
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Request.swift:57:42: warning: type 'Method' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 | [
56 | "address": .stringConvertible(address),
57 | "method": .stringConvertible(method),
| `- warning: type 'Method' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
58 | "bytes": .stringConvertible((body ?? Data()).count),
59 | ]
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:6:15: note: consider making struct 'Method' conform to the 'Sendable' protocol
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Request.swift:64:43: warning: type 'Address' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
62 | var verboseMetadata: Logger.Metadata {
63 | [
64 | "address": .stringConvertible(address),
| `- warning: type 'Address' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | "method": .stringConvertible(method),
66 | "bytes": .stringConvertible((body ?? Data()).count),
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Address.swift:7:13: note: consider making enum 'Address' conform to the 'Sendable' protocol
5 |
6 | /// The method in which a `Request` URL is described and constructed.
7 | public enum Address: Codable {
| `- note: consider making enum 'Address' conform to the 'Sendable' protocol
8 | /// The full URL including any query components.
9 | case absolute(URL)
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Request.swift:65:42: warning: type 'Method' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | [
64 | "address": .stringConvertible(address),
65 | "method": .stringConvertible(method),
| `- warning: type 'Method' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
66 | "bytes": .stringConvertible((body ?? Data()).count),
67 | "body": .string(String(decoding: body ?? Data(), as: UTF8.self)),
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:6:15: note: consider making struct 'Method' conform to the 'Sendable' protocol
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
[48/52] Compiling SessionPlus Request.swift
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:34:16: warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
32 | public extension MIMEType {
33 | /// Any kind of binary data
34 | static let bin: Self = "application/octet-stream"
| |- warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /// Graphics Interchange Format (GIF)
36 | static let gif: Self = "image/gif"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:36:16: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
34 | static let bin: Self = "application/octet-stream"
35 | /// Graphics Interchange Format (GIF)
36 | static let gif: Self = "image/gif"
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gif' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | /// HyperText Markup Language
38 | static let html: Self = "text/html"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:38:16: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
36 | static let gif: Self = "image/gif"
37 | /// HyperText Markup Language
38 | static let html: Self = "text/html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | /// JPEG images
40 | static let jpeg: Self = "image/jpeg"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:40:16: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
38 | static let html: Self = "text/html"
39 | /// JPEG images
40 | static let jpeg: Self = "image/jpeg"
| |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jpeg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | /// JavaScript
42 | static let js: Self = "text/javascript"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:42:16: warning: static property 'js' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
40 | static let jpeg: Self = "image/jpeg"
41 | /// JavaScript
42 | static let js: Self = "text/javascript"
| |- warning: static property 'js' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'js' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | /// JSON Document
44 | static let json: Self = "application/json"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:44:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
42 | static let js: Self = "text/javascript"
43 | /// JSON Document
44 | static let json: Self = "application/json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | /// JSON-LD Document
46 | static let jsonld: Self = "application/ld+json"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:46:16: warning: static property 'jsonld' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
44 | static let json: Self = "application/json"
45 | /// JSON-LD Document
46 | static let jsonld: Self = "application/ld+json"
| |- warning: static property 'jsonld' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jsonld' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | /// Portable Network Graphics
48 | static let png: Self = "image/png"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:48:16: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
46 | static let jsonld: Self = "application/ld+json"
47 | /// Portable Network Graphics
48 | static let png: Self = "image/png"
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'png' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// Adobe Portable Document Format
50 | static let pdf: Self = "application/pdf"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:50:16: warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
48 | static let png: Self = "image/png"
49 | /// Adobe Portable Document Format
50 | static let pdf: Self = "application/pdf"
| |- warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pdf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | /// Scalable Vector Graphics
52 | static let svg: Self = "image/svg+xml"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:52:16: warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
50 | static let pdf: Self = "application/pdf"
51 | /// Scalable Vector Graphics
52 | static let svg: Self = "image/svg+xml"
| |- warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'svg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | /// Text
54 | static let txt: Self = "text/plain"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:54:16: warning: static property 'txt' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
52 | static let svg: Self = "image/svg+xml"
53 | /// Text
54 | static let txt: Self = "text/plain"
| |- warning: static property 'txt' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'txt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | /// XML
56 | static let xml: Self = "application/xml"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:56:16: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
54 | static let txt: Self = "text/plain"
55 | /// XML
56 | static let xml: Self = "application/xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:38:16: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
36 | ///
37 | /// Requests using GET should only retrieve data.
38 | static let get: Self = "GET"
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'get' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | /// The PUT method replaces all current representations of the target resource with the request payload.
40 | static let put: Self = "PUT"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:40:16: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
38 | static let get: Self = "GET"
39 | /// The PUT method replaces all current representations of the target resource with the request payload.
40 | static let put: Self = "PUT"
| |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | /// The POST method is used to submit an entity to the specified resource, often causing a change in state or side
42 | /// effects on the server.
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:43:16: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
41 | /// The POST method is used to submit an entity to the specified resource, often causing a change in state or side
42 | /// effects on the server.
43 | static let post: Self = "POST"
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// The PATCH method is used to apply partial modifications to a resource.
45 | static let patch: Self = "PATCH"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:45:16: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
43 | static let post: Self = "POST"
44 | /// The PATCH method is used to apply partial modifications to a resource.
45 | static let patch: Self = "PATCH"
| |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// The DELETE method deletes the specified resource.
47 | static let delete: Self = "DELETE"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:47:16: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
45 | static let patch: Self = "PATCH"
46 | /// The DELETE method deletes the specified resource.
47 | static let delete: Self = "DELETE"
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Request.swift:56:43: warning: type 'Address' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 | var metadata: Logger.Metadata {
55 | [
56 | "address": .stringConvertible(address),
| `- warning: type 'Address' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
57 | "method": .stringConvertible(method),
58 | "bytes": .stringConvertible((body ?? Data()).count),
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Address.swift:7:13: note: consider making enum 'Address' conform to the 'Sendable' protocol
5 |
6 | /// The method in which a `Request` URL is described and constructed.
7 | public enum Address: Codable {
| `- note: consider making enum 'Address' conform to the 'Sendable' protocol
8 | /// The full URL including any query components.
9 | case absolute(URL)
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Request.swift:57:42: warning: type 'Method' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 | [
56 | "address": .stringConvertible(address),
57 | "method": .stringConvertible(method),
| `- warning: type 'Method' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
58 | "bytes": .stringConvertible((body ?? Data()).count),
59 | ]
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:6:15: note: consider making struct 'Method' conform to the 'Sendable' protocol
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Request.swift:64:43: warning: type 'Address' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
62 | var verboseMetadata: Logger.Metadata {
63 | [
64 | "address": .stringConvertible(address),
| `- warning: type 'Address' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | "method": .stringConvertible(method),
66 | "bytes": .stringConvertible((body ?? Data()).count),
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Address.swift:7:13: note: consider making enum 'Address' conform to the 'Sendable' protocol
5 |
6 | /// The method in which a `Request` URL is described and constructed.
7 | public enum Address: Codable {
| `- note: consider making enum 'Address' conform to the 'Sendable' protocol
8 | /// The full URL including any query components.
9 | case absolute(URL)
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Request.swift:65:42: warning: type 'Method' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | [
64 | "address": .stringConvertible(address),
65 | "method": .stringConvertible(method),
| `- warning: type 'Method' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
66 | "bytes": .stringConvertible((body ?? Data()).count),
67 | "body": .string(String(decoding: body ?? Data(), as: UTF8.self)),
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:6:15: note: consider making struct 'Method' conform to the 'Sendable' protocol
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
[49/52] Compiling SessionPlus Delete.swift
[50/52] Compiling SessionPlus FormData.swift
[51/52] Compiling SessionPlus Get.swift
[52/52] Compiling SessionPlus PNGImageFormDataRequest.swift
[54/55] Emitting module SessionPlusEmulation
[55/55] Compiling SessionPlusEmulation EmulatedClient.swift
Build complete! (9.62s)
Build complete.
{
"dependencies" : [
{
"identity" : "asyncplus",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/richardpiazza/AsyncPlus.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "SessionPlus",
"name" : "SessionPlus",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "SessionPlus",
"targets" : [
"SessionPlus",
"SessionPlusEmulation"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SessionPlusTests",
"module_type" : "SwiftTarget",
"name" : "SessionPlusTests",
"path" : "Tests/SessionPlusTests",
"sources" : [
"FormDataTests.swift",
"QueryItemTests.swift"
],
"target_dependencies" : [
"SessionPlus",
"SessionPlusEmulation"
],
"type" : "test"
},
{
"c99name" : "SessionPlusEmulation",
"module_type" : "SwiftTarget",
"name" : "SessionPlusEmulation",
"path" : "Sources/SessionPlusEmulation",
"product_memberships" : [
"SessionPlus"
],
"sources" : [
"EmulatedClient.swift"
],
"target_dependencies" : [
"SessionPlus"
],
"type" : "library"
},
{
"c99name" : "SessionPlus",
"module_type" : "SwiftTarget",
"name" : "SessionPlus",
"path" : "Sources/SessionPlus",
"product_dependencies" : [
"AsyncPlus",
"Logging"
],
"product_memberships" : [
"SessionPlus"
],
"sources" : [
"Extensions/Logger+SessionPlus.swift",
"Extensions/URLCache+SessionPlus.swift",
"Extensions/URLQueryItem+SessionPlus.swift",
"Extensions/URLRequest+SessionPlus.swift",
"Extensions/URLResponse+SessionPlus.swift",
"Extensions/URLSessionConfiguration+SessionPlus.swift",
"Extensions/URLSessionDelegate+SessionPlus.swift",
"Implementation/AbsoluteURLSessionClient.swift",
"Implementation/AbsoluteURLWebSocket.swift",
"Implementation/AnyRequest.swift",
"Implementation/AnyResponse.swift",
"Implementation/BaseURLSessionClient.swift",
"Implementation/Delete.swift",
"Implementation/FormData.swift",
"Implementation/Get.swift",
"Implementation/PNGImageFormDataRequest.swift",
"Implementation/Patch.swift",
"Implementation/Post.swift",
"Implementation/Put.swift",
"Interface/Address.swift",
"Interface/Authorization.swift",
"Interface/Client.swift",
"Interface/Header.swift",
"Interface/Headers.swift",
"Interface/MIMEType.swift",
"Interface/Method.swift",
"Interface/QueryItem.swift",
"Interface/Request.swift",
"Interface/Response.swift",
"Interface/Socket.swift",
"Interface/StatusCode.swift",
"Interface/WebSocket.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.