Build Information
Successful build of SessionPlus, reference 2.2.0 (d15b52
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 10:06:29 UTC.
Swift 6 data race errors: 49
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
| |- 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"
/Users/admin/builder/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"
/Users/admin/builder/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 |
[16/44] Compiling SessionPlus Socket.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |
[17/44] Compiling SessionPlus StatusCode.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |
[18/44] Compiling SessionPlus WebSocket.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |
[19/44] Compiling SessionPlus Patch.swift
[20/44] Compiling SessionPlus Post.swift
[21/44] Compiling SessionPlus Put.swift
[22/44] Compiling SessionPlus Address.swift
[23/44] Compiling SessionPlus Authorization.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Client.swift:43:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
41 | continuation.resume(throwing: error)
42 | case .success(let response):
43 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
44 | }
45 | }
[24/44] Compiling SessionPlus Client+Decoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Client.swift:43:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
41 | continuation.resume(throwing: error)
42 | case .success(let response):
43 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
44 | }
45 | }
[25/44] Compiling SessionPlus Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Client.swift:43:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
41 | continuation.resume(throwing: error)
42 | case .success(let response):
43 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
44 | }
45 | }
[26/44] Compiling SessionPlus URLRequest+SessionPlus.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Extensions/URLSessionDelegate+SessionPlus.swift:12:14: warning: non-final class 'SelfSignedSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
10 | }
11 |
12 | public class SelfSignedSessionDelegate: NSObject, URLSessionDelegate {
| `- warning: non-final class 'SelfSignedSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
13 | public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
14 | guard challenge.previousFailureCount < 1 else {
[27/44] Compiling SessionPlus URLResponse+SessionPlus.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Extensions/URLSessionDelegate+SessionPlus.swift:12:14: warning: non-final class 'SelfSignedSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
10 | }
11 |
12 | public class SelfSignedSessionDelegate: NSObject, URLSessionDelegate {
| `- warning: non-final class 'SelfSignedSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
13 | public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
14 | guard challenge.previousFailureCount < 1 else {
[28/44] Compiling SessionPlus URLSessionConfiguration+SessionPlus.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Extensions/URLSessionDelegate+SessionPlus.swift:12:14: warning: non-final class 'SelfSignedSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
10 | }
11 |
12 | public class SelfSignedSessionDelegate: NSObject, URLSessionDelegate {
| `- warning: non-final class 'SelfSignedSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
13 | public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
14 | guard challenge.previousFailureCount < 1 else {
[29/44] Compiling SessionPlus URLSessionDelegate+SessionPlus.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Extensions/URLSessionDelegate+SessionPlus.swift:12:14: warning: non-final class 'SelfSignedSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
10 | }
11 |
12 | public class SelfSignedSessionDelegate: NSObject, URLSessionDelegate {
| `- warning: non-final class 'SelfSignedSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
13 | public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
14 | guard challenge.previousFailureCount < 1 else {
[30/44] Compiling SessionPlus Header.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:12:23: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// HTTP Header date formatter; RFC1123
12 | public static var dateFormatter: DateFormatter = {
| |- warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | let formatter = DateFormatter()
14 | formatter.dateFormat = "EEE',' dd MMM yyyy HH':'mm':'ss 'GMT'"
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:43:16: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Command HTTP Header
4 | public struct Header: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
41 | public extension Header {
42 | /// The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand.
43 | static let accept: Self = "Accept"
| |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accept' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// The HTTP Authorization request header contains the credentials to authenticate a user agent with a server,
45 | /// usually after the server has responded with a 401 Unauthorized status and the WWW-Authenticate header.
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:46:16: warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Command HTTP Header
4 | public struct Header: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
44 | /// The HTTP Authorization request header contains the credentials to authenticate a user agent with a server,
45 | /// usually after the server has responded with a 401 Unauthorized status and the WWW-Authenticate header.
46 | static let authorization: Self = "Authorization"
| |- warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'authorization' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | /// The Content-Length entity header is indicating the size of the entity-body, in bytes, sent to the recipient.
48 | static let contentLength: Self = "Content-Length"
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:48:16: warning: static property 'contentLength' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Command HTTP Header
4 | public struct Header: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
46 | static let authorization: Self = "Authorization"
47 | /// The Content-Length entity header is indicating the size of the entity-body, in bytes, sent to the recipient.
48 | static let contentLength: Self = "Content-Length"
| |- warning: static property 'contentLength' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'contentLength' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// The Content-MD5 header, may be used as a message integrity check (MIC), to verify that the decoded data are the
50 | /// same data that were initially sent.
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:51:16: warning: static property 'contentMD5' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Command HTTP Header
4 | public struct Header: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
49 | /// The Content-MD5 header, may be used as a message integrity check (MIC), to verify that the decoded data are the
50 | /// same data that were initially sent.
51 | static let contentMD5: Self = "Content-MD5"
| |- warning: static property 'contentMD5' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'contentMD5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /// The Content-Type entity header is used to indicate the media type of the resource.
53 | static let contentType: Self = "Content-Type"
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:53:16: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Command HTTP Header
4 | public struct Header: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
51 | static let contentMD5: Self = "Content-MD5"
52 | /// The Content-Type entity header is used to indicate the media type of the resource.
53 | static let contentType: Self = "Content-Type"
| |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | /// The Date general HTTP header contains the date and time at which the message was originated.
55 | static let date: Self = "Date"
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:55:16: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Command HTTP Header
4 | public struct Header: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
53 | static let contentType: Self = "Content-Type"
54 | /// The Date general HTTP header contains the date and time at which the message was originated.
55 | static let date: Self = "Date"
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | }
57 |
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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 |
[31/44] Compiling SessionPlus Headers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:12:23: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// HTTP Header date formatter; RFC1123
12 | public static var dateFormatter: DateFormatter = {
| |- warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | let formatter = DateFormatter()
14 | formatter.dateFormat = "EEE',' dd MMM yyyy HH':'mm':'ss 'GMT'"
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:43:16: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Command HTTP Header
4 | public struct Header: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
41 | public extension Header {
42 | /// The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand.
43 | static let accept: Self = "Accept"
| |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accept' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// The HTTP Authorization request header contains the credentials to authenticate a user agent with a server,
45 | /// usually after the server has responded with a 401 Unauthorized status and the WWW-Authenticate header.
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:46:16: warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Command HTTP Header
4 | public struct Header: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
44 | /// The HTTP Authorization request header contains the credentials to authenticate a user agent with a server,
45 | /// usually after the server has responded with a 401 Unauthorized status and the WWW-Authenticate header.
46 | static let authorization: Self = "Authorization"
| |- warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'authorization' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | /// The Content-Length entity header is indicating the size of the entity-body, in bytes, sent to the recipient.
48 | static let contentLength: Self = "Content-Length"
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:48:16: warning: static property 'contentLength' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Command HTTP Header
4 | public struct Header: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
46 | static let authorization: Self = "Authorization"
47 | /// The Content-Length entity header is indicating the size of the entity-body, in bytes, sent to the recipient.
48 | static let contentLength: Self = "Content-Length"
| |- warning: static property 'contentLength' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'contentLength' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// The Content-MD5 header, may be used as a message integrity check (MIC), to verify that the decoded data are the
50 | /// same data that were initially sent.
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:51:16: warning: static property 'contentMD5' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Command HTTP Header
4 | public struct Header: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
49 | /// The Content-MD5 header, may be used as a message integrity check (MIC), to verify that the decoded data are the
50 | /// same data that were initially sent.
51 | static let contentMD5: Self = "Content-MD5"
| |- warning: static property 'contentMD5' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'contentMD5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /// The Content-Type entity header is used to indicate the media type of the resource.
53 | static let contentType: Self = "Content-Type"
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:53:16: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Command HTTP Header
4 | public struct Header: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
51 | static let contentMD5: Self = "Content-MD5"
52 | /// The Content-Type entity header is used to indicate the media type of the resource.
53 | static let contentType: Self = "Content-Type"
| |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | /// The Date general HTTP header contains the date and time at which the message was originated.
55 | static let date: Self = "Date"
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:55:16: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Command HTTP Header
4 | public struct Header: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
53 | static let contentType: Self = "Content-Type"
54 | /// The Date general HTTP header contains the date and time at which the message was originated.
55 | static let date: Self = "Date"
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | }
57 |
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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 |
[32/44] Compiling SessionPlus MIMEType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:12:23: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// HTTP Header date formatter; RFC1123
12 | public static var dateFormatter: DateFormatter = {
| |- warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | let formatter = DateFormatter()
14 | formatter.dateFormat = "EEE',' dd MMM yyyy HH':'mm':'ss 'GMT'"
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:43:16: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Command HTTP Header
4 | public struct Header: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
41 | public extension Header {
42 | /// The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand.
43 | static let accept: Self = "Accept"
| |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accept' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// The HTTP Authorization request header contains the credentials to authenticate a user agent with a server,
45 | /// usually after the server has responded with a 401 Unauthorized status and the WWW-Authenticate header.
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:46:16: warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Command HTTP Header
4 | public struct Header: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
44 | /// The HTTP Authorization request header contains the credentials to authenticate a user agent with a server,
45 | /// usually after the server has responded with a 401 Unauthorized status and the WWW-Authenticate header.
46 | static let authorization: Self = "Authorization"
| |- warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'authorization' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | /// The Content-Length entity header is indicating the size of the entity-body, in bytes, sent to the recipient.
48 | static let contentLength: Self = "Content-Length"
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:48:16: warning: static property 'contentLength' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Command HTTP Header
4 | public struct Header: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
46 | static let authorization: Self = "Authorization"
47 | /// The Content-Length entity header is indicating the size of the entity-body, in bytes, sent to the recipient.
48 | static let contentLength: Self = "Content-Length"
| |- warning: static property 'contentLength' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'contentLength' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// The Content-MD5 header, may be used as a message integrity check (MIC), to verify that the decoded data are the
50 | /// same data that were initially sent.
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:51:16: warning: static property 'contentMD5' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Command HTTP Header
4 | public struct Header: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
49 | /// The Content-MD5 header, may be used as a message integrity check (MIC), to verify that the decoded data are the
50 | /// same data that were initially sent.
51 | static let contentMD5: Self = "Content-MD5"
| |- warning: static property 'contentMD5' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'contentMD5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /// The Content-Type entity header is used to indicate the media type of the resource.
53 | static let contentType: Self = "Content-Type"
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:53:16: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Command HTTP Header
4 | public struct Header: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
51 | static let contentMD5: Self = "Content-MD5"
52 | /// The Content-Type entity header is used to indicate the media type of the resource.
53 | static let contentType: Self = "Content-Type"
| |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | /// The Date general HTTP header contains the date and time at which the message was originated.
55 | static let date: Self = "Date"
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Interface/Header.swift:55:16: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Command HTTP Header
4 | public struct Header: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
53 | static let contentType: Self = "Content-Type"
54 | /// The Date general HTTP header contains the date and time at which the message was originated.
55 | static let date: Self = "Date"
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | }
57 |
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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 |
[33/44] Compiling SessionPlus AbsoluteURLSessionClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Implementation/AbsoluteURLSessionClient.swift:60:17: warning: capture of 'completion' with non-sendable type '(Result<any Response, any Error>) -> Void' in a '@Sendable' closure
58 | session.dataTask(with: urlRequest) { data, urlResponse, error in
59 | guard error == nil else {
60 | completion(.failure(error!))
| |- warning: capture of 'completion' with non-sendable type '(Result<any Response, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | return
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Implementation/AbsoluteURLWebSocket.swift:8:12: warning: non-final class 'AbsoluteURLWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
6 | #if canImport(ObjectiveC)
7 |
8 | open class AbsoluteURLWebSocket: NSObject, WebSocket {
| `- warning: non-final class 'AbsoluteURLWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 |
10 | private typealias ResumeHandler = (Result<Void, Error>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Implementation/AbsoluteURLWebSocket.swift:16:14: warning: stored property '$__lazy_storage_$_session' of 'Sendable'-conforming class 'AbsoluteURLWebSocket' is mutable; this is an error in the Swift 6 language mode
14 | let keepAliveInterval: Double
15 |
16 | lazy var session: URLSession = URLSession(configuration: .default, delegate: self, delegateQueue: nil)
| `- warning: stored property '$__lazy_storage_$_session' of 'Sendable'-conforming class 'AbsoluteURLWebSocket' is mutable; this is an error in the Swift 6 language mode
17 | lazy var task = session.webSocketTask(with: urlRequest)
18 |
[34/44] Compiling SessionPlus AbsoluteURLWebSocket.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Implementation/AbsoluteURLSessionClient.swift:60:17: warning: capture of 'completion' with non-sendable type '(Result<any Response, any Error>) -> Void' in a '@Sendable' closure
58 | session.dataTask(with: urlRequest) { data, urlResponse, error in
59 | guard error == nil else {
60 | completion(.failure(error!))
| |- warning: capture of 'completion' with non-sendable type '(Result<any Response, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | return
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Implementation/AbsoluteURLWebSocket.swift:8:12: warning: non-final class 'AbsoluteURLWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
6 | #if canImport(ObjectiveC)
7 |
8 | open class AbsoluteURLWebSocket: NSObject, WebSocket {
| `- warning: non-final class 'AbsoluteURLWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 |
10 | private typealias ResumeHandler = (Result<Void, Error>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Implementation/AbsoluteURLWebSocket.swift:16:14: warning: stored property '$__lazy_storage_$_session' of 'Sendable'-conforming class 'AbsoluteURLWebSocket' is mutable; this is an error in the Swift 6 language mode
14 | let keepAliveInterval: Double
15 |
16 | lazy var session: URLSession = URLSession(configuration: .default, delegate: self, delegateQueue: nil)
| `- warning: stored property '$__lazy_storage_$_session' of 'Sendable'-conforming class 'AbsoluteURLWebSocket' is mutable; this is an error in the Swift 6 language mode
17 | lazy var task = session.webSocketTask(with: urlRequest)
18 |
[35/44] Compiling SessionPlus AnyRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Implementation/AbsoluteURLSessionClient.swift:60:17: warning: capture of 'completion' with non-sendable type '(Result<any Response, any Error>) -> Void' in a '@Sendable' closure
58 | session.dataTask(with: urlRequest) { data, urlResponse, error in
59 | guard error == nil else {
60 | completion(.failure(error!))
| |- warning: capture of 'completion' with non-sendable type '(Result<any Response, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | return
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Implementation/AbsoluteURLWebSocket.swift:8:12: warning: non-final class 'AbsoluteURLWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
6 | #if canImport(ObjectiveC)
7 |
8 | open class AbsoluteURLWebSocket: NSObject, WebSocket {
| `- warning: non-final class 'AbsoluteURLWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 |
10 | private typealias ResumeHandler = (Result<Void, Error>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Implementation/AbsoluteURLWebSocket.swift:16:14: warning: stored property '$__lazy_storage_$_session' of 'Sendable'-conforming class 'AbsoluteURLWebSocket' is mutable; this is an error in the Swift 6 language mode
14 | let keepAliveInterval: Double
15 |
16 | lazy var session: URLSession = URLSession(configuration: .default, delegate: self, delegateQueue: nil)
| `- warning: stored property '$__lazy_storage_$_session' of 'Sendable'-conforming class 'AbsoluteURLWebSocket' is mutable; this is an error in the Swift 6 language mode
17 | lazy var task = session.webSocketTask(with: urlRequest)
18 |
[36/44] Compiling SessionPlus AnyResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Implementation/AbsoluteURLSessionClient.swift:60:17: warning: capture of 'completion' with non-sendable type '(Result<any Response, any Error>) -> Void' in a '@Sendable' closure
58 | session.dataTask(with: urlRequest) { data, urlResponse, error in
59 | guard error == nil else {
60 | completion(.failure(error!))
| |- warning: capture of 'completion' with non-sendable type '(Result<any Response, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | return
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Implementation/AbsoluteURLWebSocket.swift:8:12: warning: non-final class 'AbsoluteURLWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
6 | #if canImport(ObjectiveC)
7 |
8 | open class AbsoluteURLWebSocket: NSObject, WebSocket {
| `- warning: non-final class 'AbsoluteURLWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 |
10 | private typealias ResumeHandler = (Result<Void, Error>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Implementation/AbsoluteURLWebSocket.swift:16:14: warning: stored property '$__lazy_storage_$_session' of 'Sendable'-conforming class 'AbsoluteURLWebSocket' is mutable; this is an error in the Swift 6 language mode
14 | let keepAliveInterval: Double
15 |
16 | lazy var session: URLSession = URLSession(configuration: .default, delegate: self, delegateQueue: nil)
| `- warning: stored property '$__lazy_storage_$_session' of 'Sendable'-conforming class 'AbsoluteURLWebSocket' is mutable; this is an error in the Swift 6 language mode
17 | lazy var task = session.webSocketTask(with: urlRequest)
18 |
[37/44] Compiling SessionPlus HTTPInjectable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:12:27: warning: static property 'twentyFiveMB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | case gigabytes(Int)
11 |
12 | public static var twentyFiveMB: Capacity = .megabytes(25)
| |- warning: static property 'twentyFiveMB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'twentyFiveMB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'twentyFiveMB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var twoHundredMB: Capacity = .megabytes(200)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:13:27: warning: static property 'twoHundredMB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | public static var twentyFiveMB: Capacity = .megabytes(25)
13 | public static var twoHundredMB: Capacity = .megabytes(200)
| |- warning: static property 'twoHundredMB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'twoHundredMB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'twoHundredMB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var bytes: Int {
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:24:20: warning: sending 'injectedResponse' risks causing data races; this is an error in the Swift 6 language mode
22 | #if canImport(ObjectiveC)
23 | DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + Double(Int64(injectedResponse.timeout * NSEC_PER_SEC)) / Double(NSEC_PER_SEC), execute: { () -> Void in
24 | switch injectedResponse.result {
| |- warning: sending 'injectedResponse' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'injectedResponse' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 | case .failure(let error):
26 | completion(injectedResponse.statusCode, injectedResponse.headers, nil, error)
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:26:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
24 | switch injectedResponse.result {
25 | case .failure(let error):
26 | completion(injectedResponse.statusCode, injectedResponse.headers, nil, error)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
27 | case .success(let data):
28 | completion(injectedResponse.statusCode, injectedResponse.headers, data, nil)
[38/44] Compiling SessionPlus WebAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:12:27: warning: static property 'twentyFiveMB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | case gigabytes(Int)
11 |
12 | public static var twentyFiveMB: Capacity = .megabytes(25)
| |- warning: static property 'twentyFiveMB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'twentyFiveMB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'twentyFiveMB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var twoHundredMB: Capacity = .megabytes(200)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:13:27: warning: static property 'twoHundredMB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | public static var twentyFiveMB: Capacity = .megabytes(25)
13 | public static var twoHundredMB: Capacity = .megabytes(200)
| |- warning: static property 'twoHundredMB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'twoHundredMB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'twoHundredMB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var bytes: Int {
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:24:20: warning: sending 'injectedResponse' risks causing data races; this is an error in the Swift 6 language mode
22 | #if canImport(ObjectiveC)
23 | DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + Double(Int64(injectedResponse.timeout * NSEC_PER_SEC)) / Double(NSEC_PER_SEC), execute: { () -> Void in
24 | switch injectedResponse.result {
| |- warning: sending 'injectedResponse' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'injectedResponse' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 | case .failure(let error):
26 | completion(injectedResponse.statusCode, injectedResponse.headers, nil, error)
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:26:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
24 | switch injectedResponse.result {
25 | case .failure(let error):
26 | completion(injectedResponse.statusCode, injectedResponse.headers, nil, error)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
27 | case .success(let data):
28 | completion(injectedResponse.statusCode, injectedResponse.headers, data, nil)
[39/44] Compiling SessionPlus URLCache+SessionPlus.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:12:27: warning: static property 'twentyFiveMB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | case gigabytes(Int)
11 |
12 | public static var twentyFiveMB: Capacity = .megabytes(25)
| |- warning: static property 'twentyFiveMB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'twentyFiveMB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'twentyFiveMB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var twoHundredMB: Capacity = .megabytes(200)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:13:27: warning: static property 'twoHundredMB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | public static var twentyFiveMB: Capacity = .megabytes(25)
13 | public static var twoHundredMB: Capacity = .megabytes(200)
| |- warning: static property 'twoHundredMB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'twoHundredMB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'twoHundredMB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var bytes: Int {
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:24:20: warning: sending 'injectedResponse' risks causing data races; this is an error in the Swift 6 language mode
22 | #if canImport(ObjectiveC)
23 | DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + Double(Int64(injectedResponse.timeout * NSEC_PER_SEC)) / Double(NSEC_PER_SEC), execute: { () -> Void in
24 | switch injectedResponse.result {
| |- warning: sending 'injectedResponse' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'injectedResponse' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 | case .failure(let error):
26 | completion(injectedResponse.statusCode, injectedResponse.headers, nil, error)
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:26:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
24 | switch injectedResponse.result {
25 | case .failure(let error):
26 | completion(injectedResponse.statusCode, injectedResponse.headers, nil, error)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
27 | case .success(let data):
28 | completion(injectedResponse.statusCode, injectedResponse.headers, data, nil)
[40/44] Compiling SessionPlus URLQueryItem+SessionPlus.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:12:27: warning: static property 'twentyFiveMB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | case gigabytes(Int)
11 |
12 | public static var twentyFiveMB: Capacity = .megabytes(25)
| |- warning: static property 'twentyFiveMB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'twentyFiveMB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'twentyFiveMB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var twoHundredMB: Capacity = .megabytes(200)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:13:27: warning: static property 'twoHundredMB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | public static var twentyFiveMB: Capacity = .megabytes(25)
13 | public static var twoHundredMB: Capacity = .megabytes(200)
| |- warning: static property 'twoHundredMB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'twoHundredMB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'twoHundredMB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var bytes: Int {
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:24:20: warning: sending 'injectedResponse' risks causing data races; this is an error in the Swift 6 language mode
22 | #if canImport(ObjectiveC)
23 | DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + Double(Int64(injectedResponse.timeout * NSEC_PER_SEC)) / Double(NSEC_PER_SEC), execute: { () -> Void in
24 | switch injectedResponse.result {
| |- warning: sending 'injectedResponse' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'injectedResponse' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 | case .failure(let error):
26 | completion(injectedResponse.statusCode, injectedResponse.headers, nil, error)
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:26:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
24 | switch injectedResponse.result {
25 | case .failure(let error):
26 | completion(injectedResponse.statusCode, injectedResponse.headers, nil, error)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
27 | case .success(let data):
28 | completion(injectedResponse.statusCode, injectedResponse.headers, data, nil)
[41/44] Compiling SessionPlus Downloader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Deprecated/Downloader.swift:93:25: warning: capture of 'completion' with non-sendable type 'Downloader.DataCompletion' (aka '(Int, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure
91 | DispatchQueue.main.async(execute: { () -> Void in
92 | guard error == nil else {
93 | completion(0, data, error)
| |- warning: capture of 'completion' with non-sendable type 'Downloader.DataCompletion' (aka '(Int, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
94 | return
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPClient.swift:82:17: warning: capture of 'completion' with non-sendable type 'HTTP.DataTaskCompletion' (aka '(Int, Optional<Dictionary<AnyHashable, Any>>, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure
80 | return session.dataTask(with: request) { (responseData, urlResponse, error) in
81 | guard let httpResponse = urlResponse as? HTTPURLResponse else {
82 | completion(0, nil, responseData, error ?? HTTP.Error.invalidResponse)
| |- warning: capture of 'completion' with non-sendable type 'HTTP.DataTaskCompletion' (aka '(Int, Optional<Dictionary<AnyHashable, Any>>, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | return
84 | }
[42/44] Compiling SessionPlus HTTP.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Deprecated/Downloader.swift:93:25: warning: capture of 'completion' with non-sendable type 'Downloader.DataCompletion' (aka '(Int, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure
91 | DispatchQueue.main.async(execute: { () -> Void in
92 | guard error == nil else {
93 | completion(0, data, error)
| |- warning: capture of 'completion' with non-sendable type 'Downloader.DataCompletion' (aka '(Int, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
94 | return
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPClient.swift:82:17: warning: capture of 'completion' with non-sendable type 'HTTP.DataTaskCompletion' (aka '(Int, Optional<Dictionary<AnyHashable, Any>>, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure
80 | return session.dataTask(with: request) { (responseData, urlResponse, error) in
81 | guard let httpResponse = urlResponse as? HTTPURLResponse else {
82 | completion(0, nil, responseData, error ?? HTTP.Error.invalidResponse)
| |- warning: capture of 'completion' with non-sendable type 'HTTP.DataTaskCompletion' (aka '(Int, Optional<Dictionary<AnyHashable, Any>>, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | return
84 | }
[43/44] Compiling SessionPlus HTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Deprecated/Downloader.swift:93:25: warning: capture of 'completion' with non-sendable type 'Downloader.DataCompletion' (aka '(Int, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure
91 | DispatchQueue.main.async(execute: { () -> Void in
92 | guard error == nil else {
93 | completion(0, data, error)
| |- warning: capture of 'completion' with non-sendable type 'Downloader.DataCompletion' (aka '(Int, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
94 | return
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPClient.swift:82:17: warning: capture of 'completion' with non-sendable type 'HTTP.DataTaskCompletion' (aka '(Int, Optional<Dictionary<AnyHashable, Any>>, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure
80 | return session.dataTask(with: request) { (responseData, urlResponse, error) in
81 | guard let httpResponse = urlResponse as? HTTPURLResponse else {
82 | completion(0, nil, responseData, error ?? HTTP.Error.invalidResponse)
| |- warning: capture of 'completion' with non-sendable type 'HTTP.DataTaskCompletion' (aka '(Int, Optional<Dictionary<AnyHashable, Any>>, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | return
84 | }
[44/44] Compiling SessionPlus HTTPCodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Deprecated/Downloader.swift:93:25: warning: capture of 'completion' with non-sendable type 'Downloader.DataCompletion' (aka '(Int, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure
91 | DispatchQueue.main.async(execute: { () -> Void in
92 | guard error == nil else {
93 | completion(0, data, error)
| |- warning: capture of 'completion' with non-sendable type 'Downloader.DataCompletion' (aka '(Int, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
94 | return
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPClient.swift:82:17: warning: capture of 'completion' with non-sendable type 'HTTP.DataTaskCompletion' (aka '(Int, Optional<Dictionary<AnyHashable, Any>>, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure
80 | return session.dataTask(with: request) { (responseData, urlResponse, error) in
81 | guard let httpResponse = urlResponse as? HTTPURLResponse else {
82 | completion(0, nil, responseData, error ?? HTTP.Error.invalidResponse)
| |- warning: capture of 'completion' with non-sendable type 'HTTP.DataTaskCompletion' (aka '(Int, Optional<Dictionary<AnyHashable, Any>>, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | return
84 | }
[45/46] Emitting module SessionPlusEmulation
[46/46] Compiling SessionPlusEmulation EmulatedClient.swift
Build complete! (6.81s)
Build complete.
{
"dependencies" : [
{
"identity" : "asyncplus",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/richardpiazza/AsyncPlus.git"
}
],
"manifest_display_name" : "SessionPlus",
"name" : "SessionPlus",
"path" : "/Users/admin/builder/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" : [
"MultipartFormDataTests.swift",
"WebAPITests.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"
],
"product_memberships" : [
"SessionPlus"
],
"sources" : [
"Deprecated/Downloader.swift",
"Deprecated/HTTP.swift",
"Deprecated/HTTPClient.swift",
"Deprecated/HTTPCodable.swift",
"Deprecated/HTTPInjectable.swift",
"Deprecated/WebAPI.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/Get.swift",
"Implementation/PNGImageFormDataRequest.swift",
"Implementation/Patch.swift",
"Implementation/Post.swift",
"Implementation/Put.swift",
"Interface/Address.swift",
"Interface/Authorization.swift",
"Interface/Client+Decoding.swift",
"Interface/Client.swift",
"Interface/Header.swift",
"Interface/Headers.swift",
"Interface/MIMEType.swift",
"Interface/Method.swift",
"Interface/Request.swift",
"Interface/Response.swift",
"Interface/Socket.swift",
"Interface/StatusCode.swift",
"Interface/WebSocket.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.